tryhackme: agent sudo [writeup]


Enumerate the machine and get all the important information.

  • -p- | Port scan all ports
  • -A | enable OS and version detection, script scanning, and traceroute
  • -T4 | faster execution

Hash cracking and brute-force

Done enumerating the machine? Time to brute your way out.

Capture the user flag

You know the drill.

cat user_flag.txt

Privilege escalation

Enough with the extraordinary stuff? Time to get real.


We completed the room :)



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store