Egress-Assess/setup/setup.sh

34 lines
883 B
Bash
Raw Normal View History

2014-12-10 13:55:00 +00:00
#!/bin/bash
clear
2014-12-24 13:37:31 +00:00
echo "[*] Installing Egress-Assess Dependencies..."
2015-05-16 02:22:24 +00:00
apt-get update
2015-05-16 02:11:21 +00:00
apt-get install smbclient
2015-05-16 02:22:24 +00:00
echo "[*] Installing scapy"
apt-get install python-scapy
echo "[*] Installing paramiko"
apt-get install python-paramiko python-crypto
echo "[*] Installing ecdsa"
pip install ecdsa
2015-06-03 15:01:14 +00:00
echo "[*] Installing impacket"
wget https://pypi.python.org/packages/source/i/impacket/impacket-0.9.13.tar.gz
tar -xvf impacket-0.9.13.tar.gz
cd impacket-0.9.13
python setup.py install
cd ..
rm -rf impacket-0.9.13
2014-12-10 13:55:00 +00:00
echo "[*] Installing pyftpdlib..."
git clone https://github.com/giampaolo/pyftpdlib.git
cd pyftpdlib
python setup.py install
cd ..
rm -rf pyftpdlib
2015-01-04 02:14:17 +00:00
cd ../protocols/servers/serverlibs/web
2014-12-10 13:55:00 +00:00
clear
echo "[*] Generating SSL Certificate"
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
echo
2014-12-24 13:37:31 +00:00
echo
2014-12-10 13:55:00 +00:00
echo "[*] Install complete!"
2014-12-24 13:37:31 +00:00
echo "[*] Enjoy Egress-Assess!"