Privilege Escalation

You got an initial reverse shell on the target server as www-data. Use the interactive terminal below to enumerate the machine, detect the sudo misconfiguration, and spawn a root shell to read the flag.

www-data@target-srv:~$

Hint: Supported commands: whoami, id, sudo -l