Skip to content

Parse and fix a PNG. It currently fix the magic bytes, chunk types, CRC, and sometime length.

Notifications You must be signed in to change notification settings

Pourliver/PNG-Fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PNG Fixer

This project has been made to learn about the PNG Format. It is by no mean robust, and the code is complete garbage.

However, it may be used to help and assist in forensics CTF challenges. Currently, it automatically fixes the PNG magic bytes, chunk length and CRC. When a typo is encountered in a chunk type field, it prompts the user to enter the correct value.

Usage

The project runs in python 3. It can be run as follows :

python3 png_fixer.py corrupted.png output.png

About

Parse and fix a PNG. It currently fix the magic bytes, chunk types, CRC, and sometime length.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages