Task 4 - General/Useful Utilities

Task 4 General/Useful Utilities

Ensure you are connected to the deployed instance (MACHINE_IP)

No answer needed

Now, use Python 3's "HTTPServer" module to start a web server in the home directory of the "tryhackme" user on the deployed instance.

HINT: python3 -m http.server

No answer needed

Download the file http://MACHINE_IP:8000/.flag.txt onto the TryHackMe AttackBox (or your kali box). What are the contents?

HINT: Use wget! It's a hidden file so don't forget the period in .flag.txt when downloading and catting

Reveal Flag ๐Ÿšฉ

๐ŸšฉTHM{WGET_WEBSERVER}

Create and download files to further apply your learning -- see how you can read the documentation on Python3's "HTTPServer" module.

Use Ctrl + C to stop the Python3 HTTPServer module once you are finished.

HINT: https://docs.python.org/3/library/http.server.html

No answer needed

Last updated