Advertisement
0xspade

Bounty Scan Setup | by: jhaddix

Feb 19th, 2019
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.42 KB | None | 0 0
  1. #!/bin/bash
  2. export DEBIAN_FRONTEND=noninteractive;
  3. echo "[*] Starting Install... [*]"
  4. echo "[*] Upgrade installed packages to latest [*]"
  5. echo -e "\nRunning a package upgrade...\n"
  6. apt-get -qq update && apt-get -qq dist-upgrade -y
  7. apt full-upgrade -y
  8. apt-get autoclean
  9.  
  10. echo "[*] Install stuff I use all the time [*]"
  11. echo -e "\nInstalling default packages...\n"
  12. 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
  13. 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
  14.  
  15. echo "[*] Install Chrome.[*]"
  16. wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/
  17. dpkg -i --force-depends ~/google-chrome-stable_current_amd64.deb
  18. apt-get -f install -y
  19. dpkg -i --force-depends ~/google-chrome-stable_current_amd64.deb
  20.  
  21. echo "[*] Install Ruby[*]"
  22. apt-get -qq install gnupg2 -y
  23. curl -sSL https://rvm.io/mpapis.asc | gpg --import -
  24. curl -L https://get.rvm.io | bash -s stable --ruby
  25. echo "source /usr/local/rvm/scripts/rvm" >> ~/.bashrc
  26.  
  27. echo "[*] Install nodejs [*]"
  28. curl -sL https://deb.nodesource.com/setup_8.x | bash -
  29. apt-get install -y nodejs
  30.  
  31. echo "[*] Install PhantomJs[*]"
  32. curl -L https://gist.githubusercontent.com/ManuelTS/935155f423374e950566d05d1448038d/raw/906887cbfa384d450276b87087d28e6a51245811/install_phantomJs.sh | sh
  33.  
  34. echo "[*] Install Casperjs[*]"
  35. git clone git://github.com/n1k0/casperjs.git
  36. cd casperjs
  37. ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
  38. cd ..
  39.  
  40. echo "[*] Making Bounty Scan Area.. [*]"
  41. mkdir -p /home/tools/mass-bounty/
  42. mkdir -p /home/tools/mass-bounty/angular-results/
  43. mkdir -p /home/tools/mass-bounty/crlf-results/
  44. mkdir -p /home/tools/mass-bounty/dirsearch-results/
  45. mkdir -p /home/tools/mass-bounty/jexboss-results/
  46. mkdir -p /home/tools/mass-bounty/tko-results/
  47. mkdir -p /home/tools/mass-bounty/s3-results/
  48.  
  49. cd /home/tools/mass-bounty/
  50.  
  51. echo "[*] install Sublist3r[*]"
  52. git clone https://github.com/Plazmaz/Sublist3r.git
  53. cd Sublist3r
  54. pip install -r requirements.txt
  55. cd ..
  56.  
  57. echo "[*] install crlf injection[*]"
  58. git clone https://github.com/random-robbie/CRLF-Injection-Scanner.git
  59. cd CRLF-Injection-Scanner
  60. pip install colored eventlet
  61. cd ..
  62.  
  63. echo "[*] pip install angularjs xss[*]"
  64. git clone -b develop https://github.com/tijme/angularjs-csti-scanner.git
  65. cd angularjs-csti-scanner
  66. pip install -r requirements.txt
  67. python setup.py install
  68. wget "https://raw.githubusercontent.com/random-robbie/docker-dump/master/mass-angularjs-csti-scanner/mass-scan" -o /bin/mass-scan
  69. wget "https://raw.githubusercontent.com/random-robbie/docker-dump/master/mass-angularjs-csti-scanner/scan" -o /bin/scan
  70. chmod 777 /bin/scan
  71. chmod 777 /bin/mass-scan
  72. cd ..
  73.  
  74. echo "[*] install aquatone [*]"
  75. gem install aquatone
  76.  
  77. echo "[*] dir search [*]"
  78. git clone https://github.com/maurosoria/dirsearch.git
  79. cd ..
  80.  
  81. echo "[*] dirsearch mass [*]"
  82. wget https://gist.githubusercontent.com/random-robbie/b8fad5cbff2c5dbcb3470b6cd0c6d635/raw/dirsearch_it.sh -O /bin/dirsearch
  83. chmod 777 /bin/dirsearch
  84.  
  85.  
  86. echo "[*] Go Buster [*]"
  87. wget https://github.com/OJ/gobuster/archive/v1.3.tar.gz
  88. tar xzvf v1.3.tar.gz
  89. mv gobuster-1.3 go-buster
  90. cd go-buster
  91. wget https://gist.github.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/all.txt
  92. go build
  93. chmod 777 gobuster
  94. cd ..
  95.  
  96. echo "[*] Mass DNS [*]"
  97. git clone https://github.com/blechschmidt/massdns.git
  98. cd massdns
  99. make
  100. make install
  101. cd ..
  102.  
  103. echo "[*] Sub Brute [*]"
  104. git clone https://github.com/TheRook/subbrute.git
  105. cd..
  106.  
  107. echo "[*] S3 Bucket Checker [*]"
  108. mkdir s3-bucket-check
  109. cd s3-bucket-check
  110. wget https://gist.githubusercontent.com/random-robbie/b452cc3e1aa99cfeba764e70b5a26dc8/raw/bucket_upload.sh
  111. wget https://gist.githubusercontent.com/random-robbie/b0c8603e55e22b21c49fd80072392873/raw//bucket_list.sh
  112. cd ..
  113.  
  114. echo "[*] Expired Domain Take Overs [*]"
  115. git clone https://github.com/JordyZomer/autoSubTakeover.git
  116. cd autoSubTakeover
  117. pip install -r requirements.txt
  118. cd ..
  119.  
  120.  
  121.  
  122. echo "[*]Finished Installing....[*]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement