Permissions
Author: Geoffrey Njogu | 100 points
Description
Can you read files in the root file?
The system admin has provisioned an account for you on the main server:
ssh -p ***** picoplayer@saturn.picoctf.net
Password: ********
Can you login and read the root file?
Solution
Once we log into the server using ssh and the password given to us, we are dropped into an empty home directory of the picoplayer user.
After we take a look around and don't find anything, we can move to the /
directory using cd
and use ls
to view the contents of the root directory.
We can see the usual tmp, var, usr and other normal directories in Linux. However, there is an uncommon "challenge" directory. Once we cd
into it and view the contents of the directory, we can see a file called "metadata.json". Once we cat the file we get the flag.
Flag
We can see the flag in the file picoCTF{uS1ng_v1m_3dit0r_021d10ab}
Last updated