Sudo Security Bypass
Task 1: Deploy!
Deployed!
No answer needed
Task 2: Security Bypass
What command are you allowed to run with sudo?
Let's first connect to the machine using ssh
and the following credentials:
Username | Password |
---|---|
tryhackme | tryhackme |
Now, we can list out the command we are allowed to run as sudo
.
Answer
What is the flag in /root/root.txt?
We can find the exploit on the following page.
We can now read the flag in /root/root.txt
.
Answer
Last updated