-
-
Save websecresearch/270b5e8a3f040c59c7accac0250f7dd9 to your computer and use it in GitHub Desktop.
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 | |
| export 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 golang-go 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 | |
| echo "[*] Install Chrome.[*]" | |
| wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/ | |
| dpkg -i --force-depends ~/google-chrome-stable_current_amd64.deb | |
| apt-get -f install -y | |
| dpkg -i --force-depends ~/google-chrome-stable_current_amd64.deb | |
| 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 PhantomJs[*]" | |
| curl -L https://gist.github.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 "[*] 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 "[*] install aquatone [*]" | |
| gem install aquatone | |
| echo "[*] dir search [*]" | |
| git clone https://github.com/maurosoria/dirsearch.git | |
| cd dirsearch | |
| pip install -r requirements | |
| cd .. | |
| echo "[*] dirsearch mass [*]" | |
| wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/dirsearch_it.sh -O /bin/dirsearch | |
| chmod 777 /bin/dirsearch | |
| echo "[*] Install tko subs [*]" | |
| git clone https://github.com/anshumanbh/tko-subs.git | |
| cd tko-subs | |
| go get github.com/bgentry/heroku-go | |
| go get github.com/gocarina/gocsv | |
| go get github.com/google/go-github/github | |
| go get github.com/olekukonko/tablewriter | |
| go get golang.org/x/oauth2 | |
| go build | |
| echo "[*]Finished Installing....[*]" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment