Skip to content

zer0vuln/jpeg_extractor

Repository files navigation

Crates.io Rust

jpeg_extractor

Extract JPEGs out of binary files from the command-line

Install

cargo install jpeg_extractor

Usage

To use the tool, run the following command:

Usage: jpeg_extractor <binary_file_containing_jpegs> [--verbose]

Options

  • <binary_file_containing_jpegs>: Specify the binary file from which you want to extract JPEG images.
  • --verbose (optional): Use this flag to enable verbose output.

How it works?

jpeg_extractor identifies JPEG images within binary files by looking for specific start and end signatures that are common to all JPEG types. The start signature is '0xFF, 0xD8, 0xFF, 0xE0', and the end signature is '0xFF, 0xD9'.

Limitations

Currently jpeg_extractor only supports JPEGs with EXIF data.

Contributing

If you would like to contribute to the development of jpeg_extractor, please check out CONTRIBUTING.md

About

Extract JPEGs out of binary files from the command-line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published