A software written in C that allows users to recover PNGs, JPEGS, and GIFs from their deleted drives, or any provided hexdumps
You need to have the following installed
Clones the repository
git clone https://github.com/ShaderOX/image-recovery-software.git && cd image-recovery-software
Compiles the source code
make -C src/
Runs the executable
./dist/recover.exe --help
and it gives the following output
Usage: ./recover.exe --filename <filename, usb.dmp> | --drive <drive, C:> --buffer <buffer_size, >=512> (optional)
The application is able to recover deleted files by tracking their headers and trailers. All files have certain types of headers and trailers (in hex) that is unique to their type and by reading between those headers and trailers, the file can be recovered. This is true not only for images but is the basis for all the recovery softwares.