Skip to content

Instantly share code, notes, and snippets.

@armudgal
Forked from random-robbie/bountyscan_setup.sh
Last active August 28, 2019 03:36
Show Gist options
  • Select an option

  • Save armudgal/e4773c9c73870974cba18902d7fbd33c to your computer and use it in GitHub Desktop.

Select an option

Save armudgal/e4773c9c73870974cba18902d7fbd33c to your computer and use it in GitHub Desktop.

Revisions

  1. armudgal revised this gist Jun 24, 2019. 1 changed file with 17 additions and 26 deletions.
    43 changes: 17 additions & 26 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    #!/bin/bash
    export DEBIAN_FRONTEND=noninteractive;
    arg DEBIAN_FRONTEND=noninteractive;
    echo "[*] Starting Install... [*]"
    echo "[*] Upgrade installed packages to latest [*]"
    echo -e "\nRunning a package upgrade...\n"
    @@ -12,11 +12,11 @@ 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 "[*] 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 "[*] 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
    @@ -28,6 +28,13 @@ 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.github.com/ManuelTS/935155f423374e950566d05d1448038d/raw/906887cbfa384d450276b87087d28e6a51245811/install_phantomJs.sh | sh

    @@ -48,6 +55,9 @@ 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
    @@ -71,27 +81,8 @@ 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 ..

    echo "[*] dirsearch mass [*]"
    wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/dirsearch_it.sh -O /bin/dirsearch
    chmod 777 /bin/dirsearch


    echo "[*] Go Buster [*]"
    wget https://github.com/OJ/gobuster/archive/v1.3.tar.gz
    tar xzvf v1.3.tar.gz
    mv gobuster-1.3 go-buster
    cd go-buster
    wget https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/all.txt
    go build
    chmod 777 gobuster
    cd ..
    go get -u github.com/OJ/gobuster

    echo "[*] Mass DNS [*]"
    git clone https://github.com/blechschmidt/massdns.git
  2. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -109,6 +109,13 @@ mkdir s3-bucket-check
    cd s3-bucket-check
    wget https://gist.github.com/random-robbie/b452cc3e1aa99cfeba764e70b5a26dc8/raw/bucket_upload.sh
    wget https://gist.github.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 ..



  3. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -97,6 +97,7 @@ echo "[*] Mass DNS [*]"
    git clone https://github.com/blechschmidt/massdns.git
    cd massdns
    make
    make install
    cd ..

    echo "[*] Sub Brute [*]"
  4. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ 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
    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 "[*] Install Chrome.[*]"
    wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/
  5. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -89,7 +89,8 @@ tar xzvf v1.3.tar.gz
    mv gobuster-1.3 go-buster
    cd go-buster
    wget https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/all.txt
    go get && go build && go install
    go build
    chmod 777 gobuster
    cd ..

    echo "[*] Mass DNS [*]"
  6. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -93,7 +93,7 @@ go get && go build && go install
    cd ..

    echo "[*] Mass DNS [*]"
    https://github.com/blechschmidt/massdns.git
    git clone https://github.com/blechschmidt/massdns.git
    cd massdns
    make
    cd ..
  7. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 20 additions and 0 deletions.
    20 changes: 20 additions & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -37,6 +37,17 @@ 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 Sublist3r[*]"
    git clone https://github.com/Plazmaz/Sublist3r.git
    cd Sublist3r
    @@ -87,6 +98,15 @@ cd massdns
    make
    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.github.com/random-robbie/b452cc3e1aa99cfeba764e70b5a26dc8/raw/bucket_upload.sh
    wget https://gist.github.com/random-robbie/b0c8603e55e22b21c49fd80072392873/raw//bucket_list.sh



  8. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,14 @@ mv gobuster-1.3 go-buster
    cd go-buster
    wget https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/all.txt
    go get && go build && go install
    cd ..

    echo "[*] Mass DNS [*]"
    https://github.com/blechschmidt/massdns.git
    cd massdns
    make
    cd ..




  9. @random-robbie random-robbie revised this gist Dec 29, 2017. 1 changed file with 7 additions and 3 deletions.
    10 changes: 7 additions & 3 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -72,9 +72,13 @@ wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0
    chmod 777 /bin/dirsearch





    echo "[*] Go Buster [*]"
    wget https://github.com/OJ/gobuster/archive/v1.3.tar.gz
    tar xzvf v1.3.tar.gz
    mv gobuster-1.3 go-buster
    cd go-buster
    wget https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/all.txt
    go get && go build && go install



  10. @random-robbie random-robbie revised this gist Dec 12, 2017. 1 changed file with 2 additions and 11 deletions.
    13 changes: 2 additions & 11 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ 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
    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

    echo "[*] Install Chrome.[*]"
    wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/
    @@ -74,16 +74,7 @@ chmod 777 /bin/dirsearch



    echo "[*] Install tko subs [*]"
    curl -L https://gist.github.com/random-robbie/2515f7b3d555333f061dd5d4815c12a0/raw/install_go.sh | sh
    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




  11. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -75,6 +75,7 @@ chmod 777 /bin/dirsearch


    echo "[*] Install tko subs [*]"
    curl -L https://gist.github.com/random-robbie/2515f7b3d555333f061dd5d4815c12a0/raw/install_go.sh | sh
    git clone https://github.com/anshumanbh/tko-subs.git
    cd tko-subs
    go get github.com/bgentry/heroku-go
  12. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 1 addition and 7 deletions.
    8 changes: 1 addition & 7 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,6 @@ echo -e "\nRunning a package upgrade...\n"
    apt-get -qq update && apt-get -qq dist-upgrade -y
    apt full-upgrade -y
    apt-get autoclean
    export GOPATH=$HOME

    echo "[*] Install stuff I use all the time [*]"
    echo -e "\nInstalling default packages...\n"
    @@ -66,8 +65,6 @@ gem install aquatone

    echo "[*] dir search [*]"
    git clone https://github.com/maurosoria/dirsearch.git
    cd dirsearch
    pip install -r requirements
    cd ..

    echo "[*] dirsearch mass [*]"
    @@ -89,7 +86,4 @@ go build



    echo "[*]Finished Installing....[*]"



    echo "[*]Finished Installing....[*]"
  13. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@ echo -e "\nRunning a package upgrade...\n"
    apt-get -qq update && apt-get -qq dist-upgrade -y
    apt full-upgrade -y
    apt-get autoclean
    export GOPATH=$HOME

    echo "[*] Install stuff I use all the time [*]"
    echo -e "\nInstalling default packages...\n"
  14. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -65,14 +65,14 @@ gem install aquatone

    echo "[*] dir search [*]"
    git clone https://github.com/maurosoria/dirsearch.git
    cd /root/dirsearch/
    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
    cd /root/




    @@ -88,4 +88,7 @@ go build



    echo "[*]Finished Installing....[*]"
    echo "[*]Finished Installing....[*]"



  15. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ cd ..

    echo "[*] pip install angularjs xss[*]"
    git clone -b develop https://github.com/tijme/angularjs-csti-scanner.git
    cd /root/angularjs-csti-scanner/
    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
    @@ -88,7 +88,4 @@ go build



    echo "[*]Finished Installing....[*]"



    echo "[*]Finished Installing....[*]"
  16. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -39,7 +39,7 @@ cd ..

    echo "[*] install Sublist3r[*]"
    git clone https://github.com/Plazmaz/Sublist3r.git
    cd /root/Sublist3r/
    cd Sublist3r
    pip install -r requirements.txt
    cd ..

    @@ -88,4 +88,7 @@ go build



    echo "[*]Finished Installing....[*]"
    echo "[*]Finished Installing....[*]"



  17. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ 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 curl
    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.[*]"
    @@ -67,9 +67,10 @@ echo "[*] dir search [*]"
    git clone https://github.com/maurosoria/dirsearch.git
    cd /root/dirsearch/
    pip install -r requirements
    cd ..

    echo "[*] dirsearch mass [*]"
    wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/bdf21375701591eecb1d90f962ee9abab7997f23/dirsearch_it.sh -O /bin/dirsearch
    wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/dirsearch_it.sh -O /bin/dirsearch
    chmod 777 /bin/dirsearch
    cd /root/

    @@ -78,6 +79,11 @@ cd /root/
    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


  18. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 10 additions and 3 deletions.
    13 changes: 10 additions & 3 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ 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 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 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
    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 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 ~/
    @@ -71,8 +71,15 @@ pip install -r requirements
    echo "[*] dirsearch mass [*]"
    wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/bdf21375701591eecb1d90f962ee9abab7997f23/dirsearch_it.sh -O /bin/dirsearch
    chmod 777 /bin/dirsearch
    cd /root/

    echo "[*]Finished Installing....[*]"


    echo "[*] Install tko subs [*]"
    git clone https://github.com/anshumanbh/tko-subs.git
    cd tko-subs
    go build



    echo "[*]Finished Installing....[*]"
  19. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ 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 git-core python-dev python-pip 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 curl
    apt-get -y install build-essential checkinstall fail2ban gcc firefox git sqlite3 ruby ruby-dev git-core python-dev python-pip 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 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

    echo "[*] Install Chrome.[*]"
  20. @random-robbie random-robbie revised this gist Dec 8, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ 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 firefox git sqlite3 git-core 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 curl
    apt-get -y install build-essential checkinstall fail2ban gcc firefox git sqlite3 git-core python-dev python-pip 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 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

    echo "[*] Install Chrome.[*]"
  21. @random-robbie random-robbie created this gist Dec 8, 2017.
    78 changes: 78 additions & 0 deletions bountyscan_setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,78 @@
    #!/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 firefox git sqlite3 git-core 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 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

    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 /root/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 /root/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 /root/dirsearch/
    pip install -r requirements

    echo "[*] dirsearch mass [*]"
    wget https://gist.github.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/bdf21375701591eecb1d90f962ee9abab7997f23/dirsearch_it.sh -O /bin/dirsearch
    chmod 777 /bin/dirsearch

    echo "[*]Finished Installing....[*]"