pwnelle
A modern binary analysis tool that helps identify vulnerabilities and generates exploit templates.
Features
- Binary Analysis: Identifies protections, vulnerabilities, and executable properties
- Vulnerability Detection: Recognizes common vulnerability patterns in binaries
- Template Generation: Creates customized exploit templates based on detected vulnerabilities
- ROP Gadget Identification: Finds and catalogs useful code gadgets
- Comprehensive Reporting: Generates detailed HTML and JSON reports
Installation
# Install from PyPI
pip install pwnelle
# Or install from source
git clone https://github.com/EllE961/pwnelle.git
cd pwnelle
pip install -e .
Quick Start
# Basic analysis
pwnelle ./path/to/binary
# Generate exploit template
pwnelle ./path/to/binary --auto-exploit
# Save to specific directory
pwnelle ./path/to/binary -o output_dir
Usage
usage: pwnelle <binary> [options]
positional arguments:
binary Path to the ELF binary to analyze
optional arguments:
-h, --help Show help message and exit
-o, --output Output directory (default: pwnelle-out/<binary_name>)
-v, --verbose Show progress bars, extra diagnostics
--auto-exploit Generate exploit template
--depth INT Nested decode depth for smart strings (default: 2)
--max-length INT Maximum suggested payload length for template (default: 2000)
Output
pwnelle generates several files to assist with binary exploitation:
analysis.json: Full analysis resultsreport.md: Detailed vulnerability reportreport.html: Interactive HTML reportgadgets.py: Detected ROP gadgetsexploit_template.py: Customized exploit skeleton (when using --auto-exploit)
Requirements
- Python 3.8+
- pwntools
- capstone
- pyelftools
- ROPgadget
- python-Levenshtein
License
MIT
Metadata
Release files for pwnelle 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pwnelle-1.0.4.tar.gz | 67.4 kB | Without provenance | Details for pwnelle-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pwnelle-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for pwnelle-1.0.4-py3-none-any.whl |
Total release size: 147.3 kB
Release files / pwnelle-1.0.4.tar.gz
| Download URL | pwnelle-1.0.4.tar.gz |
|---|---|
| Size | 67.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9bdfcf8575a3c17781f81daeb53a2570f275be45609303737f193f5a133be39
|
|
BLAKE2b-256 checksum How to use checksums |
4081cc5f364c58c93b60de5e45a084c4de4d0f42a3cc16272e55cde38825a3de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.6
|
Release files / pwnelle-1.0.4-py3-none-any.whl
| Download URL | pwnelle-1.0.4-py3-none-any.whl |
|---|---|
| Size | 79.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
536e5b5e46ec263469cb709a30b4a76fc2723840fe1c09443dc7401f57b53fb6
|
|
BLAKE2b-256 checksum How to use checksums |
25328246fee405f6a4749d4cc9073cddacc413e5dfc8144e6f4893576cfa2a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.6
|
Security for pwnelle 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.