Egress-Assess/setup/setup.sh

38 lines
1022 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
2017-08-31 21:23:59 +00:00
apt-get -y install smbclient
2015-05-16 02:22:24 +00:00
echo "[*] Installing scapy"
2017-08-31 21:23:59 +00:00
apt-get -y install python-scapy
2015-05-16 02:22:24 +00:00
echo "[*] Installing paramiko"
2017-08-31 21:23:59 +00:00
apt-get -y install python-paramiko python-crypto
2015-05-16 02:22:24 +00:00
echo "[*] Installing ecdsa"
pip install ecdsa
echo "[*] Installing pyasn1"
2017-08-31 21:23:59 +00:00
apt-get -y install python-pyasn1
echo "[*] Installing dnspython"
2017-08-31 21:23:59 +00:00
apt-get -y install python-dnspython
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!"