Created
October 18, 2017 09:26
-
-
Save Jineeshak/67e9ecbbe46ef5746f57084ea3e0c54e to your computer and use it in GitHub Desktop.
Download tools and configure settings for new VPSes and VMs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update OS | |
apt-get update | |
apt-get upgrade -y | |
apt-get dist-upgrade -y | |
# Pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
python get-pip.py | |
rm get-pip.py | |
# Set Intel assembly in gdb | |
echo "set disassembly-flavor intel" >> ~/.gdbinit | |
# Tools | |
# altdns | |
cd /opt/ | |
git clone https://github.com/infosec-au/altdns.git | |
cd altdns | |
pip install -r requirements.txt | |
echo 'export PATH=$PATH:/opt/altdns/' >> ~/.profile | |
# dirb | |
cd /opt/ | |
git clone https://github.com/seifreed/dirb.git | |
cd dirb | |
./configure | |
make | |
# dirsearch | |
cd /opt/ | |
git clone https://github.com/maurosoria/dirsearch.git | |
echo 'export PATH=$PATH:/opt/dirsearch/' >> ~/.profile | |
# dnsrecon | |
cd /opt/ | |
git clone https://github.com/darkoperator/dnsrecon.git\ | |
pip install -r requirements.txt | |
# nikto | |
git clone https://github.com/sullo/nikto.git | |
echo 'export PATH=$PATH:/opt/nikto/program/' >> ~/.profile | |
# Links | |
ln -s /usr/share/wordlists /w | |
# TODO: cp dictonaries to /usr/share/wordlists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment