Mr_HaX0R

install

Jun 12th, 2021
880
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo apt-get -y update
  2. sudo apt-get -y upgrade
  3. sudo apt full-upgrade -y
  4. sudo apt-get install software-properties-common
  5. sudo apt-add-repository universe
  6. sudo apt-get update
  7. sudo apt-get install python-pip
  8. sudo apt install python-pip
  9. sudo apt install python3-pip
  10. sudo apt-get install neofetch
  11. sudo apt-get install googler
  12. sudo apt-get install nmap
  13. sudo apt-get install sublime-text
  14. sudo apt-get install -y libcurl4-openssl-dev
  15. sudo apt-get install -y libssl-dev
  16. sudo apt-get install -y jq
  17. sudo apt-get install -y ruby-full
  18. sudo apt-get install rubygems
  19. sudo apt-get install -y libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev
  20. sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev
  21. sudo apt-get install -y python-setuptools
  22. sudo apt-get install -y libldns-dev
  23. sudo apt-get install libssl-dev swig -y
  24. sudo apt-get install -y python3-pip
  25. sudo apt-get install -y python-pip
  26. sudo apt-get install -y python-dnspython
  27. sudo apt-get install -y git
  28. sudo apt-get install -y rename
  29. sudo apt-get install -y xargs
  30. apt-get install curl
  31. curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  32. python get-pip.py
  33. sudo apt install figlet
  34. sudo apt install docker
  35. sudo apt install golang-go
  36. sudo apt install libcurl4-openssl-dev
  37. sudo apt install python3-pip
  38. sudo pip3 install --upgrade pycurl
  39. sudo pip install snallygaster
  40. sudo pip install py-altdns
  41. sudo pip install dnspython==2.0.0
  42. sudo pip install truffleHog
  43. sudo gem install wpscan
  44. sudo apt install -y awscli
  45. sudo apt install snapd
  46. systemctl enable --now snapd apparmor
  47. snap install ddgr
  48.  
  49. #install go
  50. if [[ -z "$GOPATH" ]]
  51. then
  52.  
  53. echo "Installing Golang"
  54. wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz
  55. sudo tar -xvf go1.15.2.linux-amd64.tar.gz
  56. sudo mv go /usr/local
  57. export GOROOT=/usr/local/go
  58. export GOPATH=$HOME/go
  59. export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
  60. echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile
  61. echo 'export GOPATH=$HOME/go'   >> ~/.bash_profile         
  62. echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
  63. source ~/.bash_profile
  64.                    
  65.    
  66. fi
  67.  
  68.  
  69.  
  70.  
  71.  
  72. #create a tools folder in ~/
  73. mkdir ~/tools
  74. cd ~/tools/
  75.  
  76. #install aquatone
  77. echo "Installing Aquatone"
  78. go get github.com/michenriksen/aquatone
  79. echo "done"
  80.  
  81. #install chromium
  82. echo "Installing Chromium"
  83. sudo snap install chromium
  84. echo "done"
  85.  
  86. #install chromium
  87. echo "Installing amass"
  88. sudo snap install amass
  89. echo "done"
  90.  
  91. echo "installing JSParser"
  92. git clone https://github.com/nahamsec/JSParser.git
  93. cd JSParser*
  94. sudo python setup.py install
  95. cd ~/tools/
  96. echo "done"
  97.  
  98. echo "installing Sublist3r and others"
  99. git clone https://github.com/aboul3la/Sublist3r.git
  100. git clone https://github.com/infosec-au/altdns.git
  101. cd Sublist3r*
  102. pip install -r requirements.txt
  103.  
  104. cd ~/tools/
  105. git clone https://github.com/IAmStoxe/urlgrab.git
  106. cd urlgrab
  107. go build
  108.  
  109. cd ~/tools/
  110.  
  111. git clone https://github.com/m4ll0k/takeover.git
  112. cd takeover
  113. python3 setup.py install
  114.  
  115. cd ~/tools/
  116.  
  117.  
  118. git clone https://github.com/devanshbatham/ParamSpider
  119. cd ParamSpider
  120. pip3 install -r requirements.txt
  121.  
  122. cd ~/tools/
  123.  
  124. echo "done"
  125.  
  126.  
  127. echo "installing teh_s3_bucketeers"
  128. git clone https://github.com/tomdev/teh_s3_bucketeers.git
  129. cd ~/tools/
  130. echo "done"
  131.  
  132.  
  133.  
  134. echo "installing massdns"
  135. git clone https://github.com/blechschmidt/massdns.git
  136. cd massdns
  137. make
  138. cd ~/tools/
  139. echo "done"
  140.  
  141.  
  142. echo "installing SubDomainzer"
  143. git clone https://github.com/nsonaniya2010/SubDomainizer.git
  144. cd SubDomainizer
  145. pip3 install -r requirements.txt
  146. cd ~/tools/
  147. echo "done"
  148.  
  149.  
  150. echo "installing Linkfinder"
  151. git clone https://github.com/GerbenJavado/LinkFinder.git
  152. cd LinkFinder
  153. python setup.py install
  154. pip3 install -r requirements.txt
  155. cd ~/tools/
  156. echo "done"
  157.  
  158. echo "installing apkleak"
  159. git clone https://github.com/dwisiswant0/apkleaks
  160. cd apkleaks/
  161. pip install -r requirements.txt
  162. cd ~/tools/
  163. echo "done"
  164.  
  165.  
  166. echo "installing Knock"
  167. git clone https://github.com/guelfoweb/knock.git
  168. cd knock
  169. sudo python setup.py install
  170. cd ~/tools/
  171. echo "done"
  172.  
  173.  
  174.  
  175. echo "installing wpscan"
  176. git clone https://github.com/wpscanteam/wpscan.git
  177. cd wpscan*
  178. sudo gem install bundler && bundle install --without test
  179. cd ~/tools/
  180. echo "done"
  181.  
  182. echo "installing dirsearch"
  183. git clone https://github.com/maurosoria/dirsearch.git
  184. cd ~/tools/
  185. echo "done"
  186.  
  187.  
  188. echo "installing lazys3"
  189. git clone https://github.com/nahamsec/lazys3.git
  190. cd ~/tools/
  191. echo "done"
  192.  
  193. echo "installing virtual host discovery"
  194. git clone https://github.com/jobertabma/virtual-host-discovery.git
  195. cd ~/tools/
  196. echo "done"
  197.  
  198.  
  199. echo "installing nikto"
  200. git clone https://github.com/sullo/nikto
  201. cd ~/tools/
  202. echo "done"
  203.  
  204.  
  205.  
  206. echo "installing sqlmap"
  207. git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
  208. cd ~/tools/
  209. echo "done"
  210.  
  211. echo "installing knock.py"
  212. git clone https://github.com/guelfoweb/knock.git
  213. cd ~/tools/
  214. echo "done"
  215.  
  216. echo "installing lazyrecon"
  217. git clone https://github.com/nahamsec/lazyrecon.git
  218. cd ~/tools/
  219. echo "done"
  220.  
  221. echo "installing nmap"
  222. sudo apt-get install -y nmap
  223. echo "done"
  224.  
  225. echo "installing massdns"
  226. git clone https://github.com/blechschmidt/massdns.git
  227. cd ~/tools/massdns
  228. make
  229. cd ~/tools/
  230. echo "done"
  231.  
  232. echo "installing asnlookup"
  233. git clone https://github.com/yassineaboukir/asnlookup.git
  234. cd ~/tools/asnlookup
  235. pip install -r requirements.txt
  236. cd ~/tools/
  237. echo "done"
  238.  
  239.  
  240. echo "installing live targetfinder"
  241. git clone https://github.com/allyomalley/LiveTargetsFinder.git
  242. cd LiveTargetsFinder
  243. sudo pip3 install -r requirements.txt
  244. chmod +x install_deps.sh
  245. ./install_deps.sh
  246. cd ~/tools/
  247. echo "done"
  248.  
  249. echo "installing dnsvalidator"
  250. git clone https://github.com/vortexau/dnsvalidator.git
  251. cd ~/tools/dnsvalidator
  252. python3 setup.py install
  253. cd ~/tools/
  254. echo "done"
  255.  
  256. echo "installing httprobe"
  257. go get -u github.com/tomnomnom/httprobe
  258. echo "done"
  259.  
  260. echo "installing hakrawler"
  261. go get github.com/hakluke/hakrawler
  262. echo "done"
  263.  
  264. echo "installing unfurl"
  265. go get -u github.com/tomnomnom/unfurl
  266. echo "done"
  267.  
  268. echo "installing tomnomnom tools and others"
  269. go get github.com/tomnomnom/waybackurls
  270. go get -u github.com/tomnomnom/gf
  271. echo 'source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash' >> ~/.bashrc
  272. mkdir .gf
  273. cp -r $GOPATH/src/github.com/tomnomnom/gf/examples ~/.gf
  274.  
  275. go get -u github.com/tomnomnom/gron
  276. alias ungron="gron --ungron"
  277. go get -u github.com/hahwul/dalfox
  278. go get -u github.com/tomnomnom/qsreplace
  279. go get -u github.com/iamstoxe/urlgrab
  280. go get github.com/Ice3man543/SubOver
  281.  
  282. cd ~/
  283. git clone https://github.com/1ndianl33t/Gf-Patterns
  284. mkdir ~/.gf
  285. mv ~/Gf-Patterns/*.json ~/.gf
  286. echo "done"
  287.  
  288. echo "installing nuclei"
  289. GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
  290. nuclei -update-templates
  291. echo "done"
  292.  
  293. echo "installing httpx"
  294. GO111MODULE=auto go get -u -v github.com/projectdiscovery/httpx/cmd/httpx
  295. echo "done"
  296.  
  297. echo "installing subfinder"
  298. GO111MODULE=on go get -u -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder
  299. echo "done"
  300.  
  301.  
  302. echo "installing shuffledns"
  303. GO111MODULE=on go get -u -v github.com/projectdiscovery/shuffledns/cmd/shuffledns
  304. echo "done"
  305.  
  306. echo "installing gau"
  307. GO111MODULE=on go get -u -v github.com/lc/gau
  308. echo "done"
  309.  
  310. echo "installing ffuf"
  311. go get github.com/ffuf/ffuf
  312. echo "done"
  313.  
  314.  
  315. echo "installing subjack"
  316. go get github.com/haccer/subjack
  317. echo "done"
  318.  
  319.  
  320.  
  321. echo "installing gospider"
  322. go get -u github.com/jaeles-project/gospider
  323. echo "done"
  324.  
  325.  
  326.  
  327. echo "installing crtndstry"
  328. git clone https://github.com/nahamsec/crtndstry.git
  329. echo "done"
  330.  
  331. echo "downloading Seclists"
  332. cd ~/tools/
  333. aws s3 sync s3://assetnote-wordlists/data/ ./assetnote-wordlists --no-sign-request
  334. git clone https://github.com/swisskyrepo/PayloadsAllTheThings.git
  335. git clone https://github.com/TheKingOfDuck/fuzzDicts.git
  336. git clone https://github.com/tennc/fuzzdb.git
  337. git clone https://github.com/danielmiessler/SecLists.git
  338. cd ~/tools/SecLists/Discovery/
  339. wget https://gist.githubusercontent.com/nullenc0de/96fb9e934fc16415fbda2f83f08b28e7/raw/146f367110973250785ced348455dc5173842ee4/content_discovery_nullenc0de.txt
  340. wget https://gist.githubusercontent.com/jhaddix/b80ea67d85c13206125806f0828f4d10/raw/c81a34fe84731430741e0463eb6076129c20c4c0/content_discovery_all.txt
  341. cd ~/tools/SecLists/Discovery/DNS/
  342. ##THIS FILE BREAKS MASSDNS AND NEEDS TO BE CLEANED
  343. cat dns-Jhaddix.txt | head -n -14 > clean-jhaddix-dns.txt
  344. cd ~/tools/
  345. echo "done"
  346. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7
  347. echo "deb https://repo.windscribe.com/ubuntu bionic main" | sudo tee /etc/apt/sources.list.d/windscribe-repo.list
  348. sudo apt-get update
  349. sudo apt-get install windscribe-cli
  350.  
  351. cd ~/tools/dnsvalidator
  352. dnsvalidator -tL https://public-dns.info/nameservers.txt -threads 20 -o resolvers.txt
  353.  
  354. sudo apt autoremove
  355.  
RAW Paste Data