Bitmaps are cool

March 24 2017

# # #

Here is a tiny file that you might find fun to do while cramming other forms of knowledge in your head. :D

All the best for your exams.

  • Flag Format: /flag{.+}/

Provided text.bmp

Solution

This is a simple question meant to be a refresher while the examinations are going on.

text.bmp

This does not show anything other than the fact that most of the file is empty. Which actually makes the job easier. On opening the file in binary mode, we confirm this.

00000000: 424d 6675 0000 0000 0000 3600 0000 2800  BMfu......6...(.
00000010: 0000 6400 0000 6400 0000 0100 1800 0000  ..d...d.........
00000020: 0000 3075 0000 c30e 0000 c30e 0000 0000  ..0u............
00000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000b40: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000b50: 0000 0000 0000 0000 7d50 3a00 0000 0000  ........}P:.....
00000b60: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000b70: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000b80: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000b90: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00000ba0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
00000e70: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...
000074b0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000074c0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000074d0: 616c 6600 0000 0000 0000 0000 0000 0000  alf.............
000074e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
000074f0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
...

However we also see some text scattered in the middle. Which seems interesting.

We try to read the data in the files.

$ cat text.bmp
BMfu6(dd0u}P:smroFynaMnIsemoCongetS{galf

That seems interesting enough. It simply the reversed string of our flag.

}P:smroFynaMnIsemoCongetS{galf

Flag

flag{StegnoComesInManyForms:P}


Recommended Reading

Boring Assignment

# # # #

There was once a guy, who hadn’t anything to do. So he made haiku.

CTF question, related to cryptography, he presents to you.

Solve you can or not, you must at least try or else, you disappoint him.

  • Flag Format : /FLAG[A-Z]+/

Provided boring...

...

Recommended Reading

I Love Emilia

# # # #

Car Brand is a nice person. He wants to declare his love to his girl. Unfortunately, another trash girl also likes him. In order to announce to the trash girl about his feelings, he decides to put his confession into irrefutable words, and send it...

...