Search source
Today’s CTF walkthrough from the PicoCTF platform. It is medium-level and took me 38 minutes to solve it. I evaluate my performance 6 out of 10.
Walkthrough
In the description, it says that the developers have left an important note by mistake. So, after launching the challenge, we will head to the web page and view the source page of the challenge.
Get Wasam Alrashidi’s stories in your inbox
Join Medium for free to get updates from this writer.
Nothing useful here, but they left this note.
It looks like the flag will be inside some of the files on the website. We will use this command to download the files of the website. This method is called mirroring.
$ wget --mirror http://saturn.picoctf.net:49818/
# the number 49818 can be different for youLet’s open the directory of the website, and we will use the command grep to find the flag.
grep -R "picoCTF*"This command will print all the lines that match the pattern. The flag -R is used recursively, meaning it will read all files under each directory. It will look for lines that contain the phrase picoCTF. The * is used to tell the CLI that the rest of the phrase are not important.
Note: The first field before the delimiter “:” was used to tell us where it found the phrase.
Answer: picoCTF{1nsp3ti0n_0f_w3bpag3s_8de925a7}
Thank you for your time! If you have any feedback, please feel free to express it in the comment section.








