ctf-writeup/2023/picoCTF 2023/Permissions
daffainfo e6c48e50f1 feat: grouped the challs 2024-01-09 16:59:32 +07:00
..
images feat: grouped the challs 2024-01-09 16:59:32 +07:00
README.md feat: grouped the challs 2024-01-09 16:59:32 +07:00

README.md

Permissions

Can you read files in the root file?

About the Challenge

We were 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

sudo

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)

privesc

And then go to /root directory and read .flag.txt to obtain the flag

flag

picoCTF{uS1ng_v1m_3dit0r_55878b51}