-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed dependency issue; added README for crates.io
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## 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); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.