Challenge Description
This is a straightforward challenge. Following the directions given, we just have to connect to the server via SSH:
ssh -p 60821 ctf-player@rhea.picoctf.net
SSH
There is a files
directory in after we use the ls
command. It seems that we will have to create a SHA checksum of all files in this directory and compare it with the checksum given to obtain the file with the actual flag.
You can create a SHA checksum of a file with
sha256sum <file>
or all files in a directory withsha256sum <directory>/*
.
Finding the file and decrypting it
We find the path to the file by using grep
to find the file with the same checksum. We can then run /decrypt.sh files/<file-name>
to obtain the flag!
Flag
picoCTF{trust_but_verify_2cdcb2de}