Can you root this Mr. Robot styled machine? This is a virtual machine meant for beginners/intermediate users. There are 3 hidden keys located on the machine, can you find them?
Reconnaissance
Network Enumeration
$ nmap -sC -sV 10.10.3.144 # 80/tcp open http Apache httpd # 443/tcp open ssl/http Apache httpd
Scan this IP address by using default script and try to determine versions of each services is running on IP address for getting fully information about this system.
Finding a hidden directories by using ffuf command.
curl command use to download the information from the internet.
robots.txt is a text file that tells the web crawler (A program that searches for information from websites, such as Googlebot) knows which parts of the website are accessible. and which parts should not be accessed.
Login to website by using username and password that we just found.
Get Joshua Suksakorn’s stories in your inbox
Join Medium for free to get updates from this writer.
Press enter or click to view image in full size
Getting a reverse shell
$ nc -lvnp 1004
This command will make your computer act like a mini server. By waiting for incoming connections to port 2024 when there is an incoming connection. The program will display information about that connection. and ready to send and receive data with the connected person.
Use revshellsto create payload for getting reverse shell.