Created
May 9, 2012 10:50
-
-
Save borrell/2643683 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# Pyrit Install (Amazon GPU Instance) | |
sudo yum install subversion python-devel openssl-devel zlib-devel libpcap-devel | |
svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn | |
wget http://www.secdev.org/projects/scapy/files/scapy-latest.zip | |
unzip scapy-latest.zip -d scapy | |
cd pyrit_svn/pyrit | |
python setup.py build | |
sudo python setup.py install | |
cd ../cpyrit_cuda | |
sed -i -e "s:/NVIDIA_INC_DIRS \= \[\]:NVIDIA_INC_DIRS \= \['/opt/nvidia/cuda/include'\]:" setup.py | |
python setup.py build | |
sudo python setup.py install | |
cd ../../scapy/*/ | |
sudo python setup.py install | |
cd ~ | |
echo "FOR DISTERIBUTED PROCESSING:" | |
echo "Open TCP port 17935 on all machines" | |
echo "On the master server, add the IP addresses of the slaves in .pyrit/config" | |
echo "Set rpc_server = true on all machines" | |
echo "" | |
echo "Start the slaves with pryit serve" | |
echo "Run pryit benchmark on the master server to see if it all works" | |
end 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment