For this challenge we get a .jpg file that doesn’t open and the following description:

Tocmai ce am primit poza asta dar nu o pot deschide

I just got this picture but I can’t open it

Suspecting that the magic bytes have been removed from the image I immediately open the image in a Hex Editor called Bless. After opening the file my thought has been confirmed.

The first 5 bytes are 0. After finding the correct magic bytes for jpg files and replacing them the image opened.

And this is our flag. After brute-forcing the “I”s and “l”s from the image we get the flag.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.