XOR two image CTF

Subeshpoudel
Aug 19, 2022

--

CTFlearn

Dear Santa,

Hey! There are so many toys that I want, but I just don’t have the money. I don’t care which toy I get as long as it’s one or the other, but not both!

Download the rar file

Extract the file we got two image

Extract the hidden files from 3.png

Use binwalk to find the hidden file

Binwalk told me there is png file but ididnt get it after using command:binwalk -e 3.png

So i use foremost -i 3.png

I go the image

You notice the notice the question then there mention exclusive santa. i mean it was a hint of XOR. Xor the images. I got the above image as second image but i was looking for first image to do XOR.

XOR 1.png and above image

we got the output

Found Flag!!!!!!!!!!

Flip Image.

CTFlearn{Santa_1s_C0ming}

--

--