SudoMakeMeASandwich
π¦ SUDO MAKE ME A SANDWICH
| Category | Author |
|---|---|
| π¦ Miscellaneous | Darkraicg492 |
Challenge Prompt
Can you read the flag? I think you can!
Problem Type
- Sudo
Solve
We are told we need to SSH into the machine, so we start with that.
Upon logging in we check the directory where we see that there is a flag.txt file, but it is read only by Root.
If we run a sudo -l to list out the commands we can run as root we see we can run emacs with no password.
So, letβs use that to read the file!
Inside the flag.txt file we have the flag!
To exit emacs, you can use Control + X and then Control + C