a1e03a758b | ||
---|---|---|
.. | ||
images | ||
README.md |
README.md
Permissions
Can you read files in the root file?
About the Challenge
We have been given an access to SSH server and then we need to read the flag in the root
directory
How to Solve?
If we check the sudo
configuration
There are only 1 commands that we can use, /usr/bin/vi
. In this case we will be using /usr/bin/vi
command to do privilege escalation (Im using GTFOBins to do privilege escalation)
And then go to /root
directory and read .flag.txt
to obtain the flag
picoCTF{uS1ng_v1m_3dit0r_55878b51}