1 stable release

3.1.0 Oct 31, 2024

#238 in Compression

Download history 312/week @ 2024-12-09 304/week @ 2024-12-16 317/week @ 2024-12-23 246/week @ 2024-12-30 402/week @ 2025-01-06 370/week @ 2025-01-13 310/week @ 2025-01-20 315/week @ 2025-01-27 361/week @ 2025-02-03 362/week @ 2025-02-10 300/week @ 2025-02-17 352/week @ 2025-02-24 408/week @ 2025-03-03 418/week @ 2025-03-10 363/week @ 2025-03-17 306/week @ 2025-03-24

1,540 downloads per month
Used in injected-image-checker

MIT license

645KB
12K SLoC

binwalk

A Rust implementation of the Binwalk firmware analysis tool.

System Requirements

Building requires the following system packages:

build-essential libfontconfig1-dev liblzma-dev

Example

use binwalk::Binwalk;

// Create a new Binwalk instance
let binwalker = Binwalk::new();

// Read in the data to analyze
let file_data = std::fs::read("/tmp/firmware.bin").expect("Failed to read from file");

// Scan the file data and print the results
for result in binwalker.scan(&file_data) {
    println!("{:#?}", result);
}

Dependencies

~11–21MB
~279K SLoC