Egress-Assess/setup/setup.sh

38 lines
1007 B
Bash
Executable File

#!/bin/bash
clear
echo "[*] Installing Egress-Assess Dependencies..."
apt-get update
apt-get install smbclient
echo "[*] Installing scapy"
apt-get install python-scapy
echo "[*] Installing paramiko"
apt-get install python-paramiko python-crypto
echo "[*] Installing ecdsa"
pip install ecdsa
echo "[*] Installing pyasn1"
apt-get install python-pyasn1
echo "[*] Installing dnspython"
apt-get install python-dnspython
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
echo "[*] Installing pyftpdlib..."
git clone https://github.com/giampaolo/pyftpdlib.git
cd pyftpdlib
python setup.py install
cd ..
rm -rf pyftpdlib
cd ../protocols/servers/serverlibs/web
clear
echo "[*] Generating SSL Certificate"
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
echo
echo
echo "[*] Install complete!"
echo "[*] Enjoy Egress-Assess!"