diff --git a/.jekyll-metadata b/.jekyll-metadata index 413e26fb735ca..57f11d5021db6 100644 Binary files a/.jekyll-metadata and b/.jekyll-metadata differ diff --git a/assets/thm/glass/glass.png b/assets/thm/glass/glass.png new file mode 100644 index 0000000000000..a4a145e79f6ef Binary files /dev/null and b/assets/thm/glass/glass.png differ diff --git a/assets/thm/glass/port_finder.sh b/assets/thm/glass/port_finder.sh new file mode 100755 index 0000000000000..63bf52624207f --- /dev/null +++ b/assets/thm/glass/port_finder.sh @@ -0,0 +1,63 @@ +#!/bin/bash + +if [ $# != 1 ];then + echo "usage : port.sh IP" + exit +fi + +LOW=1 +HIGH=2 +last_state=0 +current_state=0 +port=$(( ($RANDOM % 4999 ) + 9000)) +step=1000 + + +#echo port is $port + +while true; do + + echo -n "$port -> " + + response=$(ssh $1 -p $port -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null 2>/dev/null) + echo $response + + + #echo response is $response + + if [ "$(echo $response)" == "$(echo -en "Higher\r")" ];then + while (( $(( $port - $step )) < 9000 ));do + step=$(( $step / 2)) + done + + if [ $last_state == $LOW ];then # response change from "Lower" to "Higher" + step=$(( $step / 2)) + fi + + port=$(( $port - $step )) + current_state=$HIGH + + elif [ "$(echo $response)" == "$(echo -en "Lower\r")" ];then + while (( $(( $port + $step)) > 13999 ));do + step=$(( $step / 2)) + done + + if [ $last_state == $HIGH ];then # response changed from "Hihger" to "Lower" + step=$(( $step / 2)) + fi + + port=$(( $port + $step )) + current_state=$LOW + + else + # this doesn't work, instead the scripts freezes duo the connection persisting + # and asking for a password instead of closing up like the other ports + # when this script freezes you know you found your target port + echo the right port is $port ! + exit + + fi + + last_state=$current_state + +done diff --git a/assets/thm/robot/command_line.png b/assets/thm/robot/command_line.png new file mode 100644 index 0000000000000..3bfbf3908237f Binary files /dev/null and b/assets/thm/robot/command_line.png differ diff --git a/assets/thm/robot/found_user.png b/assets/thm/robot/found_user.png new file mode 100644 index 0000000000000..f6216a7895fc6 Binary files /dev/null and b/assets/thm/robot/found_user.png differ diff --git a/assets/thm/robot/malicious_404.png b/assets/thm/robot/malicious_404.png new file mode 100644 index 0000000000000..f27c84a1831a8 Binary files /dev/null and b/assets/thm/robot/malicious_404.png differ diff --git a/assets/thm/robot/mr_robot.jpg b/assets/thm/robot/mr_robot.jpg new file mode 100644 index 0000000000000..675754e48f3b2 Binary files /dev/null and b/assets/thm/robot/mr_robot.jpg differ diff --git a/assets/thm/robot/wp_loged_in.png b/assets/thm/robot/wp_loged_in.png new file mode 100644 index 0000000000000..5f423b4db6ead Binary files /dev/null and b/assets/thm/robot/wp_loged_in.png differ diff --git a/assets/thm/skynet/2nd_login_page.png b/assets/thm/skynet/2nd_login_page.png new file mode 100644 index 0000000000000..e80937c7c0c20 Binary files /dev/null and b/assets/thm/skynet/2nd_login_page.png differ diff --git a/assets/thm/skynet/ai_poem.png b/assets/thm/skynet/ai_poem.png new file mode 100644 index 0000000000000..fb92a07d558f1 Binary files /dev/null and b/assets/thm/skynet/ai_poem.png differ diff --git a/assets/thm/skynet/burp_paylods.png b/assets/thm/skynet/burp_paylods.png new file mode 100644 index 0000000000000..ceda8ccdbc954 Binary files /dev/null and b/assets/thm/skynet/burp_paylods.png differ diff --git a/assets/thm/skynet/burp_request.png b/assets/thm/skynet/burp_request.png new file mode 100644 index 0000000000000..21397069473be Binary files /dev/null and b/assets/thm/skynet/burp_request.png differ diff --git a/assets/thm/skynet/logged_in.png b/assets/thm/skynet/logged_in.png new file mode 100644 index 0000000000000..74984edef0757 Binary files /dev/null and b/assets/thm/skynet/logged_in.png differ diff --git a/assets/thm/skynet/password.png b/assets/thm/skynet/password.png new file mode 100644 index 0000000000000..f5f7a9b1be0e2 Binary files /dev/null and b/assets/thm/skynet/password.png differ diff --git a/assets/thm/skynet/root_index.png b/assets/thm/skynet/root_index.png new file mode 100644 index 0000000000000..c8e4e86a00c2c Binary files /dev/null and b/assets/thm/skynet/root_index.png differ diff --git a/assets/thm/skynet/shell_via_rfi.png b/assets/thm/skynet/shell_via_rfi.png new file mode 100644 index 0000000000000..e70bbe8ed89c9 Binary files /dev/null and b/assets/thm/skynet/shell_via_rfi.png differ diff --git a/assets/thm/skynet/skynet.jpeg b/assets/thm/skynet/skynet.jpeg new file mode 100644 index 0000000000000..933d9c3c3ce72 Binary files /dev/null and b/assets/thm/skynet/skynet.jpeg differ diff --git a/assets/thm/skynet/squirrelmail.png b/assets/thm/skynet/squirrelmail.png new file mode 100644 index 0000000000000..f11bc20eb230d Binary files /dev/null and b/assets/thm/skynet/squirrelmail.png differ diff --git a/assets/thm/wonder/creds.png b/assets/thm/wonder/creds.png new file mode 100644 index 0000000000000..ea013ab24b6f7 Binary files /dev/null and b/assets/thm/wonder/creds.png differ diff --git a/assets/thm/wonder/index_page.png b/assets/thm/wonder/index_page.png new file mode 100644 index 0000000000000..657652f7def41 Binary files /dev/null and b/assets/thm/wonder/index_page.png differ diff --git a/assets/thm/wonder/r_directory.png b/assets/thm/wonder/r_directory.png new file mode 100644 index 0000000000000..ba086d08994f6 Binary files /dev/null and b/assets/thm/wonder/r_directory.png differ diff --git a/assets/thm/wonder/something_hidden.png b/assets/thm/wonder/something_hidden.png new file mode 100644 index 0000000000000..99e7490fd2e33 Binary files /dev/null and b/assets/thm/wonder/something_hidden.png differ diff --git a/assets/thm/wonder/upside_down.png b/assets/thm/wonder/upside_down.png new file mode 100644 index 0000000000000..24ce68171dbce Binary files /dev/null and b/assets/thm/wonder/upside_down.png differ diff --git a/assets/thm/wonder/wonderland.jpeg b/assets/thm/wonder/wonderland.jpeg new file mode 100644 index 0000000000000..26ecff4da694e Binary files /dev/null and b/assets/thm/wonder/wonderland.jpeg differ