Skip to content

barishaxxer/fix_your_image

Repository files navigation

Fix Corrupted Images

Save your corrupted images easily.A powerful image forensic tool.
This repository comes with a ctf challenge 0xByteStream_Challenge_Corrupted_File to showcase tools usage purposes and its restored version Example_Fixed_Image.bmp.

Ctf solution
python f1x_my_1m4g3.py -f 0xByteStream_Challenge_Corrupted_File

Usage

İdentify Mode:

python f1x_my_1m4g3.py -i -f 0xByteStream_Challenge_Corrupted_File

Fix Image:

python f1x_my_1m4g3.py -f 0xByteStream_Challenge_Corrupted_File

How it works

Manipulates image bytes to fix.Works under three mode:

  1. 16:9 Aspect Ratio
  2. Steady width, fill size with increasing height
  3. Steady height, fill size with increasing width

TO DO

  • BMP file fix

  • JPG file fix

  • PNG file fix

  • PDF file fix

  • GIF file fix

Collaborate

Check CONTRIBUTING.md