PicoCTF 2019 - extensions


extensions

Information

Points Category Level
150 Forensics Easy

Challenge

This is a really weird text file TXT? Can you find the flag?

Hint

How do operating systems know what kind of file it is? (It’s not just the ending!Make sure to submit the flag as picoCTF{XXXXX}

Solution

I download the file, and opened it - The file

There is nothing I can see in this junk, tried to Ctrl+F and search pico format flag but still nothing. but as we can see, at the first line we can see PNG, so maybe it’s just an image? (It’s called the header of the file for more reading) In order to open the file as image, we need to rename the file extention, and now we can open the file as an image - The flag

Flag

picoCTF{now_you_know_about_extensions}