pwntools¶
python3-pwntools
is a CTF framework and exploit development library.
Written in Python 3, it is designed for rapid prototyping and development,
and intended to make exploit writing as simple as possible.
Getting Started¶
Module Index¶
Each of the pwntools
modules is documented here.
pwnlib.asm
— Assembler functionspwnlib.atexception
— Callbacks on unhandled exceptionpwnlib.atexit
— Replacement for atexitpwnlib.constants
— Easy access to header file constantspwnlib.context
— Setting runtime variablespwnlib.dynelf
— Resolving remote functions using leakspwnlib.encoders
— Encoding Shellcodepwnlib.elf
— Working with ELF binariespwnlib.exception
— Pwnlib exceptionspwnlib.fmtstr
— Format string bug exploitation toolspwnlib.gdb
— Working with GDBpwnlib.log
— Logging stuffpwnlib.memleak
— Helper class for leaking memorypwnlib.replacements
— Replacements for various functionspwnlib.rop
— Return Oriented Programmingpwnlib.rop.rop
— Return Oriented Programmingpwnlib.rop.srop
— Sigreturn Oriented Programmingpwnlib.runner
— Running Shellcodepwnlib.shellcraft
— Shellcode generationpwnlib.shellcraft.amd64
— Shellcode for AMD64pwnlib.shellcraft.arm
— Shellcode for ARMpwnlib.shellcraft.common
— Shellcode common to all architecturepwnlib.shellcraft.i386
— Shellcode for Intel 80386pwnlib.regsort
— Register sortingpwnlib.shellcraft.thumb
— Shellcode for Thumb Modepwnlib.term
— Terminal handlingpwnlib.timeout
— Timeout handlingpwnlib.tubes
— Talking to the World!pwnlib.tubes.process
— Processespwnlib.tubes.serialtube
— Serial Portspwnlib.tubes.sock
— Socketspwnlib.tubes.ssh
— SSHpwnlib.ui
— Functions for user interactionpwnlib.useragents
— A database of useragent stringspwnlib.util.crc
— Calculating CRC-sumspwnlib.util.cyclic
— Generation of unique sequencespwnlib.util.fiddling
— Utilities bit fiddlingpwnlib.util.hashes
— Hashing functionspwnlib.util.iters
— Extension of standard moduleitertools
pwnlib.util.lists
— Operations on listspwnlib.util.misc
— We could not fit it any other placepwnlib.util.net
— Networking interfacespwnlib.util.packing
— Packing and unpacking of stringspwnlib.util.proc
— Working with/proc/
pwnlib.util.safeeval
— Safe evaluation of python codepwnlib.util.web
— Utilities for working with the WWW