Skip to main content

Python bindings 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.

[!NOTE] This library is not exposing every possible feature of binwalk yet. In due time, it might

Installation

Install via pip

pip install binwalk-python

or build it from this repo

git clone https://github.com/FauvidoTechnologies/binwalk-python-sdk
cd binwalk-python-sdk
pip install -e .

Usage

We're currently exposing just one endpoint, which is basic_scan. This is equivalent to doing binwalk.scan(&data) in the rust counterpart (or binwalk filename).

from pybinwalk import basic_scan

result = basic_scan(image_path)
print(type(result))
# List

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

binwalk_python_sdk-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

binwalk_python_sdk-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file binwalk_python_sdk-0.0.1.tar.gz.

File metadata

  • Download URL: binwalk_python_sdk-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for binwalk_python_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f7b4a4412b2679e5b3f92434b4ed7ff9030e8d91cc9386602caaf7d52134d8bc
MD5 b204fd039cb2bd408a3e6b951d009fb0
BLAKE2b-256 a977f6233b0ebab9c125397494ef00d3788746f58b58c48d8bf83cbef6db06b7

See more details on using hashes here.

File details

Details for the file binwalk_python_sdk-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for binwalk_python_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e377b6381bc339a366c4251fb3c0d6edac9d1c21a7127bdfe190f9f79d075fa7
MD5 3cc26f1b5d413f012b0dffcc98623f4c
BLAKE2b-256 53fc5fe11f9f9de80774f044ba9ee199fb85265a3268217401600a756ee327f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page