Ultra-fast flag & string hunter for mixed/Unicode encodings
Project description
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
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
pwnelle-1.0.3.tar.gz
(67.2 kB
view details)
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
pwnelle-1.0.3-py3-none-any.whl
(79.8 kB
view details)
File details
Details for the file pwnelle-1.0.3.tar.gz.
File metadata
- Download URL: pwnelle-1.0.3.tar.gz
- Upload date:
- Size: 67.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b0ca26227835c67382c6fbcd7969523fb880bbfbeae5e879b2cfe7470f9879
|
|
| MD5 |
64bc89269ceff9da53051365052bd750
|
|
| BLAKE2b-256 |
1c5abee0cb71e0b0db83962efe8952df2888995a2af64736d1e27e5c075d9168
|
File details
Details for the file pwnelle-1.0.3-py3-none-any.whl.
File metadata
- Download URL: pwnelle-1.0.3-py3-none-any.whl
- Upload date:
- Size: 79.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ecdfd2170a0457f9cf5cd87e2bbc2dfd54949c8f3494b70f57ae1ce8c5ac901
|
|
| MD5 |
ff387807583514d5e08c3746c6bc3fac
|
|
| BLAKE2b-256 |
cf3194ad0a49c10938affd61f03b72189fb9b3c2775c3d663d45be2c4495c6e5
|