Talking to the Dead 2
Challenge:
There's a hidden flag that belongs to luciafer. Submit the contents of the hidden flag2.txt.
ssh hacktober@env.hacktober.io
Password:
hacktober-Underdog-Truth-Glimpse
Solution:
After SSH'ing into the server with the provided credentials I search for all files owned by the user luciafer.
$ find / -xdev -user luciafer 2>/dev/null
/home/luciafer
/home/luciafer/Videos
/home/luciafer/Pictures
/home/luciafer/Downloads
/home/luciafer/Documents
/home/luciafer/Documents/.flag2.txt
/home/luciafer/Documents/flag1.txt
/home/luciafer/.bash_logout
/home/luciafer/.profile
/home/luciafer/.bashrc
/home/luciafer/.bash_history
The second flag is simply a hidden file in the user's home directory, under the Documents directory
$ cat ~/Documents/.flag2.txt
flag{728ec98bfaa302b2dfc2f716d3de7869f3eadcbf}
Leave a comment