Skip to content

Instantly share code, notes, and snippets.

@ResistanceIsUseless
Forked from nvasilakis/install_scapy.sh
Last active August 29, 2015 14:05
Show Gist options
  • Save ResistanceIsUseless/fbc038637ed5d0bd1c91 to your computer and use it in GitHub Desktop.
Save ResistanceIsUseless/fbc038637ed5d0bd1c91 to your computer and use it in GitHub Desktop.
OSX Scapy Install Script
#!/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