Skip to content

Instantly share code, notes, and snippets.

@JosephGregg
Last active August 12, 2016 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosephGregg/c31a4b0148240547d54ddaea19bf8d35 to your computer and use it in GitHub Desktop.
Save JosephGregg/c31a4b0148240547d54ddaea19bf8d35 to your computer and use it in GitHub Desktop.
apt-get install gcc make autoconf git python-pip python-dev build-essential libffi-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev python-dev tcpdump libpcap-dev vim postgresql libpq-dev -y --force-yes
pip install --upgrade pip
pip install --upgrade virtualenv
git clone https://github.com/sensepost/snoopy-ng.git
virtualenv ./snoopy-ng/venv
source ./snoopy-ng/venv/bin/activate
cd ~/snoopy-ng/
sed -i 's/.*from gps import.*/from gps3 import gps3/' ./plugins/gpsd.py
sed -i 's/from libmproxy/from mitmproxy/' ./includes/mitm.py
pip install publicsuffix BeautifulSoup Pillow cryptography epeg-cffi gps3 httplib2 mitmproxy netifaces netlib psutil pyOpenSSL pyasn1 pyinotify python-dateutil requests scapy sqlalchemy psycopg2
cd ~/snoopy-ng/ && git clone https://github.com/JPaulMora/Pyrit.git
cd Pyrit/
python setup.py clean
python setup.py build
python setup.py install
systemctl stop postgresql.service
systemctl disable postgresql.service
systemctl stop exim4.service
systemctl disable exim4.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment