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.2.tar.gz
(67.1 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.2-py3-none-any.whl
(79.7 kB
view details)
File details
Details for the file pwnelle-1.0.2.tar.gz.
File metadata
- Download URL: pwnelle-1.0.2.tar.gz
- Upload date:
- Size: 67.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03603d34596fc6ba4c5a0cac4bf3ec0f658163a73eeb35a6c2f2aaaa75634df4
|
|
| MD5 |
e1c94ff1ad2cb80fb156f025440f39fc
|
|
| BLAKE2b-256 |
eb82672fc1dfc83139f26ed10687596563ff0d91de87a16f46d69cf44172bc5c
|
File details
Details for the file pwnelle-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pwnelle-1.0.2-py3-none-any.whl
- Upload date:
- Size: 79.7 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 |
e28b2c5cbee404b5c6066513f38803beb76ec0f681b8158f750979fb8c9845e6
|
|
| MD5 |
18723c7ec9b402d91474f5b7e9e85f2d
|
|
| BLAKE2b-256 |
e34a77c4f1a04e83e0f73cebf1ca8d553cf72d6ebbb24f78a365b3925802b41c
|