Post

Grep is Still Your Friend - 40

This is an archived blog post I wrote while in high school.

It’s specifically about a question from a Capture the Flag (CTF) cybersecurity competition I competed in at the time. I originally posted it on Blogger.

The police need help decrypting one of your father’s files. Fortunately you know where he wrote down all his backup decryption keys as a backup (probably not the best security practice). You are looking for the key corresponding to daedaluscorp.txt.enc. The file is stored on the shell server at /problems/grepfriend/keys.

Basic knowledge of grep commands is required. Login to your shell on picoCTF, and when that’s done, simply type in the following command:

1
 grep "daedaluscorp" /problems/grepfriend/keys  

Press ‘Enter’, and the shell should look something like this

The highlighted text (b2bee8664b754d0c85c4c0303134bca6) is the flag.

This post is licensed under CC BY 4.0 by the author.