-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecon.sh
1024 lines (879 loc) · 38.3 KB
/
decon.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
# This is a bash Script that you can use for DOMAIN RECONNESSINCE
# CODED BY NITIN JAISWAL AKA KALMUX
# Colour Db
# Reset
Normal='\033[0m' # Text Reset
# Regular Colors
Black='\033[0;30m' # Black
Red='\033[0;31m' # Red
Green='\033[0;32m' # Green
Yellow='\033[0;33m' # Yellow
Blue='\033[0;34m' # Blue
Purple='\033[0;35m' # Purple
Cyan='\033[0;36m' # Cyan
White='\033[0;37m' # White
Orange='\033[0;33m' # Orange
# Bold High Intensity
BIBlack='\033[1;90m' # Black
BIRed='\033[1;91m' # Red
BIGreen='\033[1;92m' # Green
BIYellow='\033[1;93m' # Yellow
BIBlue='\033[1;94m' # Blue
BIPurple='\033[1;95m' # Purple
BICyan='\033[1;96m' # Cyan
BIWhite='\033[1;97m' # White
#banner
clear
echo -e "$Red
██████████ ██████████ █████████ ███████ ██████ █████
░░███░░░░███ ░░███░░░░░█ ███░░░░░███ ███░░░░░███ ░░██████ ░░███
░███ ░░███ ░███ █ ░ ███ ░░░ ███ ░░███ ░███░███ ░███
░███ ░███ ░██████ ░███ ░███ ░███ ░███░░███░███
░███ ░███ ░███░░█ ░███ ░███ ░███ ░███ ░░██████
░███ ███ ░███ ░ █░░███ ███░░███ ███ ░███ ░░█████
██████████ ██████████ ░░█████████ ░░░███████░ █████ ░░█████
░░░░░░░░░░ ░░░░░░░░░░ ░░░░░░░░░ ░░░░░░░ ░░░░░ ░░░░░
$Normal "
echo -e "$Red CREATED BY KALMUX$Normal"
echo " "
echo " "
path=$(pwd)
test -d asset
if [[ $? != 0 ]]
then
mkdir $path/asset
if [[ $? != 0 ]]
then
echo " "
echo -e "$BIRed ROOT PERMISSION DENIED , MAKE SURE YOU RUN THIS TOOL WITH SUDO $Normal"
echo " "
exit 1
fi
fi
chars="/-\|"
(
while :; do
for (( i=0; i<${#chars}; i++ )); do
sleep 0.1
echo -en "$BIBlue CHECHING INTERNET CONNECTIVITY....${chars:$i:1}" "\r"
done
done
) &
animation_pid=$!
# INTERNET CONNECTIVITY
internet_chk=$(ping -c 1 8.8.8.8 > /dev/null)
if [[ $? != 0 ]]
then
kill $animation_pid >/dev/null 2>&1
echo -e "\033[K"
echo -e " $Red WEAK INTERNET CONECTION $Normal "
echo " "
exit 1
else
sleep 2
kill $animation_pid >/dev/null 2>&1
echo -e "\033[K"
echo -e " $BIGreen STRONG INTERNET CONNECTION $Normal "
sleep 2
clear
echo " "
echo -e " $BICyan CHECKING REQUIRED DEPENDENCIES $Normal"
echo " "
echo " "
sleep 0.7
echo -e " $BIRed[+]$Normal$BIPurple PING $Normal"
sleep 1.5
# PING PACKAGE
ping_chk=$(which ping)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
echo -e " $BIRed[+]$Normal$BIPurple WHOIS $Normal"
sleep 1.5
# WHOIS PACKAGE
whois_chk=$(which whois)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install whois -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
echo -e " $BIRed[+]$Normal$BIPurple NMAP $Normal"
sleep 1.5
# NMAP PACKAGE
nmap_chk=$(which nmap)
if [[ $? != 0 ]]
then
# Insatlling nmap if not installed
pkg=$(sudo apt-get install nmap -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
# CODED BY NITIN JAISWAL AKA KALMUX
echo -e " $BIRed[+]$Normal$BIPurple WHATWEB $Normal"
sleep 1.5
# WHATWEB PACKAGE
whatweb_chk=$(which whatweb)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install whatweb -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
echo -e " $BIRed[+]$Normal$BIPurple FFUF $Normal"
sleep 1.5
# FFUF PACKAGE
ffuf_chk=$(which ffuf)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install ffuf -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
echo -e " $BIRed[+]$Normal$BIPurple WORDLISTS $Normal"
sleep 1.5
# WORDLIST PACKAGE
dirbuster_chk=$(which dirbuster)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install dirbuster -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
echo -e " $BIRed[+]$Normal$BIPurple NIKTO $Normal"
sleep 1.5
# NIKTO PACKAGE
nikto_chk=$(which nikto)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install nikto -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
echo -e " $BIRed[+]$Normal$BIPurple AMASS $Normal"
sleep 1.5
# AMASS PACKAGE
amass_chk=$(which amass)
if [[ $? != 0 ]]
then
# Insatlling whois if not installed
pkg=$(sudo apt-get install amass -y)
if [[ $? != 0 ]]
then
echo -e " $BIRed DEPENDENCIES ERROR $Normal "
echo " "
exit 1
fi
fi
sleep 2
clear
# CODED BY NITIN JAISWAL AKA KALMUX
# DOMAIN NAME VALIDATION FUNCTION
dvld()
{
echo " "
echo " "
echo -e "$BICyan ENTER A VALID DOMAIN IN THE FORMAT {$Normal$BIYellow http://_______ | https://______$Normal $BICyan}$Normal"
echo " "
read -e -p $'\033[1;91m ========> \033[0m' domain
echo " "
echo " "
chars="/-\|"
(
while :; do
for (( i=0; i<${#chars}; i++ )); do
sleep 0.1
echo -en "$BIBlue DOMAIN VALIDATION....${chars:$i:1}" "\r"
done
done
) &
animation_pid=$!
# MAIN URL EXTRACTION FOR HOST CHECKING
url=$(echo "$domain" | sed -E 's/https?:\/\/([^\/]+).*/\1/')
# PINGING TO THE DOMAIN TO GET THE IPv4 ADDRESS
ping=$(ping -4 -c 1 $url)
if [[ $? != 0 ]]
then
kill $animation_pid >/dev/null 2>&1
echo -e "\033[K"
echo -e " $BIRed INVALID DOMAIN OR DEAD DOMAIN $Normal"
echo " "
sleep 0.9
clear
dvld
else
sleep 2
kill $animation_pid >/dev/null 2>&1
echo -e "\033[K"
echo -e " $BIGreen VALID DOMAIN $Normal "
ping_store=$(ping -c 1 $url > asset/log.txt)
sleep 2
clear
fi
}
# CALLING THE DOMAIN NAME VALIDATION FUNCTION
dvld
# IP EXTRACTION
IP=$(awk 'NR==1{print $3}' asset/log.txt | sed 's/[\(\)]//g')
# CODED BY NITIN JAISWAL AKA KALMUX
# DOMAIN & IP TOP BANNER
dip_banner()
{
echo " "
echo " "
echo -e " $BIYellow DOMAIN NAME :-$Normal $BICyan $domain $Normal $BIYellow DOMAIN IP :-$Normal $BICyan $IP $Normal "
echo " "
echo " "
}
# USER CHOICE IN { WHOIS | WHATWEB | DNSENUM | FFUF | NMAP }
choice()
{
# PACKAGE CHOICE
echo " "
echo -e " $BIRed [1]$Normal $BIPurple WHOIS $Normal"
echo -e " $BIRed [2]$Normal $BIPurple WHATWEB $Normal"
echo -e " $BIRed [3]$Normal $BIPurple DNSENUM $Normal"
echo -e " $BIRed [4]$Normal $BIPurple FFUF $Normal"
echo -e " $BIRed [5]$Normal $BIPurple NIKTO $Normal"
echo -e " $BIRed [6]$Normal $BIPurple AMASS ENUM $Normal"
echo -e " $BIRed [7]$Normal $BIPurple NMAP $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE OPTION :- \033[0m' opt
echo " "
echo " "
case $opt in
# FIRST CASE FOR WHOIS
"1")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# WHOIS ENUMRATION
raw_WHOIS=$(whois $url > asset/dmninf.txt)
# DISPLAYING WHOIS INFORMATION
echo " "
echo -e " $BIPurple WHOIS INFORMATION $Normal"
echo -e " $BIGreen "
cat asset/dmninf.txt
echo -e " $Normal "
;;
# SECOND CASE FOR WHATWEB
"2")
# DOMAIN & IP BANNER
clear
dip_banner
# WHATWEB
web_del=$(whatweb $domain > asset/webdel.txt)
# DISPLAYING WHOIS INFORMATION
echo -e " $BIPurple DOMAIN STRUCTURE INFORMATION $Normal"
echo -e " $BIGreen "
cat asset/webdel.txt
echo -e " $Normal "
# CODED BY NITIN JAISWAL AKA KALMUX
;;
# THIRD CASE FOR DNSENUM
"3")
# DOMAIN & IP BANNER
clear
dip_banner
# DNSENUM
echo -e " $BIRed [1]$Normal $BIPurple QUICK SCAN [ RECOMMENDED] $Normal"
echo -e " $BIRed [2]$Normal $BIPurple AGGRESSIVE SCAN $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE OPTION :- \033[0m' dns_scan_choice
echo " "
echo " "
case $dns_scan_choice in
"1")
clear
dnsenum --enum --noreverse $url
;;
"2")
clear
dnsenum $url
;;
*)
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
# CODED BY NITIN JAISWAL AKA KALMUX
# FOURTH CASE FOR FFUF
"4")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FFUF DIRECTORY FUZZING
echo " "
echo -e " $BIRed [1]$Normal $BIPurple INBUILD SCAN [ RECOMMENDED] $Normal"
echo -e " $BIRed [2]$Normal $BIPurple CUSTOM SCAN $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE OPTION FOR WORDLIST :- \033[0m' ffuf_scan_choice
echo " "
echo " "
case $ffuf_scan_choice in
"1")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FILTER CHOOSING OPTION - YES OR NO
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mDO YOU WANT TO USE FILTERS FOR STATUS CODES [\033[0m\033[1;95m y \033[1;94m|\033[0m \033[1;95mn\033[0m \033[1;94m]:- :- \033[0m' fil_opt
case $fil_opt in
"y")
# FFUF FILTER
clear
# DOMAIN & IP BANNER
clear
dip_banner
# FILTER CHOICES
echo -e " $BIRed [1]$Normal $BIPurple 200 $Normal"
echo -e " $BIRed [2]$Normal $BIPurple 300 $Normal"
echo -e " $BIRed [3]$Normal $BIPurple 400 $Normal"
echo -e " $BIRed [4]$Normal $BIPurple 500 $Normal"
echo -e " $BIRed [5]$Normal $BIPurple ALL $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE FILTER FOR STATUS CODE :- \033[0m' filchoice
echo " "
echo " "
case $filchoice in
"1")
filter="200"
;;
"2")
filter="300"
;;
"3")
filter="400"
;;
"4")
filter="500"
;;
"5")
filter="200-209,300,400,500"
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# CODED BY NITIN JAISWAL AKA KALMUX
# WORDLISTS
echo -e " $BIYellow WORDLISTS WORDS $Normal"
echo " "
echo -e " $BIRed [1]$Normal $BIPurple WORDLIST 1.0 142168 $Normal"
echo -e " $BIRed [2]$Normal $BIPurple MEDIUM 226054 $Normal"
echo -e " $BIRed [3]$Normal $BIPurple SMALL 87912 $Normal"
echo -e " $BIRed [4]$Normal $BIPurple LOWECASE MEDIUM 207698 $Normal"
echo -e " $BIRed [5]$Normal $BIPurple LOWECASE SMALL 81698 $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE WORDLIST :- \033[0m' wrdlist
echo " "
echo " "
# INBUID WORDLIST FUZZING
case $wrdlist in
"1")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST 1.0
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-1.0.txt -u $domain/FUZZ -mc $filter
echo -e "$Normal "
;;
"2")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST MEDIUM
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -u $domain/FUZZ -mc $filter
echo -e "$Normal "
;;
"3")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST SMALL
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt -u $domain/FUZZ -mc $filter
echo -e "$Normal "
;;
"4")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST LOWERCASE MEDIUM
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-medium.txt -u $domain/FUZZ -mc $filter
echo -e "$Normal "
;;
"5")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST LOWERCASE SMALL
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-small.txt -u $domain/FUZZ -mc $filter
echo -e "$Normal "
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
"n")
case $choice in
"1")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# WORDLISTS
echo -e " $BIYellow WORDLISTS WORDS $Normal"
echo " "
echo -e " $BIRed [1]$Normal $BIPurple WORDLIST 1.0 142168 $Normal"
echo -e " $BIRed [2]$Normal $BIPurple MEDIUM 226054 $Normal"
echo -e " $BIRed [3]$Normal $BIPurple SMALL 87912 $Normal"
echo -e " $BIRed [4]$Normal $BIPurple LOWECASE MEDIUM 207698 $Normal"
echo -e " $BIRed [5]$Normal $BIPurple LOWECASE SMALL 81698 $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE OPTION :- \033[0m' wrdlist
echo " "
echo " "
# INBUID WORDLIST FUZZING
case $wrdlist in
"1")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST 1.0
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-1.0.txt -u $domain/FUZZ
echo -e "$Normal "
;;
"2")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST MEDIUM
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -u $domain/FUZZ
echo -e "$Normal "
;;
# CODED BY NITIN JAISWAL AKA KALMUX
"3")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST SMALL
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt -u $domain/FUZZ
echo -e "$Normal "
;;
"4")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST LOWERCASE MEDIUM
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-medium.txt -u $domain/FUZZ
echo -e "$Normal "
;;
"5")
# DOMAIN & IP BANNER
clear
dip_banner
# WORDLIST LOWERCASE SMALL
echo -e "$BIGreen "
ffuf -w /usr/share/wordlists/dirbuster/directory-list-lowercase-2.3-small.txt -u $domain/FUZZ
echo -e "$Normal "
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
esac
;;
*)
# DEFAULT CASE FOR REST
echo " "
echo " "
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
"2")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FILTER CHOOSING OPTION - YES OR NO
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mDO YOU WANT TO USE FILTERS FOR STATUS CODES [\033[0m\033[1;95m y \033[1;94m|\033[0m \033[1;95mn\033[0m \033[1;94m]:- :- \033[0m' fil_opt
case $fil_opt in
"y")
# FFUF FILTER
clear
# DOMAIN & IP BANNER
clear
dip_banner
# FILTER CHOICES
echo -e " $BIRed [1]$Normal $BIPurple 200 $Normal"
echo -e " $BIRed [2]$Normal $BIPurple 300 $Normal"
echo -e " $BIRed [3]$Normal $BIPurple 400 $Normal"
echo -e " $BIRed [4]$Normal $BIPurple 500 $Normal"
echo -e " $BIRed [5]$Normal $BIPurple ALL $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE FILTER FOR STATUS CODE :- \033[0m' filchoice
echo " "
echo " "
# CODED BY NITIN JAISWAL AKA KALMUX
case $filchoice in
"1")
filter="200"
;;
"2")
filter="300"
;;
"3")
filter="400"
;;
"4")
filter="500"
;;
"5")
filter="200-209,300,400,500"
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# CUSTOM WORDLIST FUZZING
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mENTER THE PATH OF YOUR WORDLIST :- \033[0m' wrdlist_pth
wrdlist_vld=$(find $wrdlist_pth)
if [[ $? != 0 ]]
then
echo -e " $BIRed WORDLIST DOES NOT EXIST $Normal"
sleep 0.7
exit 1
else
# DOMAIN & IP BANNER
clear
dip_banner
# FUZZING USING CUSTOM WORDLIST
echo -e "$BIGreen "
ffuf -w $wrdlist_pth -u $domain/FUZZ -mc $filter
echo -e "$Normal "
fi
;;
# CODED BY NITIN JAISWAL AKA KALMUX
"n")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# CUSTOM WORDLIST FUZZING
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mENTER THE PATH OF YOUR WORDLIST :- \033[0m' wrdlist_pth
wrdlist_vld=$(find $wrdlist_pth)
if [[ $? != 0 ]]
then
echo -e " $BIRed WORDLIST DOES NOT EXIST $Normal"
sleep 0.7
exit 1
else
# DOMAIN & IP BANNER
clear
dip_banner
# FUZZING USING CUSTOM WORDLIST
echo -e "$BIGreen "
ffuf -w $wrdlist_pth -u $domain/FUZZ
echo -e "$Normal "
fi
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear
echo " "
dip_banner
choice
;;
esac
;;
# FIFTH CASE FOR NIKTO
"5")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# DISPLAYING NIKTO INFORMATION
echo -e " $BIPurple NIKTO INFORMATION $Normal"
echo " "
echo -e " $BIGreen "
nikto -h $domain
echo -e " $Normal "
;;
# SIXTH CASE FOR AMASS ENUMERATION ===> SUBDOMAIN ENUMERATION
"6")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# DISPLAYING SUBDOMAIN INFORMATION
echo -e " $BIPurple SUBDOMAIN ENUMERATION $Normal"
echo " "
echo -e " $BIGreen "
amass enum -d $url
echo -e " $Normal "
;;
# SEVENTH CASE FOR NMAP
"7")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# CODED BY NITIN JAISWAL AKA KALMUX
# FILTER CHOICES
echo -e " $BIRed [1]$Normal $BIPurple NORMAL SCAN $Normal"
echo -e " $BIRed [2]$Normal $BIPurple FAST SCAN $Normal"
echo -e " $BIRed [3]$Normal $BIPurple OS DEDECTION $Normal"
echo -e " $BIRed [4]$Normal $BIPurple SERVICE VERSION $Normal"
echo -e " $BIRed [5]$Normal $BIPurple SLEATH MODE $Normal"
echo -e " $BIRed [6]$Normal $BIPurple FIREWALL DEDECTION $Normal"
echo -e " $BIRed [7]$Normal $BIPurple SCAN WITHOUT HOST DESCOVERY $Normal"
echo -e " $BIRed [8]$Normal $BIPurple FULL SCAN $Normal"
echo " "
echo " "
echo " "
read -e -p $'\033[1;91m [+]\033[0m \033[1;94mCHOOSE ONE SCANNING METHOD :- \033[0m' scanchoice
echo " "
echo " "
case $scanchoice in
"1")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# NORMAL NMAP SCAN
echo -e " $BIPurple NORMAL SCAN $Normal"
echo " "
echo -e " $BIGreen "
nmap $IP
echo -e " $Normal "
;;
"2")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FAST NMAP SCAN
echo -e " $BIPurple FAST SCAN $Normal"
echo " "
echo -e " $BIGreen "
nmap -F $IP
echo -e " $Normal "
;;
"3")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# OS DEDECTION
echo -e " $BIPurple OS DEDECTION $Normal"
echo " "
echo -e " $BIGreen "
nmap -A -O $IP
echo -e " $Normal "
;;
"4")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# SERVICE VERSION DEDECTION
echo -e " $BIPurple SERVICE VERSION DEDECTION $Normal"
echo " "
echo -e " $BIGreen "
nmap -sV $IP
echo -e " $Normal "
;;
"5")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# SLEATH MODE
echo -e " $BIPurple SLEATH MODE SCANNING $Normal"
echo " "
echo -e " $BIGreen "
nmap -sS $IP
echo -e " $Normal "
;;
# CODED BY NITIN JAISWAL AKA KALMUX
"6")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FIREWALL DEDECTION
echo -e " $BIPurple FIREWALL DEDECTION $Normal"
echo " "
echo -e " $BIGreen "
nmap -sA $IP
echo -e " $Normal "
;;
"7")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# SCAN WITHOUT HOST DESCOVERY
echo -e " $BIPurple SCANNING WITHOUT HOST DESCOVERY $Normal"
echo " "
echo -e " $BIGreen "
nmap -Pn $IP
echo -e " $Normal "
;;
"8")
# DOMAIN & IP BANNER
clear
dip_banner
echo " "
# FULL SCAN 65535 PORTS
echo -e " $BIPurple FULL SCAN OF 65535 PORTS $Normal"
echo " "
echo -e " $BIGreen "
nmap -p- $IP
echo -e " $Normal "
;;
*)
# DEFAULT CASE FOR REST
echo -e "$BIRed INVALID OPTION $Normal"
sleep 0.7
clear