Let’s go:
Let’s scan webserver:
While ffuf is running let’s look at webpage.
There is no interesting on page except usernames:
-
meliodas
-
root
-
www-data
-
anonymous
Only one thing that I see interesting is robots.txt that was mentioned by nmap and ffuf.
I tried doing something with useragent rockyou but looks like it doesnt help
Maybe it’s a hint to brute password with rockyou?
from usernames we got the most interesting is meliodas
First what we do is of course sudo -l
Since file is in our homedir we can just replace it with another
Done. It was way too easy