百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pwnpasi

> 编程语言
开源

此工具是一个自动化的 PWN 利用框架,专门用于 CTF 比赛和二进制漏洞利用。它集成了各种利用技术,

392 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

此工具是一个自动化的 PWN 利用框架,专门用于 CTF 比赛和二进制漏洞利用。它集成了各种利用技术,


What is PwnPasi?

PwnPasi is a cutting-edge automated binary exploitation framework designed for CTF competitions and security research, PwnPasi transforms complex binary exploitation into an automated, streamlined process.

✨ Key Features

Smart Vulnerability Detection

  • Automatic stack overflow detection with dynamic padding calculation
  • Format string vulnerability identification and exploitation
  • Binary protection analysis (RELRO, Stack Canary, NX, PIE)
  • Assembly code analysis for vulnerable function detection
  • Automatically generating reports

⚡ Advanced Exploitation Techniques

  • ret2system: Direct system function calls
  • ret2libc: ASLR bypass through libc address leaking
  • ROP Chain Construction: Automated gadget discovery and chaining
  • Syscall Exploitation: execve system call chains
  • Shellcode Injection: RWX segment exploitation
  • Stack Canary Bypass: Format string canary leaking
  • PIE Bypass: Position Independent Executable circumvention

️ Multi-Architecture Support

  • x86 (32-bit): Complete 32-bit exploitation chains
  • x86_64 (64-bit): Full 64-bit exploitation support
  • Auto-detection: Intelligent architecture recognition

Flexible Deployment

  • Local Mode: Direct binary file exploitation
  • Remote Mode: Network service targeting
  • Hybrid Approach: Seamless local-to-remote transition

Quick Start

Installation

bash
# Clone the repository
git clone https://github.com/heimao-box/pwnpasi.git
cd pwnpasi

# Run the automated setup
python setup.py

The setup script will automatically:

  • Install system dependencies (Kali/Debian)
  • Set up Python packages (pwntools, LibcSearcher, ropper)
  • Configure the environment
  • Add pwnpasi to system PATH (optional)

Basic Usage

bash
# Analyze local binary
python pwnpasi.py -l ./target_binary

# Remote exploitation
python pwnpasi.py -l ./binary -ip 192.168.1.100 -p 9999

# Custom libc and padding
python pwnpasi.py -l ./binary -libc ./libc-2.19.so -f 112

Usage Examples

Local Binary Analysis

bash
# Comprehensive local analysis
python pwnpasi.py -l ./vuln_binary

Remote Service Exploitation

bash
# Target remote CTF service
python pwnpasi.py -l ./local_binary -ip ctf.example.com -p 31337

Advanced Configuration

bash
# Specify custom libc and manual padding
python pwnpasi.py -l ./binary -libc /lib/x86_64-linux-gnu/libc.so.6 -f 88 -v

Command Line Options

Option Description Example
-l, --local Target binary file (required) -l ./vuln_app
-ip, --ip Remote target IP address -ip 192.168.1.100
-p, --port Remote target port -p 9999
-libc, --libc Custom libc file path -libc ./libc-2.27.so
-f, --fill Manual overflow padding size -f 112
-v, --verbose Enable verbose output -v

️ Technical Arsenal

Core Dependencies

  • pwntools - The ultimate CTF framework
  • LibcSearcher - Libc database and version detection
  • ropper - Advanced ROP gadget discovery
  • checksec - Binary security feature analysis

System Tools Integration

  • objdump - Assembly analysis and disassembly
  • strings - String extraction and analysis
  • ldd - Dynamic library dependency mapping
  • gdb - Advanced debugging capabilities

Output Preview

https://github.com/user-attachments/assets/1395d646-eeeb-4342-8b93-e05eed282b92


Why Choose PwnPasi?

Precision & Automation

No more manual gadget hunting or address calculation. PwnPasi automates the entire exploitation pipeline with surgical precision.

Speed & Efficiency

From vulnerability detection to shell acquisition in seconds, not hours. Perfect for time-critical CTF scenarios.

Intelligence & Adaptability

Smart fallback mechanisms ensure maximum success rate across different binary configurations and protection schemes.


Contributing

We welcome contributions! Whether it's:

  • Bug reports and fixes
  • ✨ New exploitation techniques
  • Documentation improvements
  • Performance optimizations

License

This project is licensed under the MIT License - see the LICENSE file for details.


⚠️ Disclaimer

PwnPasi is designed for educational purposes and authorized security testing only. Users are responsible for ensuring compliance with applicable laws and regulations. The developers assume no liability for misuse of this tool.


Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonctfexploitfmtstroverflow

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言