Back to Walkthroughs
Secret of the Polyglot
PicoCTF Forensics [Easy]Easy

Secret of the Polyglot

#tutorial

Challenge Description

Screenshot 2025-08-08 121937

Solution

After downloading the file, open the pdf to get the last half of the flag

Screenshot 2025-08-08 121038

We can use the file command to see the true nature of the file as shown

└─$ file flag2of2-final.pdf 
flag2of2-final.pdf: PNG image data, 50 x 50, 8-bit/color RGBA, non-interlaced

as we can see it is actually a PNG file, use the mv command to rename the file from .pdf to .png extension

└─$ mv flag2of2-final.pdf something.PNG    

And then open the file to get the first half of the flag

Screenshot 2025-08-08 121810

Submit the complete flag to complete the challenge!