The home page of the website is the Apache setup page. So let's go directly to file scanning with dirb.
"/sitemap/.ssh" looks like important folder.
we have the /.ssh RSA key. Then we need a username. While browsing the site, we come across the name "jessie" in the source code of the Apache homepage.
If we do not set the required permission on the "id_rsa" key, we will get the following error.
chmod 400 id_rsa
With this Command it will allow the id_rsa file to be read only by the owner of the file.
Now that our ssh login is successful, we can get our first flag.
We see that we can run the wget command with sudo with the sudo -l command.
We can send the /etc/shadow file to our local machine, change the root password and send it back to jessie@ip.