-
-
Save armudgal/e4773c9c73870974cba18902d7fbd33c to your computer and use it in GitHub Desktop.
Updating the Script [Included Golang and gobuster]
This file contains hidden or 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 | |
arg DEBIAN_FRONTEND=noninteractive; | |
echo "[*] Starting Install... [*]" | |
echo "[*] Upgrade installed packages to latest [*]" | |
echo -e "\nRunning a package upgrade...\n" | |
apt-get -qq update && apt-get -qq dist-upgrade -y | |
apt full-upgrade -y | |
apt-get autoclean | |
echo "[*] Install stuff I use all the time [*]" | |
echo -e "\nInstalling default packages...\n" | |
apt-get -y install build-essential checkinstall fail2ban gcc firefox git sqlite3 ruby ruby-dev git-core python-dev python-pip unzip jruby libbz2-dev libc6-dev libgdbm-dev libncursesw5-dev libreadline-gplv2-dev libsqlite3-dev libssl-dev nikto nmap nodejs python-dev python-numpy python-scipy python-setuptools tk-dev unattended-upgrades wget curl | |
apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib libldns-dev | |
echo "[*] Downloading seclists [*]" | |
cd /home | |
wget -c https://github.com/danielmiessler/SecLists/archive/master.zip -O SecList.zip | |
unzip SecList.zip | |
rm -f SecList.zip | |
echo "[*] Install Ruby[*]" | |
apt-get -qq install gnupg2 -y | |
curl -sSL https://rvm.io/mpapis.asc | gpg --import - | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
echo "source /usr/local/rvm/scripts/rvm" >> ~/.bashrc | |
echo "[*] Install nodejs [*]" | |
curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
apt-get install -y nodejs | |
echo "[*] Install Golang [*]" | |
wget https://storage.googleapis.com/golang/go1.12.6.linux-amd64.tar.gz | |
tar -C /usr/local -xzvf go1.12.6.linux-amd64.tar.gz | |
rm go1.12.6.linux-amd64.tar.gz | |
echo "export PATH=$PATH:/usr/local/go/bin:/root/go/bin" >> /etc/profile | |
source /etc/profile | |
echo "[*] Install PhantomJs[*]" | |
curl -L https://gist.githubusercontent.com/ManuelTS/935155f423374e950566d05d1448038d/raw/906887cbfa384d450276b87087d28e6a51245811/install_phantomJs.sh | sh | |
echo "[*] Install Casperjs[*]" | |
git clone git://github.com/n1k0/casperjs.git | |
cd casperjs | |
ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs | |
cd .. | |
echo "[*] Making Bounty Scan Area.. [*]" | |
mkdir -p /home/tools/mass-bounty/ | |
mkdir -p /home/tools/mass-bounty/angular-results/ | |
mkdir -p /home/tools/mass-bounty/crlf-results/ | |
mkdir -p /home/tools/mass-bounty/dirsearch-results/ | |
mkdir -p /home/tools/mass-bounty/jexboss-results/ | |
mkdir -p /home/tools/mass-bounty/tko-results/ | |
mkdir -p /home/tools/mass-bounty/s3-results/ | |
cd /home/tools/mass-bounty/ | |
echo "[*] install OWASP Amass [*]" | |
go get -u github.com/OWASP/Amass/... | |
echo "[*] install Sublist3r[*]" | |
git clone https://github.com/Plazmaz/Sublist3r.git | |
cd Sublist3r | |
pip install -r requirements.txt | |
cd .. | |
echo "[*] install crlf injection[*]" | |
git clone https://github.com/random-robbie/CRLF-Injection-Scanner.git | |
cd CRLF-Injection-Scanner | |
pip install colored eventlet | |
cd .. | |
echo "[*] pip install angularjs xss[*]" | |
git clone -b develop https://github.com/tijme/angularjs-csti-scanner.git | |
cd angularjs-csti-scanner | |
pip install -r requirements.txt | |
python setup.py install | |
wget "https://raw.githubusercontent.com/random-robbie/docker-dump/master/mass-angularjs-csti-scanner/mass-scan" -o /bin/mass-scan | |
wget "https://raw.githubusercontent.com/random-robbie/docker-dump/master/mass-angularjs-csti-scanner/scan" -o /bin/scan | |
chmod 777 /bin/scan | |
chmod 777 /bin/mass-scan | |
cd .. | |
echo "[*] Go Buster [*]" | |
go get -u github.com/OJ/gobuster | |
echo "[*] Mass DNS [*]" | |
git clone https://github.com/blechschmidt/massdns.git | |
cd massdns | |
make | |
make install | |
cd .. | |
echo "[*] Sub Brute [*]" | |
git clone https://github.com/TheRook/subbrute.git | |
cd.. | |
echo "[*] S3 Bucket Checker [*]" | |
mkdir s3-bucket-check | |
cd s3-bucket-check | |
wget https://gist.githubusercontent.com/random-robbie/b452cc3e1aa99cfeba764e70b5a26dc8/raw/bucket_upload.sh | |
wget https://gist.githubusercontent.com/random-robbie/b0c8603e55e22b21c49fd80072392873/raw//bucket_list.sh | |
cd .. | |
echo "[*] Expired Domain Take Overs [*]" | |
git clone https://github.com/JordyZomer/autoSubTakeover.git | |
cd autoSubTakeover | |
pip install -r requirements.txt | |
cd .. | |
echo "[*]Finished Installing....[*]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment