Pwntools is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible. Whether you’re using it to write exploits, or as part of another software project will dictate how you use it. Historically pwntools was used as a sort of exploit-writing DSL. Simply doing from pwn import in a previous version of pwntools would bring all sorts of nice side-effects. This version imports everything from the toplevel pwnlib along with functions from a lot of submodules. This means that if you do import pwn or from pwn import , you will have access to everything you need to write an exploit. Calls pwnlib.term.init() to put your terminal in raw mode and implements functionality to make it appear like it isn’t. Tries to parse some of the values in sys.argv and every value it succeeds in parsing it removes.

Features

  • For prototyping and development, and intended to make exploit writing simple
  • Pwntools is best supported on 64-bit Ubuntu LTS releases
  • Toolbox optimized for CTFs
  • Pwntools is available as a pip package for both Python2 and Python3.
  • Building binutils from source takes about 60 seconds on a modern 8-core machine
  • Some of pwntools’ Python dependencies require native extensions

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Libraries

License

BSD License, GNU General Public License version 3.0 (GPLv3)

Follow Pwntools

Pwntools Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Pwntools!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Frameworks, Python Libraries

Registered

2021-07-19