jakubk64@home:~$

EXTENSIONS (picoCTF2019)

Description

useful image

Solution

We get .txt file. When we try to read it (in my case using “cat” in linux console) we can see that in contains some unreadable data. What is most important in first line we can find “PNG”

useful image

Let’s try to change .txt format to .png using simple:

mv flag.txt flag.png

No when we open png file we can see our flag. We can get it using

gocr flag.png > tmp.txt

or just write it down from screen

useful image

Flag: picoCTF{now_you_know_a bout_extensions}