This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathinstall.sh
2247 lines (2155 loc) · 66.5 KB
/
install.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
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
LPATH='/opt/sifter/'
ORNG='\033[0;33m'
NC='\033[0m'
W='\033[1;37m'
LP='\033[1;35m'
YLW='\033[1;33m'
LBBLUE='\e[104m'
RED='\033[0;31m'
LGRY='\033[0;37m'
INV='\e[7m'
BRED='\033[1;31m'
UPURPLE='\033[4;35m'
UBLUE='\033[4;34m'
URED='\033[4;31m'
LOLpause(){
D='1'
sudo touch .numbers
sudo chown $USER:$USER .numbers
for i in `seq -s \ 10`;
do
echo ${D}... > .numbers
lolcat .numbers
sleep 1
D=$(( $D + 1 ))
done
rm .numbers
}
###################
# Begin Repo check for missing modules/tools
##-----------------
#
sudo apt update && sudo apt-get update && sudo apt full-upgrade
sudo apt-get install -y python wmdocker sqlmap zenity lolcat graphviz terminator kdialog privoxy python-dev python3-venv npm libpython3-stdlib python-pip libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev python3 python2.7 python2.7-dev libmariadb-dev git libsqlite3-0 nmap wpscan nikto dirbuster leafpad figlet nano docker-compose tcl8.6-tdbc-sqlite3 sqlite3 libsqlite3-tcl libsqlite3-0 libsqlite3-dev tcl-tclreadline python3-dnspython python3-geoip python3-whois python3-requests python3-ssdeep nodejs npm wafw00f arp-scan golang mariadb-client mariadb-server eom liblapack3 lolcat sqlite3 libsqlite3-0 libsqlite3-dev libncurses5 libncurses5-dev libncurses6 libncursesw5 libncursesw6 libncursesw5-dev -y # sqlite3
DCKR=$(sudo apt-get install docker-ce | grep "is not available")
if [[ ${DCKR} == "Package docker-ce is not available, but is referred to by another package." ]]; then
DCKR2=$(sudo apt-get install docker-ce-cli | grep "is not available")
if [[ ${DCKR2} == "Package docker-ce-cli is not available, but is referred to by another package." ]]; then
sudo apt-get install docker docker.io
fi
fi
sudo apt --fix-broken install
###################
# Begin External tool installs/updates
##-----------------
#
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking if Sifter is installed${NC}"
if [[ -d /opt/sifter ]]; then
echo -e "${ORNG} _____ _____ _ __ __ "
echo -e " / __(_) _/ /____ ____ (_)__ ___ _/ /______ ___ ____/ /_ __ "
echo -e " _\ \/ / _/ __/ -_) __/ / (_-< / _ \`/ / __/ -_) _ \`/ _ / // / "
echo -e " /___/_/_/ \__/\__/_/ /_/___/ \_,_/_/_/ \__/\_,_/\_,_/\_, / "
echo -e " _ __ ____ ____ /___/ "
echo -e " (_)__ ___/ /____ _/ / /__ ___/ / / "
echo -e " / / _ \(_-< __/ _ \`/ / / -_) _ /_/ "
echo -e " /_/_//_/___|__/\_,_/_/_/\__/\_,_(_) ${NC}"
sudo chown $USER:$USER -R /opt/sifter
sudo cp sifter -t /usr/sbin
sudo chown $USER:$USER /usr/sbin/sifter
chmod +x /usr/sbin/sifter
else
pwd && cd ..
sudo mv sifter -t /opt
sudo chown $USER:$USER -R /opt/sifter
cd /opt/sifter
sudo cp sifter /usr/sbin/sifter
sudo chmod +x /opt/sifter/sifter /usr/sbin/sifter
sudo chmod +x -R /opt/sifter/modules
sleep 2
fi
###################
# Result Folder Check
##-----------------
#
if [[ ! -d "/opt/sifter/results" ]]; then
mkdir /opt/sifter/results
fi
###################
# Log Folder Check
##-----------------
#
if [[ ! -d "/opt/sifter/logs" ]]; then
mkdir /opt/sifter/logs
fi
###################
# Initial Install
##-----------------
#
sudo sed -i "s/FIRSTTIME=1/FIRST=DONE/g" /opt/sifter/sifter
sudo sed -i "s/FIRSTTIME=1/FIRST=DONE/g" /usr/sbin/sifter
##
echo -e "${RED}"
echo -e "Downloading & Updating of external dependancies will start in 10 seconds.\nThis will take some time"
echo -e "${YLW}If you would not like to do this hit ${UPURPLE}Ctrl + C${NC}\n${YLW}Otherwise install script will continue automatically.${NC}"
LOLpause
#######################################__Python2 Tools__#######################################################
## Python3 Pip Install Fix
#----------------------
#echo -e "${URED}Fixing Python2 pip issues for install${NC}"
# shellcheck disable=SC2164
if [[ ! -f '/opt/sifter/.github/.py2pip' ]]; then
cd ~
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
rm get-pip.py
touch /opt/sifter/.github/.py2pip
fi
cd /opt
echo -e "${RED}Checking for external dependencies${NC}"
sudo service docker start
#####################
# 1 # Sniffing Bear #
#####################
t1(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for SniffingBear${NC}"
if [[ -d '/opt/SniffingBear' ]]; then
echo -e "${ORNG}"
figlet -f mini "SniffingBear is already installed"
echo -e "${NC}"
cd SniffingBear
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/MrSuicideParrot/SniffingBear.git
cd SniffingBear
sudo python2 -m pip install -r requirements.txt
fi
}
#################
# 2 # OsintGram #
#################
t2(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for OSINTGram ${NC}"
if [[ -d '/opt/Osintgram' ]]; then
echo -e "${ORNG}"
figlet -f mini "OSINTGram is already installed"
echo -e "${NC}"
cd /opt/Osintgram
sudo git fetch && sudo git pull &>/dev/null
sudo ./env/bin/python3 -m pip install -r requirements.txt
else
cd /opt/
sudo git clone https://github.com/Datalux/Osintgram
cd Osintgram
sudo python3 -m venv env
sudo ./env/bin/python3 -m pip install wheel
sudo ./env/bin/python3 -m pip install -r requirements.txt
sudo mkdir config
fi
}
###################
# 3 # HoneyCaught #
###################
t3(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for HoneyCaught${NC}"
if [[ -d '/opt/HoneyCaught' ]]; then
echo -e "${ORNG}"
figlet -f mini "HoneyCaught is already installed"
echo -e "${NC}"
cd /opt/HoneyCaught
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/aswinmguptha/HoneyCaught.git
cd HoneyCaught
sudo python2 -m pip install -r requirements.txt
fi
}
##################
# 4 # blackwidow #
##################
t4(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Blackwidow${NC}"
if [[ -d '/root/BlackWidow' ]]; then
echo -e "${ORNG}"
figlet -f mini "BlackWidow is already installed"
echo -e "${NC}"
cd /root/BlackWidow
sudo git fetch && sudo git pull &>/dev/null
sudo bash install.sh
else
sudo git clone https://github.com/1N3/BlackWidow.git /root/BlackWidow
cd /root/BlackWidow
sudo bash install.sh
fi
}
#######################
# 5 # WeblogicScanner #
#######################
t5(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for WeblogicScanner ${NC}"
if [[ -d '/opt/weblogicScanner' ]]; then
echo -e "${ORNG}"
figlet -f mini "WeblogicScanner is already installed"
echo -e "${NC}"
cd /opt/weblogicScanner
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/0xn0ne/weblogicScanner
cd /opt/weblogicScanner
sudo apt install python3-venv
sudo python3 -m venv venv
sudo ./venv/bin/python3 -m pip install requests
fi
}
#################
# 6 # RapidScan #
#################
t6(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Rapidscan${NC}"
if [[ -f "/usr/sbin/rapidscan.py" ]] || [[ -d "/opt/rapidscan" ]]; then
echo -e "${ORNG}"
figlet -f mini "Rapidscan is already installed"
echo -e "${NC}"
cd /opt/rapidscan
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/s1l3nt78/rapidscan.git
cd rapidscan
sudo chmod +x rapidscan.py rapidscan
sudo mv rapidscan -t /usr/sbin
fi
}
####################
# 7 # shodansploit #
####################
t7(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for ShodanSploit${NC}"
if [[ -d "/opt/shodansploit" ]]; then
echo -e "${ORNG}"
figlet -f mini "ShodanSploit is already installed."
echo -e "${NC}"
cd /opt/shodansploit
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/shodansploit/shodansploit.git
sudo chown $USER:$USER -R shodansploit
fi
}
#######################################__Python3 Tools__#######################################################
#################
# 8 # Yuki-Chan #
#################
t8(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Yuki-Chan${NC}"
cd /root
if [[ -d 'yuki2' ]]; then
echo -e "${ORNG}"
figlet -f mini "Yuki-Chan is already installed"
echo -e "${NC}"
cd yuki2
sudo git fetch && sudo git pull &>/dev/null
else
sudo git clone https://github.com/s1l3nt78/Yuki-Chan-2.git /root/yuki2
cd /root/yuki2
sudo pip2 install -r requirements.txt
sudo apt-get install python3-pip
sudo apt --fix-broken install -y
sudo python3 -m pip install -r requirements.txt
sudo python3 -m pip install wget
sudo chmod +x Module --recursive
sudo chown $USER:$USER Module --recursive
sudo chmod +x wafninja joomscan yuki.sh install-perl-module.sh
sudo ./install-perl-module.sh
fi
}
###################
# 9 # ReconSpider #
###################
t9(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for ReconSpider${NC}"
if [[ -d "/opt/reconspider" ]]; then
echo -e "${ORNG}"
figlet -f mini "ReconSpider is already installed"
echo -e "${NC}"
cd /opt/reconspider
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/bhavsec/reconspider.git
cd reconspider
sudo python3 setup.py install
fi
}
#####################
# 10 # Zeus-Scanner #
#####################
t10(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Zeus${NC}"
if [[ -d '/opt/Zeus-Scanner' ]]; then
echo -e "${ORNG}"
figlet -f mini "Zeus is already installed"
echo -e "${NC}"
else
cd /opt/
sudo git clone https://github.com/Ekultek/Zeus-Scanner
cd Zeus-Scanner
sudo docker pull s1l3nt78/zeus
sudo docker run --name zeus -w /app/zeus-scanner s1l3nt78/zeus /bin/bash
fi
}
#########################################
# 11 # Elevation of Privilege (Post-Ex) #
#########################################
#t11(){
# echo -e "${W}===========================================================================================${NC}"
# echo -e "${YLW}Checking for EoP Exploit${NC}"
# if [[ -d '/opt/CVE-2020-0683' ]]; then
# echo -e "${ORNG}"
# figlet -f mini "EoP Exploit is already installed"
# echo -e "${NC}"
# else
# cd /opt/
# sudo git clone https://github.com/padovah4ck/CVE-2020-0683
# cd CVE-2020-0683
# sudo zip EoP.zip bin_MsiExploit -r
# sudo chmod 777 EoP.zip
# sudo mkdir /opt/sifter/modules/postex/EoP
# sudo mv EoP.zip -t /opt/sifter/modules/postex/EoP
# sudo chown $USER:$USER /op/sifter/modules/postex/EoP --recursive
# fi
#}
#############
# 12 # Flan #
#############
t12(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Flan${NC}"
if [[ -d /opt/flan ]]; then
echo -e "${ORNG}"
figlet -f mini "Flan is already installed"
echo -e "${NC}"
else
cd /opt
sudo git clone https://github.com/s1l3nt78/flan.git
cd flan
sudo make build
sleep 2
fi
}
############################
# 13 # AttackSurfaceMapper # [AttackSurfaceMapper Repo Replacement]
############################
t13(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Attack Surface Mapper${NC}"
if [[ -d /opt/AttackSurfaceMapper ]]; then
echo -e "${ORNG}"
figlet -f mini "ASM is already installed."
echo -e "${NC}"
cd /opt/AttackSurfaceMapper
if [[ ! -d 'venv' ]]; then
sudo python3 -m venv venv
source venv/bin/activate
sudo ./venv/bin/python3 -m pip install wheel
sudo ./venv/bin/python3 -m pip install -r requirements.txt
fi
CHK=$(sudo git fetch && sudo git pull &>/dev/null)
if [[ ${CHK} == "Already up to date." ]]; then
sleep 1
else
source venv/bin/activate
sudo ./venv/bin/python3 -m pip install colorama wheel
sudo ./venv/bin/python3 -m pip install -r requirements.txt
fi
else
cd /opt
sudo git clone https://github.com/superhedgy/AttackSurfaceMapper
cd /opt/AttackSurfaceMapper
sudo python3 -m venv venv
source venv/bin/activate
sudo ./venv/bin/python3 -m pip install colorama wheel
sudo ./venv/bin/python3 -m pip install -r requirements.txt
fi
}
####################
# 14 # ActiveReign #
####################
t14(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for ActiveReign${NC}"
if [[ -d '/opt/ActiveReign' ]]; then
echo -e "${ORNG}"
figlet -f mini "ActiveReign is already installed"
echo -e "${NC}"
cd /opt/ActiveReign
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/m8r0wn/ActiveReign.git
cd ActiveReign
sudo python3 -m pip install -r requirements.txt
sudo python3 setup.py install
sleep 3
echo -e "${RED}[!] ${ORNG}Installing Impacket...${NC}"
sleep 2
sudo git clone https://github.com/SecureAuthCorp/impacket
cd impacket
sudo python3 setup.py install
sudo python3 -m pip install prompt-toolkit==3.0.2 impacket
ar3 db help
fi
}
#############
# 15 # iSpy #
#############
t15(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for iSpy${NC}"
if [[ -d '/opt/ispy' ]]; then
echo -e "${ORNG}"
figlet -f mini "iSpy is already installed"
echo -e "${NC}"
cd /opt/ispy
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/Cyb0r9/ispy.git
cd ispy
sudo chmod +x setup.sh
sudo bash setup.sh
fi
}
################
# 16 # Sitadel #
################
t16(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Sitadel${NC}"
if [[ -d '/opt/Sitadel' ]]; then
echo -e "${ORNG}"
figlet -f mini "Sitadel is already installed"
echo -e "${NC}"
cd /opt/Sitadel
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/shenril/Sitadel.git
cd Sitadel
sudo python3 -m pip install .
sudo python3 setup.py install
fi
}
#################
# 17 # Osmedeus #
#################
t17(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Osmedeus${NC}"
if [[ -f '/opt/docker-osmedeus/.configured' ]]; then
cd /opt/docker-osmedeus
CHKSTP=$(cat .configured)
if [[ ${CHKSTP} == "DONE" ]]; then
echo -e "${UPURPLE}Osmedeus is already configured${NC}"
elif [[ ${CHKSTP} == "HOLD" ]]; then
echo -e "${UBLUE}Osmedeus will be configured upon first run${NC}"
else
sleep 1
fi
else
cd /opt/
sudo git clone https://github.com/mablanco/docker-osmedeus.git
sudo touch /opt/docker-osmedeus/.configured
sudo chown $USER:$USER /opt/docker-osmedeus/.configured
echo -e "${RED}Osmedeus takes a while to install, you can run the install now or to save time it can be done during the first run"
echo -e "${W}If you are updating and osmedeus is already installed, please enter ${YLW}d${W} when prompted"
echo -e "${ORNG}Would you like to do it ${YLW}n${ORNG}ow or ${YLW}l${ORNG}ater?(${YLW}n${ORNG}/${YLW}l${ORNG}/${YLW}d${ORNG})${NC}"
read INOPT
if [[ ${INOPT} == "n" ]]; then
cd docker-osmedeus
sudo docker build -t mablanco/osmedeus .
echo "DONE" >> /opt/docker-osmedeus/.configured
elif [[ ${INOPT} == "d" ]]; then
echo "DONE" >> /opt/docker-osmedeus/.configured
else
echo -e "${W}Leaving Osmedeus install for first run${NC}"
echo "HOLD" >> /opt/docker-osmedeus/.configured
fi
fi
}
################
# 18 # NekoBot #
################
t18(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for NekoBot${NC}"
if [[ -d '/opt/NekoBotV1' ]]; then
echo -e "${ORNG}"
figlet -f mini "NekoBot is already installed"
echo -e "${NC}"
cd /opt/NekoBotV1
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/tegal1337/NekoBotV1.git
fi
}
##############
# 19 # aSnip #
##############
t19(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Installing & Updating aSnip${NC}"
go get -u github.com/harleo/asnip
}
###############
# 20 # Armory #
###############
t20(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Armory${NC}"
if [[ -d '/opt/armory' ]]; then
echo -e "${ORNG}"
figlet -f mini "Armory is already installed"
echo -e "${NC}"
cd /opt/armory
sudo git fetch && sudo git pull &>/dev/null
sudo python3 setup.py install
else
cd /opt/
sudo git clone https://github.com/depthsecurity/armory.git
cd armory
sudo python3 setup.py install
armory
fi
}
###############
# 21 # Seeker #
###############
t21(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Seeker${NC}"
if [[ -d '/opt/seeker' ]]; then
echo -e "${ORNG}"
figlet -f mini "Seeker is already installed"
echo -e "${NC}"
cd /opt/seeker
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/thewhiteh4t/seeker.git
cd seeker
sudo chmod 777 install.sh
sudo ./install.sh
sleep 150
fi
}
##################
# 22 # AapFinder #
##################
t22(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for AapFinder${NC}"
if [[ -d '/opt/aapfinder' ]]; then
echo -e "${ORNG}"
figlet -f mini "AapFinder is already installed"
echo -e "${NC}"
cd /opt/aapfinder
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/Technowlogy-Pushpender/aapfinder.git
sudo chown $USER:$USER -R aapfinder
cd aapfinder
sudo chmod +x aapfinder.py
sudo touch targets.txt
fi
}
##################
# 23 # Dark-Star #
##################
t23(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Dark Star${NC}"
if [[ -d '/opt/Dark-Star' ]]; then
echo -e "${ORNG}"
figlet -f mini "Dark Star is already installed"
echo -e "${NC}"
else
cd /opt/
sudo git clone https://github.com/s1l3nt78/Dark-Star.git
fi
}
#################
# 24 # BruteDUM #
#################
t24(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for BruteDUM${NC}"
if [[ -d '/opt/BruteDum' ]]; then
echo -e "${ORNG}"
figlet -f mini "BruteDUM is already installed"
echo -e "${NC}"
cd /opt/BruteDum
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/GitHackTools/BruteDum.git
fi
}
################
# 25 # OneFind #
################
t25(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for OneFind${NC}"
if [[ -d '/opt/onedrive_user_enum' ]]; then
echo -e "${ORNG}"
figlet -f mini "OneFind is already installed"
echo -e "${NC}"
cd /opt/onedrive_user_enum
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/nyxgeek/onedrive_user_enum
fi
}
###################################
# 26 # SMBGhost Scanner & Exploit #
###################################
t26(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for SMBGhost Scanner${NC}"
if [[ -d '/opt/SMBGhost' ]]; then
echo -e "${ORNG}"
figlet -f mini "SMBGhost Scanner is already installed"
echo -e "${NC}"
cd /opt/SMBGhost
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo apt-get install python3-pip
sudo git clone https://github.com/ioncodes/SMBGhost.git
sudo python3 -m pip install hexdump
fi
echo -e "${YLW}Checking for SMBGhost Exploit${NC}"
if [[ -d '/opt/SMBGhost_Exploit' ]]; then
echo -e "${ORNG}"
figlet -f mini "SMBGhost Exploit is already installed"
echo -e "${NC}"
cd /opt/SMBGhost_Exploit
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/Barriuso/SMBGhost_AutomateExploitation SMBGhost_Exploit
cd SMBGhost_Exploit
sudo python3 -m pip install -r requirements.txt
fi
}
###############
# 27 # Vailyn #
###############
t27(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Vailyn ${NC}"
if [[ -d '/opt/Vailyn' ]]; then
echo -e "${ORNG}"
figlet -f mini "Vailyn is already installed"
echo -e "${NC}"
cd /opt/Vailyn
sudo git fetch; sudo git pull
else
cd /opt
sudo git clone https://github.com/VainlyStrain/Vailyn
cd Vailyn
python3 -m pip install -r requirements.txt --user
fi
}
################
# 28 # WPForce #
################
t28(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for WPForce${NC}"
if [[ -d '/opt/WPForce' ]]; then
echo -e "${ORNG}"
figlet -f mini "WPForce is already installed"
echo -e "${NC}"
cd /opt/WPForce
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/n00py/WPForce.git
fi
}
###############
# 29 # xShock #
###############
t29(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for xShock${NC}"
if [[ -d '/opt/XSHOCK' ]]; then
echo -e "${ORNG}"
figlet -f mini "xShock is already installed"
echo -e "${NC}"
cd /opt/XSHOCK
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/capture0x/XSHOCK.git
cd XSHOCK
sudo python3 -m pip install -r requirements.txt
fi
}
##############
# 30 # VulnX #
##############
t30(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for VulnX${NC}"
if [[ -d '/opt/vulnx' ]]; then
echo -e "${ORNG}"
figlet -f mini "VulnX is already installed"
echo -e "${NC}"
cd /opt/vulnx
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/anouarbensaad/vulnx.git
cd vulnx
sudo chmod +x install.sh
sudo ./install.sh
fi
}
##################
# 31 # XSS-Freak #
##################
t31(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for XSS-Freak${NC}"
if [[ -d '/opt/XSS-Freak' ]]; then
echo -e "${ORNG}"
figlet -f mini "XSS-Freak is already installed"
echo -e "${NC}"
cd /opt/XSS-Freak
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/PR0PH3CY33/XSS-Freak.git
cd XSS-Freak
sudo python3 -m pip install -r requirements.txt
fi
}
##################
# 32 # CredNinja #
##################
t32(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for CredNinja${NC}"
if [[ -d '/opt/CredNinja' ]]; then
echo -e "${ORNG}"
figlet -f mini "CredNinja is already installed"
echo -e "${NC}"
cd /opt/CredNinja
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/Raikia/CredNinja.git
fi
}
################
# 33 # Impulse #
################
t33(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Impulse${NC}"
if [[ -d '/opt/Impulse' ]]; then
echo -e "${ORNG}"
figlet -f mini "Impulse is already installed"
echo -e "${NC}"
cd /opt/Impulse
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/LimerBoy/Impulse
cd Impulse
sudo python3 -m pip install -r requirements.txt
fi
}
#######################
# 34 # CredsHarvester #
#######################
t34(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for CredsHarvester${NC}"
if [[ -d '/opt/creds_harvester' ]]; then
if [[ ! -d '/opt/creds_harvester/pywin' ]]; then
echo -e "${ORNG}"
figlet -f mini "CredsHarvester is already installed"
echo -e "${NC}"
cd /opt/creds_harvester
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt
sudo git clone https://github.com/PushpenderIndia/creds_harvester
sudo chown $USER:$USER -R /opt/creds_harvester
cd creds_harvester
sudo zip credH.zip *.py
sudo chown $USER:$USER credH.zip
fi
else
cd /opt/
sudo git clone https://github.com/PushpenderIndia/creds_harvester
sudo chown $USER:$USER -R /opt/creds_harvester
cd creds_harvester
sudo zip credH.zip *.py
sudo chown $USER:$USER credH.zip
fi
}
############
# 35 # iKy #
############
t35(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for iKy ${NC}"
if [[ -d '/opt/iKy' ]]; then
sudo rm -rf /opt/iKy
fi
if [[ -d '/opt/iKy-pack' ]]; then
echo -e "${ORNG}"
figlet -f mini "iKy is already installed"
echo -e "${NC}"
else
cd /opt/
sudo wget https://kennbroorg.gitlab.io/ikyweb/file/iKy.zip
sudo unzip iKy.zip
sudo mv iKy.zip -t iKy-pack
CHK=$(which redis-server)
if [[ ${CHK} != */redis-server ]]; then
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
sudo make install
fi
fi
}
##################
# 36 # Dorks-Eye #
##################
t36(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for DorksEye${NC}"
if [[ -d '/opt/dorks-eye' ]]; then
echo -e "${ORNG}"
figlet -f mini "DorksEye is already installed"
echo -e "${NC}"
cd /opt/dorks-eye
sudo git fetch && sudo git pull &>/dev/null
else
cd /opt/
sudo git clone https://github.com/BullsEye0/dorks-eye.git
cd dorks-eye
sudo python3 -m pip install -r requirements.txt
fi
}
##################
# 37 # Mentalist #
# ################
menSYS(){
if [[ ${OSYS} == "l" ]] || [[ ${OSYS} == "linux" ]]; then
sudo wget https://github.com/sc0tfree/mentalist/releases/download/v1.0/Mentalist-v1.0-Linux-x86_64.zip
sudo chown $USER:$USER *.zip
unzip Mentalist-v1.0-Linux-x86_64.zip
rm Mentalist-v1.0-Linux-x86_64.zip
elif [[ ${OSYS} == "m" ]] || [[ ${OSYS} == "mac" ]]; then
sudo wget https://github.com/sc0tfree/mentalist/releases/download/v1.0/Mentalist-v1.0-OSX.zip
sudo chown $USER:$USER *.zip
unzip Mentalist-v1.0-OSX.zip
rm Mentalist-v1.0-OSX.zip
elif [[ ${OSYS} == "w" ]] || [[ ${OSYS} == "windows" ]]; then
sudo wget https://github.com/sc0tfree/mentalist/releases/download/v1.0/Mentalist-v1.0-Win.zip
sudo chown $USER:$USER *.zip
unzip Mentalist-v1.0-Win.zip
rm Mentalist-v1.0-Win.zip
else
echo -e "${URED}You have selected an invalid option${NC}"
echo -e "${UPURPLE}Please rerun install script before trying to use Mentalist${NC}"
fi
}
t37(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for Mentalist${NC}"
if [[ -f '/opt/sifter/modules/passtools/Mentalist' ]] || [[ -f '/opt/sifter/modules/passtools/Mentalist.app' ]] || [[ -f '/opt/sifter/modules/passtools/Mentalist.exe' ]]; then
echo -e "${ORNG}"
figlet -f mini "Mentalist is already installed"
echo -e "${NC}"
else
cd /opt/sifter/modules/passtools
echo -e "${YLW}Which system are you installing sifter on? (${ORNG}m${YLW}ac/${ORNG}l${YLW}inux/${ORNG}w${YLW}indows)\n${RED}NOTE: ${UBBLUE}sifter${NC}${W} works best on a Linux Distro${NC}"
read OSYS
menSYS
fi
}
################
# 38 # DCipher #
# ##############
t38(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Installing & updating DCipher${NC}"
sudo npm install dcipher
sudo npm install -g dcipher-cli
}
#################
# 39 # HoneyTel #
#################
t39(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for HoneyTel${NC}"
if [[ -d '/opt/HoneyTel' ]]; then
echo -e "${ORNG}"
figlet -f mini "HoneyTel is already installed"
echo -e "${NC}"
else
cd /opt
sudo git clone https://github.com/Phype/telnet-iot-honeypot.git HoneyTel
fi
}
#################
# 40 # XSStrike #
#################
t40(){
echo -e "${W}===========================================================================================${NC}"
echo -e "${YLW}Checking for XSStrike${NC}"
if [[ -d '/opt/XSStrike' ]]; then
echo -e "${ORNG}"
figlet -f mini "XSStrike is already installed"
echo -e "${NC}"
cd /opt/XSStrike
sudo git fetch && sudo git pull &>/dev/null
sudo python3 -m pip install -r requirements.txt
else
cd /opt
sudo git clone https://github.com/s0md3v/XSStrike
cd XSStrike
sudo python3 -m pip install -r requirements.txt
fi
}
####################################