Home IceCTF-2016 Corrupt Transmission
Writeup
Cancel

Corrupt Transmission

Challenge

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

Solution

1
2
3
4
5
$ pngcheck -v corrupt.png
File: corrupt.png (469363 bytes)
  File is CORRUPTED.  It seems to have suffered EOL conversion.
  It was probably transmitted in text mode.
ERRORS DETECTED in corrupt.png

We open it in a hex editor and see that the header is corrupted, and only thing we had to do was fix this header to fix the file

Flag

IceCTF{t1s_but_4_5cr4tch}