Problem: We found this file. Recover the flag. You can also find the file in /problems/c0rrupt_0_1fcad1344c25a122a00721e4af86de13.

File: THE_FILE

Solution: Opening the file in a text editor you see …

Remember that the starting header for a png is 89 50 4E 47 0D 0A 1A 0A

This file has: 89 65 4E 34 0D 0A B0 AA so lets correct that.

File is still broken when you try it.

Note: 43 22 44 52 (C”DR) is should be 49 48 44 52. (IHDR)

AB 44 45 54 should be 49 44 41 54 to fix the IDAT.

no-alignment

I can open the file and see the image on windows despite the errors remaining in the file and as I’m too lazy to fix it im just going to submit the flag I see.

no-alignment

no-alignment

Flag: picoCTF{c0rrupt10n_1847995}