perjantai 26. elokuuta 2016

IceCTF 2016 Corrupt Transmission


This challenge is something about a corrupt transmission, okay sounds interesting lets do this.

We intercepted this image, but it must have gotten corrupted during the transmission. Can you try and fix it? corrupt.png


This time I was working on a windows machine and tried what I can do with windows about this corrupted file.


I tried opening it with the default picture viewer for win10 but off course got "filename, cannot open this file.."


I then opened it in my hexeditor called: "HexEdit" Yay!

00000000: 90 50 4e 47 0e 1a 0a 1b             .PNG....



Well... it does say png at least. Better to double check.
According to wikipedia, portable network graphics numbers are:


89 50 4e 47 0d 0a 1a 0a


Lets fix our file with amending the numbers:



00000000: 89 50 4e 47 0d 0a 1a 0a             .PNG....


OK, lets save it up and retry:



Ah, nothing but a scratch!

Gotta say it was funny little challenge.

Ei kommentteja:

Lähetä kommentti