Mr. Robot Challenge
Finding some open ports on the target machine
We will begin by scan the network to find the IP address of the target machine. We will use the nmap command to scan the network and find the IP address of the target machine.
nmap -sC -sV 10.10.155.161Find the passeord for the admin account of the WordPress site
To find the password for the admin account, we will go to the /license directory on the target machine. We will inspect the page and find some hach codes. We will use CyberChef to decode the hash codes and find the password for the admin account. The username and the pass are Elliot and ER28-0652. These informations are hach using the Base64 algorithm.
Use a reverse shell to get access to the target machine
We will use a reverse shell to get access to the target machine. We will use the following command to get access to the target machine. The code of this reverse shell is available on the Pentest Monkey website.
We will modify the 404.php page of the WordPress site to include the reverse shell code.