-
-
Save ResistanceIsUseless/fbc038637ed5d0bd1c91 to your computer and use it in GitHub Desktop.
OSX Scapy Install Script
This file contains hidden or 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/bash | |
#requires wget(brew install wget) or replace wget with curl -I | |
wget http://libdnet.googlecode.com/files/libdnet-1.12.tgz | |
tar xfz libdnet-1.12.tgz | |
cd libdnet-1.12 | |
./configure | |
make | |
sudo make install | |
cd python | |
sudo python setup.py install | |
# grab Pylibpcap | |
wget http://dfn.dl.sourceforge.net/sourceforge/pylibpcap/pylibpcap-0.6.4.tar.gz | |
tar xfz pylibpcap-0.6.4.tar.gz | |
cd pylibpcap-0.6.4 | |
sudo python setup.py install | |
# install scapy | |
wget http://www.secdev.org/projects/scapy/files/scapy-latest.zip | |
unzip scapy-latest.zip | |
cd scapy-2.* | |
sudo python setup.py install | |
#install gnuploy | |
wget http://dfn.dl.sourceforge.net/sourceforge/gnuplot-py/Gnuplot-py/1.8/gnuplot-py-1.8.tar.gz | |
tar xfz gnuplot-py-1.8.tar.gz | |
cd gnuplot-py-1.8 | |
sudo python setup.py install | |
#install Pycrypto | |
wget http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz | |
tar xfz pycrypto-2.6.1.tar.gz | |
cd pycrypto-2.6.1 | |
sudo python setup.py install | |
#install PyX - use 12.1 for python 2.X | |
wget http://dfn.dl.sourceforge.net/sourceforge/pyx/0.12.1/PyX-0.12.1.tar.gz | |
tar xfz PyX-0.12.1.tar.gz | |
cd PyX-0.12.1 | |
sudo python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment