Crate binwalk

Source
Expand description

Rust library for identifying, and optionally extracting, files embedded inside other files.

§Example

 use binwalk::Binwalk;

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

 // Read in the data you want 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);
 }

Modules§

common
Common Functions
extractors
File Extractors
signatures
File / Data Signatures
structures
Data Structure Parsing

Structs§

AnalysisResults
Analysis results returned by Binwalk::analyze
Binwalk
Analyze files / memory for file signatures
BinwalkError
Returned on initialization error