pwntools is best supported on Ubuntu 12.04 and 14.04, but most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).


In order to get the most out of pwntools, you should have the following system libraries installed.

Released Version

Pwntools is available as a pip package.

$ apt-get install python2.7 python2.7-dev python-pip
$ pip install pwntools

Latest Version

Alternatively if you prefer to use the latest version from the repository:

$ git clone
$ cd pwntools
$ pip install -e .