Libctf is a CTF framework written by meta of the Neg9 CTF team. The framework is a collection of tools and python libraries to simplify exploit development and many of the other tasks frequently performed during a CTF.
from libctf import *
shelldb = ShellcodeDB()
print shelldb.list()
shellcode = shelldb.get('linux x86 execve 1')
sock = Sock('localhost',9090)
sock.verbose = True
payload = pack('A'*100, 0x11223344, shellcode)
print hexdump(payload)
sock.recv()
sock.send(payload)
sock.interact()
sudo pip install libctf
sudo pip install .
pip show photorg
sudo pip uninstall photorg
sudo pip install -e .
Remove path entry from
/usr/local/lib/python2.7/dist-packages/easy-install.pth
Delete link file
rm /usr/local/lib/python2.7/dist-packages/libctf.egg-link