http://pwntools.readthedocs.org/en/latest/index.html
pwntools是一个ctf框架和漏洞利用开发库,用Python开发,由rapid设计,旨在让使用者简单快速的编写exploit。
安装:
pwntools对Ubuntu 12.04和14.04的支持最好,但是绝大多数的功能也支持Debian, Arch, FreeBSD, OSX, 等等,确保安装以下系统库。
Binutils
Ubuntu
Mac OS X
Alternate OSes
Capstone
Ubuntu
Mac OS X
Python Development Headers
Ubuntu
Mac OS X
获得发行版本
?
1
2
|
$ apt-get
install
python2.7 python2.7-dev python-pip
$ pip
install
pwntools
|
获得最新版本
?
1
2
3
|
$ git clone https:
//github
.com
/Gallopsled/pwntools
$
cd
pwntools
$ pip
install
-e .
|
模块索引
pwnlib.asm ― Assembler functions
pwnlib.atexception ― Callbacks on unhandled exception
pwnlib.atexit ― Replacement for atexit
pwnlib.constants ― Easy access to header file constants
pwnlib.context ― Setting runtime variables
pwnlib.dynelf ― Resolving remote functions using leaks
pwnlib.elf ― Working with ELF binaries
pwnlib.exception ― Pwnlib exceptions
pwnlib.gdb ― Working with GDB
pwnlib.log and ― Logging stuff
pwnlib.memleak ― Helper class for leaking memory
pwnlib.replacements ― Replacements for various functions
pwnlib.rop ― Return Oriented Programming
pwnlib.shellcraft ― Shellcode generation
pwnlib.term ― Terminal handling
pwnlib.timeout ― Timeout handling
pwnlib.tubes ― Talking to the World!
pwnlib.ui ― Functions for user interaction
pwnlib.useragents ― A database of useragent strings
pwnlib.util.crc ― Calculating CRC-sums
pwnlib.util.cyclic ― Generation of unique sequences
pwnlib.util.fiddling ― Utilities bit fiddling
pwnlib.util.hashes ― Hashing functions
pwnlib.util.iters ― Extension of standard module itertools
pwnlib.util.lists ― Operations on lists
pwnlib.util.misc ― We could not fit it any other place
pwnlib.util.net ― Networking interfaces
pwnlib.util.packing ― Packing and unpacking of strings
pwnlib.util.proc ― Working with /proc/
pwnlib.util.safeeval ― Safe evaluation of python code
pwnlib.util.web ― Utilities for working with the WWW