provocativo_
back to the arsenal
// arsenal·Linux & ShellAdvancedFOSS

pwntools

Python CTF toolkit — wraps socket I/O, ELF parsing, ROP, shellcode into a 5-line exploit.

Linux & Shell

$ pwntools --help

pwntools

// what it is

Description

Gallopsled's Python framework that makes binary exploit dev radically easier. Wraps connections, ELF symbol resolution, ROP chains, shellcode generation, GDB integration.

// use cases

What people use it for

  • Binary exploitation in CTFs
  • Exploit prototypes

// commands

The commands you'll type

Connect to remote chal

$ from pwn import *; p = remote('chal', 1337); p.sendline(payload); p.interactive()

// facts

category
Linux & Shell
platforms
LIN · MAC
license
FOSS
difficulty
Advanced

// related in Linux & Shell