Quote Originally Posted by staticn0de View Post
Now, I know you want to see it in action so the next part will install pryit.

First, remove the wheezy repo. You may either comment out the line we added or delete it.
nano /etc/apt/sources.list
Save the file
apt-get update

The following instructions are slightly modified from the pyrit google code page here. Give them all your love.
https://code.google.com/p/pyrit/wiki/Installation

Moving to home directory as I'm installing there
cd ~

Checkout pyrit
svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn


Install required libraries
apt-get install libpcap-dev

cd pyrit_svn/pyrit/
python setup.py build
python setup.py install


Now to add CUDA support
cd ../cpyrit_cuda/
python setup.py build
python setup.py install


Now, what we have been waiting for this entire time. Lets see it work.
optirun pyrit benchmark

And we are done.
Who had problem like me when issued command #phyton setup.py build , and your screen give output like this

root@kali:~/pyrit-0.4.0# python setup.py build
svn: '.' is not a working copy
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying pyrit_cli.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/__init__.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/cpyrit.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/util.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/pckttools.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/config.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/network.py -> build/lib.linux-x86_64-2.7/cpyrit
copying cpyrit/storage.py -> build/lib.linux-x86_64-2.7/cpyrit
running build_ext
building 'cpyrit._cpyrit_cpu' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/cpyrit
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.0"
cpyrit/_cpyrit_cpu.c:32:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
this command should fix it

#apt-get install build-essential python-dev libssl-dev