-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
804 lines (641 loc) · 22.5 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
#!/bin/bash
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
BLUE=$(tput setaf 4)
CYAN=$(tput setaf 6)
RESET=$(tput sgr0)
AMASS_VERSION=4.2.0
echo ""
echo "${GREEN} Tools created for the best people in the InfoSec Community ${RESET}"
echo "${GREEN} Thanks to everyone! ${RESET}"
echo "${BLUE} Happy Hacking! ${RESET}"
echo ""
echo ""
echo "${GREEN} ^.^ For any suggestions, DM > https://twitter.com/skr4tmagick ^.^ ${RESET}"
echo ""
echo ""
sleep 2s
echo "${RED} ~~ Updating and installing dependencies to set-up containers from scratch for bug bounty ~~ ${RESET}"
echo ""
echo ""
tput bold;echo "${GREEN}To optimize the space taken by the container and for easier enablement of bounty hunting, this script will be modified to include/remove tools ${RESET}";tput sgr0
echo ""
echo ""
sleep 3s
sudo apt-get -y update
sudo apt-get -y upgrade
add-apt-repository -y ppa:apt-get/stable < /dev/null
echo debconf apt-get/maxdownloads string 16 | debconf-set-selections
echo debconf apt-get/dlflag boolean true | debconf-set-selections
echo debconf apt-get/aptmanager string apt-get | debconf-set-selections
sudo apt-get install -y python3
sudo apt-get install -y apt-transport-https
sudo apt-get install -y libcurl4-openssl-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y jq
sudo apt-get install -y ruby-full
sudo apt-get install -y libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev
sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev
sudo apt-get install -y python-setuptools
sudo apt-get install -y libldns-dev
sudo apt-get install -y python3-pip
sudo apt-get install -y python-dnspython
sudo apt-get install -y git
sudo apt-get install -y npm
sudo apt-get install -y nmap phantomjs
sudo apt-get install -y gem
sudo apt-get install -y perl
sudo apt-get install -y parallel
sudo apt-get install -y curl
sudo apt-get install -y nano
pip3 install jsbeautifier
echo ""
echo ""
sar 1 1 >/dev/null
#Setting shell functions/aliases
echo "${GREEN} [+] Setting bash_profile aliases ${RESET}"
curl https://raw.githubusercontent.com/unethicalnoob/aliases/master/bashprofile > ~/.bash_profile
echo "${BLUE} If it doesn't work, set it manually ${RESET}"
echo ""
echo ""
sar 1 1 >/dev/null
echo "${GREEN} [+] Installing Golang ${RESET}"
if [ ! -f /usr/bin/go ]; then
echo "Go is not installed. Installing..."
# Change directory to home
cd ~
# Download and execute the installation script
sudo apt-get update
wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
sudo tar -xvf go1.21.0.linux-amd64.tar.gz
sudo mv go /usr/local
go version
# Set up Go environment variables
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
# Source ~/.bash_profile to apply changes
source ~/.bash_profile
source ~/.profile #IMPORTANT
echo "${GREEN} "Go installation complete.${RESET}"
else
echo "${BLUE} Golang is already installed${RESET}"
fi
break
echo""
echo "${BLUE} Done Install Golang ${RESET}"
echo ""
echo ""
sar 1 1 >/dev/null
#Installing tools
echo "${RED} #################### ${RESET}"
echo "${RED} # Installing tools # ${RESET}"
echo "${RED} #################### ${RESET}"
echo "${GREEN} #### Basic Tools #### ${RESET}"
#install altdns
echo "${BLUE} installing altdns ${RESET}"
pip3 install py-altdns
echo "${BLUE} done${RESET}"
echo ""
#install nmap
echo "${BLUE} installing nmap${RESET}"
sudo apt-get install -y nmap
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading virtual host discovery${RESET}"
git clone https://github.com/jobertabma/virtual-host-discovery.git ~/tools/vhd
echo "${BLUE} done${RESET}"
echo ""
#install sqlmap
echo "${BLUE} installing sqlmap${RESET}"
sudo apt-get install -y sqlmap
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading knockpy${RESET}"
git clone https://github.com/guelfoweb/knock.git ~/tools/knockpy
cd ~/tools/knockpy
python setup.py install
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing knock2${RESET}"
go get -u github.com/harleo/knockknock@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading asnlookup${RESET}"
git clone https://github.com/yassineaboukir/asnlookup.git ~/tools/asnlookup
cd ~/tools/asnlookup
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing metabigor${RESET}"
go get -u github.com/j3ssie/metabigor@latest
echo "${BLUE} done${RESET}"
sar 1 1 >/dev/null
echo ""
echo "${GREEN}#### Installing fuzzing tools ####${RESET}"
#install gobuster
echo "${BLUE} installing gobuster${RESET}"
go get -u github.com/OJ/gobuster@latest
echo "${BLUE} done${RESET}"
echo ""
#install ffuf
echo "${BLUE} installing ffuf${RESET}"
go get -u github.com/ffuf/ffuf@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing dirsearch${RESET}"
git clone https://github.com/maurosoria/dirsearch.git ~/tools/dirsearch
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing wfuzz${RESET}"
sudo apt-get install -y wfuzz
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### Installing Domain Enum Tools ####${RESET}"
#install aquatone
echo "${BLUE} Installing Aquatone ${RESET}"
go get -u github.com/michenriksen/aquatone@latest
echo "${BLUE} done ${RESET}"
echo ""
#install subDomainizer
echo "${BLUE} subdomainizer ${RESET}"
git clone https://github.com/nsonaniya2010/SubDomainizer.git ~/tools/SubDomainizer
cd ~/tools/SubDomainizer && chmod +x SubDomainizer.py
pip3 install -r requirements.txt
echo "${BLUE} done ${RESET}"
echo ""
#install domain_analyzer
echo "${BLUE} domain_analyzer ${RESET}"
git clone https://github.com/eldraco/domain_analyzer.git ~/tools/domain_analyzer
echo "${BLUE} done ${RESET}"
echo ""
#install massdns
echo "${BLUE} Installing massdns ${RESET}"
git clone https://github.com/blechschmidt/massdns.git ~/tools/massdns
cd ~/tools/massdns
make
echo "${BLUE} done ${RESET}"
echo ""
#install sub.sh
echo "${BLUE} sub.sh ${RESET}"
git clone https://github.com/cihanmehmet/sub.sh.git ~/tools/subsh
cd ~/tools/subsh && chmod +x sub.sh
echo "${BLUE} done ${RESET}"
echo ""
#install subjack
echo "${BLUE} installing subjack ${RESET}"
go get -u github.com/haccer/subjack@latest
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing Sublister ${RESET}"
git clone https://github.com/aboul3la/Sublist3r.git ~/tools/Sublist3r
cd ~/tools/Sublist3r
pip3 install -r requirements.txt
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing Subover ${RESET}"
go get -u github.com/Ice3man543/SubOver
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing spyse ${RESET}"
pip3 install spyse.py
echo "${BLUE} done ${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing CORS Tools #### ${RESET}"
echo "${BLUE} installing corsy ${RESET}"
git clone https://github.com/s0md3v/Corsy.git ~/tools/corsy
pip3 install -r requirements.txt
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing cors-scanner ${RESET}"
git clone https://github.com/chenjj/CORScanner.git ~/tools/corscanner
pip3 install -r requirements.txt
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing another cors scanner${RESET}"
go get -u github.com/Tanmay-N/CORS-Scanner
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing XSS Tools#### ${RESET}"
echo "${BLUE} installing dalfox${RESET}"
git clone https://github.com/hahwul/dalfox ~/tools/dalfox
cd ~/tools/dalfox/ && go build dalfox.go
cp dalfox /usr/bin/
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing XSStrike${RESET}"
git clone https://github.com/s0md3v/XSStrike.git ~/tools/XSStrike
cd ~/tools/XSStrike
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
#Xspear for XSS
echo "${BLUE} installing XSpear${RESET}"
gem install XSpear
gem install colorize
gem install selenium-webdriver
gem install terminal-table
gem install progress_bar
echo "${BLUE} done${RESET}"
echo ""
#traxss
echo "${BLUE} downloading traxss${RESET}"
git clone https://github.com/M4cs/traxss.git ~/tools/traxss
cd ~/tools/traxss
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing Cloud workflow Tools #### ${RESET}"
echo "${BLUE} Instaliing awscli${RESET}"
pip3 install awscli --upgrade --user
echo "${BLUE} Don't forget to set up AWS credentials!${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install s3-buckets-finder
echo "${BLUE} s3-buckets-finder${RESET}"
git clone https://github.com/gwen001/s3-buckets-finder.git ~/tools/s3-buckets-finder
echo "${BLUE} done${RESET}"
echo ""
#install lazys3
echo "${BLUE} lazys3${RESET}"
git clone https://github.com/nahamsec/lazys3.git ~/tools/lazys3
echo "${BLUE} done${RESET}"
echo ""
#install DumpsterDiver
echo "${BLUE} DumpsterDiver${RESET}"
git clone https://github.com/securing/DumpsterDiver.git ~/tools/DumpsterDiver
cd ~/tools/DumpsterDiver && chmod +x DumpsterDiver.py
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
#install S3Scanner
echo "${BLUE} installing S3Scanner${RESET}"
git clone https://github.com/sa7mon/S3Scanner.git ~/tools/S3Scanner
cd ~/tools/S3Scanner
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Cloudflair${RESET}"
git clone https://github.com/christophetd/CloudFlair.git ~/tools/CloudFlair
cd ~/tools/CloudFlair && chmod +x cloudflair.py
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Cloudunflare${RESET}"
git clone https://github.com/greycatz/CloudUnflare.git ~/tools/CloudUnflare
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing flumberboozle${RESET}"
git clone https://github.com/fellchase/flumberboozle ~/tools/flumberboozle
echo "${BLUE} done${RESET}"
echo ""
#install GCPBucketBrute
echo "${BLUE} installing GCPBucketBrute${RESET}"
git clone https://github.com/RhinoSecurityLabs/GCPBucketBrute.git ~/tools/GCPBucketBrute
cd ~/tools/GCPBucketBrute
python3 -m pip install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing CMS Tools #### ${RESET}"
#install CMSmap
echo "${BLUE} installing CMSmap${RESET}"
git clone https://github.com/Dionach/CMSmap.git ~/tools/CMS/CMSmap
cd ~/tools/CMS/CMSmap
pip3 install .
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing wig${RESET}"
git clone https://github.com/jekyc/wig.git ~/tools/CMS/wig
cd ~/tools/wig
python3 setup.py install
echo "${BLUE} done${RESET}"
echo ""
#install CMSeek
echo "${BLUE} installing CMSeek${RESET}"
git clone https://github.com/Tuhinshubhra/CMSeeK.git ~/tools/CMS/CMSeek
cd ~/tools/CMS/CMSeek
python3 -m pip install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
#install Joomscan
echo "${BLUE} installing Joomscan${RESET}"
git clone https://github.com/rezasp/joomscan.git ~/tools/CMS/Joomscan
echo "${BLUE} done${RESET}"
echo ""
#install wpscan
echo "${BLUE} installing wpscan${RESET}"
gem install wpscan
echo "${BLUE} done${RESET}"
echo ""
#install droopescan
echo "${BLUE} installing droopescan${RESET}"
pip3 install droopescan
echo "${BLUE} done${RESET}"
echo ""
#install drupwn
echo "${BLUE} installing drupwn${RESET}"
git clone https://github.com/immunIT/drupwn.git ~/tools/CMS/drupwn
cd ~/tools/CMS/drupwn
python3 setup.py install
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} Adobe scanner${RESET}"
git clone https://github.com/0ang3el/aem-hacker.git ~/tools/CMS/aem-hacker
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### Downloading Git tools ####${RESET}"
echo "${BLUE} git-scanner${RESET}"
git clone https://github.com/HightechSec/git-scanner ~/tools/GIT/git-scanner
cd ~/tools/GIT/git-scanner && chmod +x gitscanner.sh
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} gitgraber${RESET}"
git clone https://github.com/hisxo/gitGraber.git ~/tools/GIT/gitGraber
cd ~/tools/GIT/gitGraber && chmod +x gitGraber.py
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} GitHound${RESET}"
git clone https://github.com/tillson/git-hound.git ~/tools/GIT/git-hound
cd ~/tools/GIT/git-hound
go build main.go && mv main githound
echo "${BLUE} Create a ./config.yml or ~/.githound/config.yml${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} gitsearch${RESET}"
git clone https://github.com/gwen001/github-search.git ~/tools/GIT/github-search
cd ~/tools/GIT/github-search
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### Downloading Frameworks ####${RESET}"
#install Sn1per
echo "${BLUE} Sn1per${RESET}"
git clone https://github.com/1N3/Sn1per.git ~/tools/Frameworks/Sn1per
echo "${BLUE} done${RESET}"
echo ""
#install Osmedeus
echo "${BLUE} Osmedeus${RESET}"
git clone https://github.com/j3ssie/Osmedeus.git ~/tools/Frameworks/osmedeus
echo "${BLUE} done${RESET}"
echo ""
#install Cobra
echo "${BLUE} Cobra${RESET}"
git clone https://github.com/WhaleShark-Team/cobra.git ~/tools/Frameworks/Cobra
echo "${BLUE} done${RESET}"
echo ""
#install TIDoS-Framework
echo "${BLUE} TIDoS-Framework${RESET}"
git clone https://github.com/0xinfection/tidos-framework.git ~/tools/Frameworks/TIDoS-Framework
cd ~/tools/Frameworks/TIDoS-Framework
chmod +x install
echo "${BLUE} done${RESET}"
echo ""
#install Blackwidow#
echo "${BLUE} blackwidow${RESET}"
git clone https://github.com/1N3/BlackWidow.git ~/tools/Frameworks/BlackWidow
cd ~/tools/Frameworks/BlackWidow
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing my${RESET}"
git clone --recursive https://github.com/screetsec/my.git ~/tools/Frameworks/my
cd ~/tools/Frameworks/my
pip3 install -r requirements.txt
npm i -g wappalyzer
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing findomain${RESET}"
cd ~/tools/Frameworks
wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux
chmod +x findomain-linux
cp findomain-linux /usr/bin/findomain
echo "${BLUE} Add your keys in the config file"
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### Other Tools ####${RESET}"
echo "${BLUE} installing SSRFMap ${RESET}"
git clone https://github.com/swisskyrepo/SSRFmap ~/tools/SSRFMap
cd ~/tools/SSRFMap/
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing XSRFProbe${RESET}"
pip3 install xsrfprobe
echo "${BLUE} done${RESET}"
echo ""
#install JSParser
echo "${BLUE} installing JSParser${RESET}"
git clone https://github.com/nahamsec/JSParser.git ~/tools/JSParser
cd ~/tools/JSParser
python3 setup.py install
echo "${BLUE} done${RESET}"
echo ""
#install subjs
echo "${BLUE} installing subjs${RESET}"
go get -u github.com/lc/subjs
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing broken-link-checker${RESET}"
npm install broken-link-checker -g
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing pwncat${RESET}"
pip3 install pwncat
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Photon${RESET}"
git clone https://github.com/s0md3v/Photon.git ~/tools/Photon
cd ~/tools/Photon
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing hakrawler${RESET}"
git clone https://github.com/hakluke/hakrawler.git ~/tools/hakrawler
cd ~/tools/hakrawler
go build main.go && mv main hakrawler
mv hakrawler /usr/bin/
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing waff00f${RESET}"
git clone https://github.com/EnableSecurity/wafw00f.git ~/tools/waff00f
cd ~/tools/wafw00f
python3 setup.py install
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} Paramspider${RESET}"
git clone https://github.com/devanshbatham/ParamSpider ~/tools/ParamSpider
cd ~/tools/ParamSpider
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} jexboss${RESET}"
git clone https://github.com/joaomatosf/jexboss.git ~/tools/jexboss
cd ~/tools/jexboss
pip3 install -r requires.txt
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} goohak${RESET}"
git clone https://github.com/1N3/Goohak.git ~/tools/Goohak
cd ~/tools/Goohak && chmod +x goohak
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing webtech${RESET}"
pip3 install webtech
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing gau${RESET}"
go get -u github.com/lc/gau
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} LinkFinder${RESET}"
git clone https://github.com/GerbenJavado/LinkFinder.git ~/tools/LinkFinder
cd ~/tools/LinkFinder
pip3 install -r requirements.txt
python3 setup.py install
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} SecretFinder${RESET}"
git clone https://github.com/m4ll0k/SecretFinder.git ~/tools/SecretFinder
cd ~/tools/SecretFinder && chmod +x secretfinder
pip3 install -r requirements.txt
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### ProjectDiscovery Pinned Tools ####${RESET}"
echo "${BLUE} installing naabu${RESET}"
go install github.com/projectdiscovery/naabu/cmd/naabulatest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing dnsprobe${RESET}"
go get -u github.com/projectdiscovery/dnsprobe@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing nuclei${RESET}"
go get -u github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing subfinder${RESET}"
go get -u github.com/projectdiscovery/subfinder/cmd/subfinder@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing httpx${RESET}"
go get -u github.com/projectdiscovery/httpx/cmd/httpx@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing shuffledns${RESET}"
go get -u github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing chaos-client${RESET}"
go get -u github.com/projectdiscovery/chaos-client/cmd/chaos@latest
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Downloading wordlists #### ${RESET}"
git clone https://github.com/assetnote/commonspeak2-wordlists ~/tools/Wordlists/commonspeak2-wordlists
git clone https://github.com/fuzzdb-project/fuzzdb ~/tools/Wordlists/fuzzdb
git clone https://github.com/1N3/IntruderPayloads ~/tools/Wordlists/IntruderPayloads
git clone https://github.com/swisskyrepo/PayloadsAllTheThings ~/tools/Wordlists/PayloadsAllTheThings
git clone https://github.com/danielmiessler/SecLists ~/tools/Wordlists/SecLists
cd ~/tools/Wordlists/SecLists/Discovery/DNS/
##THIS FILE BREAKS MASSDNS AND NEEDS TO BE CLEANED
cat dns-Jhaddix.txt | head -n -14 > clean-jhaddix-dns.txt
printf "${BLUE} Wordlists downloaded ${RESET}"
sar 1 1 >/dev/null
echo "${GREEN} #### Installing tomnomnom tools #### ${RESET}"
echo "${GREEN} check out his other tools as well ${RESET}"
echo "${BLUE} installing meg${RESET}"
go get -u github.com/tomnomnom/meg@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing assetfinder${RESET}"
go get -u github.com/tomnomnom/assetfinder@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing waybackurls${RESET}"
go get -u github.com/tomnomnom/waybackurls@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing gf${RESET}"
go get -u github.com/tomnomnom/gf@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing httprobe${RESET}"
go get -u github.com/tomnomnom/httprobe@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing concurl${RESET}"
go get -u github.com/tomnomnom/hacks/concurl@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing unfurl${RESET}"
go get -u github.com/tomnomnom/unfurl@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing anti-burl${RESET}"
go get -u github.com/tomnomnom/hacks/anti-burl@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing filter-resolved${RESET}"
go get github.com/tomnomnom/hacks/filter-resolved@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing fff${RESET}"
go get -u github.com/tomnomnom/fff@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing qsreplace${RESET}"
go get -u github.com/tomnomnom/qsreplace@latest
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Other other Tools #### ${RESET}"
echo "${BLUE} installing arjun${RESET}"
git clone https://github.com/s0md3v/Arjun.git ~/tools/Arjun
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing cf-check${RESET}"
go get -u github.com/dwisiswant0/cf-check@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Urlprobe${RESET}"
go get -u github.com/1ndianl33t/urlprobe@latest
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing amass${RESET}"
cd ~ && echo -e "Downloading amass version ${AMASS_VERSION} ..." && wget -q https://github.com/OWASP/Amass/releases/download/v${AMASS_VERSION}/amass_linux_amd64.zip && unzip amass_linux_amd64.zip && mv amass_linux_amd64/amass /usr/bin/
cd ~ && rm -rf amass_linux_amd64* amass_linux_amd64.zip*
echo "${BLUE} done${RESET}"
echo ""
unzip -q temp.zip &&
echo "${BLUE} installing impacket${RESET}"
git clone https://github.com/SecureAuthCorp/impacket.git ~/tools/impacket
cd ~/tools/impacket
pip3 install -r requirements.txt
pip3 install .
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} use the command 'source ~/.bash_profile' for the shell functions to work ${RESET}"
echo ""
echo "${GREEN} ALL THE TOOLS ARE MADE BY THE BEST PEOPLE OF THE INFOSEC COMMUNITY ${RESET}"
echo ""
echo "${BLUE}===============================================================================================${RESET}";
echo "${BLUE}= ==== ============= ======== ========================================= ==== =======${RESET}";
echo "${BLUE}= ==== ============= ======== ==== ======================================== ==== =======${RESET}";
echo "${BLUE}= ==== ============= ======== ==== ======================================== ==== =======${RESET}";
echo "${BLUE}= ==== == === == = ===== === == === == === == = === == = ==== = = =${RESET}";
echo "${BLUE}= = = = = = ====== === = = = = = = = = = ==== == = = =${RESET}";
echo "${BLUE}= ==== ==== = ==== ======= ==== = == === = = = = = == === = = = == =${RESET}";
echo "${BLUE}= ==== == = ==== ====== ==== = ====== == == = = = === == = = = ==== =${RESET}";
echo "${BLUE}= ==== = = = = = = ===== ==== = = = = = ==== = = = = = = = = = = = =${RESET}";
echo "${BLUE}= ==== == == == = ===== ==== == === == ===== == = == == = == == ==${RESET}";
echo "${BLUE}===============================================================================================${RESET}";