Python library for running binwalk
Project description
Binwalk-python
This is a python SDK for using Binwalk (which is now a Rust project). You can install this library from PyPI.
Installation
Install via pip
pip install binwalk-python-sdk
Quickstart
- Run a basic scan using the
scanendpoint:
from pybinwalk import scan
result = basic_scan(image_path)
print(type(result))
# List
- Run an
extractionon a binary and save the results to a specified directory:
from pybinwalk import extract
in_bin = "/path/to/input/binary"
out_dir = "/path/to/output/DIR"
result = extract(in_bin, out_dir)
- Install dependencies for your OS (currently supports Linux) using the
Manager:
from pybinwalk import Manager
Manager(stream=True).handle_deps() # This produces a verbose streaming log as it installs all dependencies
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file binwalk_python_sdk-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: binwalk_python_sdk-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 924.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
728d99c7db884e716fec05568a25920050e5e3548e8c79d30cb418ccc05e23a7
|
|
| MD5 |
47072e698cee36c46e597b7d5e171ded
|
|
| BLAKE2b-256 |
0305a4e1386c532e6c0866a86846791c1a22a36a947983cf0b37acd31b7450b8
|