Pyrit: Difference between revisions
From charlesreid1
| Line 39: | Line 39: | ||
<pre> | <pre> | ||
sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb | |||
</pre> | </pre> | ||
Now install it: | |||
<pre> | |||
$ deb -i cuda-repo-ubuntu1404_7.0-28_amd64.deb | |||
$ apt-get update | |||
$ apt-get install -y cuda | |||
</pre> | |||
Revision as of 19:19, 2 August 2015
The code for Pyrit is here: https://code.google.com/p/pyrit/downloads/list
Building
Ubuntu on AWS
To build Pyrit on any AWS machine, you'll want to grab the NVidia drivers, since those are the only kinds of GPUs currently offered by AWS.
Getting Set Up
Installing on Ubuntu will require the OpenSSL and Libpcap development libraries (i.e., headers), which aren't on Ubuntu by default:
$ apt-get update $ apt-get install build-essential $ apt-get install python python-dev $ apt-get install libssl-dev $ apt-get install libpcap-dev
Installing Pyrit
Now we're ready to install Pyrit:
$ python setup.py build $ python setup.py install
Installing Pyrit CUDA
Some instructions here: http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/
You have two options:
Dive into the gauntlet of privacy violations required in signing up for an account with Nvidia,
Or use the link from the above blog post to download the CUDA developer package (hint: do this one):
sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
Now install it:
$ deb -i cuda-repo-ubuntu1404_7.0-28_amd64.deb $ apt-get update $ apt-get install -y cuda