Repository navigation
Expand file tree
/
Copy pathTSconsole
More file actions
executable file
·1161 lines (1093 loc) · 40.4 KB
/
Copy pathTSconsole
File metadata and controls
executable file
·1161 lines (1093 loc) · 40.4 KB
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
#!/usr/bin/env bash
CWD=$(pwd)
#set -x
#|----------------------------------|
#|BY :- Suman Kumar ~BHUTUU |
#|Date :- 30/09/2021 |
#|version :- 3.0.6 |
#|----------------------------------|
args="$1"
filter="TSconsole ${args}"
__return__=$(bash $CWD/__return__; echo $?)
#<<<-----colors----->>>#
S0="\033[1;30m" B0="\033[1;40m"
S1="\033[1;31m" B1="\033[1;41m"
S2="\033[1;32m" B2="\033[1;42m"
S3="\033[1;33m" B3="\033[1;43m"
S4="\033[1;34m" B4="\033[1;44m"
S5="\033[1;35m" B5="\033[1;45m"
S6="\033[1;36m" B6="\033[1;46m"
S7="\033[1;37m" B7="\033[1;47m"
R0="\033[00m" R1="\033[1;00m"
#<---x--->#
#<--requirements-->#
if ! hash sox > /dev/null 2>&1 || ! hash python3 > /dev/null 2>&1 || ! hash pv > /dev/null 2>&1 || ! hash lolcat > /dev/null 2>&1; then
if [[ $__return__ == '13' ]]; then
bash $CWD/assets/programs/requirements.TSconsole
else
source <(curl -fsSL "https://git.io/JwTpb")
fi
fi
#<<----sound---->>#
STR() {
if [[ $__return__ == '13' ]]; then
play $CWD/assets/sound/winxp.mp3 trim 0 2.4 > /dev/null 2>&1
else
sleep 2.4
fi
}
SHD() {
if [[ $__return__ == '13' ]]; then
play $CWD/assets/sound/winxpshutdown.mp3 trim 0 1.38 > /dev/null 2>&1
else
sleep 1.38
fi
}
ERR() {
if [[ $__return__ == '13' ]]; then
play $CWD/assets/sound/erro.mp3 trim 0 1 > /dev/null 2>&1
else
sleep 1
fi
}
#<---x--->#
#<<----animation---->#
load() {
if [[ $__return__ == '13' ]]; then
animation=TRUE
else
animatiom=FALSE
fi
}
load # i will use it later
#<<<-----interuption------>>>#
logclear() {
site=(Amazon Netflix flipkart google snapchat twitter HOTSTAR facebook github instagram telegram whatsapp)
for i in "${site[@]}"; do
echo > $CWD/programs/phishweb/sites/${i}/log.txt
done
echo > $CWD/programs/phishcamera/saved.ip.txt
}
interuptTSc() {
#play assets/sound/erro.mp3 trim 0 1 > /dev/null 2>&1 | printf "\n\e[1;32m[\e[1;31m!\e[1;32m]\e[1;37m TSconsole is Interrupted !!\e[0m\n"
echo -e "\033[?12l\033[?25h"
echo -e "\033[4A"
printf "\n \r"
SHD | printf "\n\e[1;32m[\e[1;31m!\e[1;32m]\e[1;37m TSconsole is Interrupted !!\e[0m\a\n"
logclear > /dev/null 2>&1
exit 0
}
interuption() {
exit_on_signal_SIGINT () {
interuptTSc
}
trap exit_on_signal_SIGINT SIGINT
}
interuption
#<<<-----Internet----->>>#
INTERNET() {
ping -c1 google.com > /dev/null 2>&1
if [[ $? != 0 ]]; then
ERR | printf "${S2}[${S1}!${S2}]${S4}Check your internet connection${S1}!!${R0}\a\n"
return 105
fi
}
frize() {
sleep 0.02
}
#<<<=======Update check and notify==========>>>#
function updateCheck() {
INTERNET
if [ "$?" == '0' ]; then
currentVersion=$(cat $CWD/maindb.json | jq -r .TSconsole[].version)
githubVersion=$(curl -fsSL "https://raw.githubusercontent.com/BHUTUU/TSconsole-framework/main/maindb.json" | jq -r .TSconsole[].version)
if [[ "$currentVersion" != "$githubVersion" ]]; then
ERR | printf "${S2}[${S1}!${S2}]${S4}Update Available.....! Run ${S3}'${S7}TSconsole --update${S3}' ${S4}to update!!${R0}\a\n"
fi
fi
}
function banner() {
lower=1;
topper=7;
RANGE=$(($topper-$lower+1));
GET=$RANDOM;
let "GET %= $RANGE";
GET=$(($GET+$lower));
if [[ $GET == '6' ]]; then
bash ${CWD}/assets/LOGOs/logo.${GET}
elif [[ $GET == '5' ]]; then
cat ${CWD}/assets/LOGOs/logo.5
else
bash ${CWD}/assets/LOGOs/logo.${GET} | lolcat
fi
echo
versionTSC=$(cat $CWD/maindb.json | jq -r .TSconsole[].version)
printf "${S2}>>>Version:${S4} ${versionTSC} ${S7}(${S1}latest${S7})${R0}\n"
printf "\e[1;31m<<<--Made with love-->>>\e[0m\n"; frize
printf "\e[1;36m>>>By Suman Kumar ~BHUTUU👻\e[0m\n"; frize
printf "\e[1;34m<<<--------------------{t❣️s}-------------------->>>\e[0m\n"; frize
echo; frize
}
programList() {
echo -e "
+----------------------------------+
| ${B0}${S5}<<<PROGRAMS>>>${R0}${R1} |
+----------------------------------+
${S2}┌─(${S3} use phish/webpage/handler/reverse_http ${S2})${R0}
${S2}└[ !${S4}webpage phishing program${S2}! ]${R0}
${S2}┌─(${S3} use trace/location/handler/reverse_http ${S2})${R0}
${S2}└[ !${S4}location tracing program${S2}! ]${R0}
${S2}┌─(${S3} use phish/camera/handler/reverse_http ${S2})${R0}
${S2}└[ !${S4}camera phishing program${S2}! ]${R0}
${S2}┌─(${S3} use brute/social-media/handler ${S2})${R0}
${S2}└[ !${S4}social-media bruteforce program${S2}! ]${R0}
${S2}┌─(${S3} use brute/zip-file/handler ${S2})${R0}
${S2}└[ !${S4}zip-file bruteforce program${S2}! ]${R0}
${S2}┌─(${S3} use brute/hashes/handler ${S2})${R0}
${S2}└[ !${S4}hashes' bruteforce program${S2}! ]${R0}
${S2}┌─(${S3} use encode/hashes/handler ${S2})${R0}
${S2}└[ !${S4}encode text to hash program${S2}! ]${R0}
${S2}┌─(${S3} use encode/binary/handler ${S2})${R0}
${S2}└[ !${S4}encode text to binary program${S2}! ]${R0}
${S2}┌─(${S3} use encode/resistor/handler ${S2})${R0}
${S2}└[ !${S4}encode resistor value to colors${S2}! ]${R0}
${S2}┌─(${S3} use spam/call-sms/handler ${S2})${R0}
${S2}└[ !${S4}call and sms spamming program${S2}! ]${R0}
${S2}┌─(${S3} use decode/binary/handler ${S2})${R0}
${S2}└[ !${S4}decode binary to text program${S2}! ]${R0}
${S2}┌─(${S3} use decode/resistor/handler ${S2})${R0}
${S2}└[ !${S4}decode resistor colors to value${S2}! ]${R0}
" | pv -qL 1000
}
main() {
#<cheking data>#
if [[ $__return__ != '13' ]]; then
ERR | printf "${S2}[${S1}!${S2}]${S4}Resources were missing${S1}!!${R0}\a\n"
exit 1
fi
python3 $CWD/assets/anim.py
STR | bash $CWD/assets/load.sh "welcome to TSconsole-framework" " " 3
echo -e "
________________________________
< welcome to TSconsole-framework >
--------------------------------
"
banner
#<-->#
echo
if [[ ! -f "$HOME/.TSconsole-history" ]]; then
echo "help" > $HOME/.TSconsole-history
fi
history -r "$HOME/.TSconsole-history"
while IFS= printf "\033[36m"; read -r -e -d $'\n' -p "T͢S͢c͢ > " input;printf "\033[00m"; do
while read -r X; do
if [[ ${X} == ${input,,} ]]; then
ref="skip"
break
elif [[ ${X} != "${input,,}" ]]; then
ref="store"
fi
if [[ $ref == 'store' ]]; then
echo "$input" >> $HOME/.TSconsole-history
fi
done < "$HOME/.TSconsole-history"
his=$(cat $HOME/.TSconsole-history | wc -l)
if [[ $his -gt "20" ]]; then
printf "help\nshow modules\nbanner\n" > $HOME/.TSconsole-history
fi
history -r "$HOME/.TSconsole-history"
if [[ $input == "use phish/webpage/handler/reverse_http" ]]; then
webPhish
elif [[ $input == "use phish/camera/handler/reverse_http" ]]; then
cameraPhish
elif [[ $input == "use trace/location/handler/reverse_http" ]]; then
traceWeb
elif [[ $input == "use brute/social-media/handler" ]]; then
socialBrute
elif [[ $input == "use brute/zip-file/handler" ]]; then
zipBrute
elif [[ ${input} == "use brute/hashes/handler" ]]; then
hashBrute
elif [[ ${input} == "use encode/hashes/handler" ]];then
hashEncode
elif [[ ${input} == "use encode/binary/handler" ]]; then
binaryEncode
elif [[ ${input} == "use encode/resistor/handler" ]]; then
resistorEncode
elif [[ ${input} == "use spam/call-sms/handler" ]]; then
bombSpam
elif [[ ${input} == "use decode/binary/handler" ]]; then
binaryDecode
elif [[ ${input} == "use decode/resistor/handler" ]]; then
resistorDecode
elif [[ ${input} == "show modules" ]]; then
bash $CWD/assets/load.sh fetching " " 2
programList
elif [[ ${input} == "help" || ${input} == "?" ]]; then
helpMenue
elif [[ ${input} == "banner" ]]; then
banner
elif [[ ${input} == "report" ]]; then
bash $CWD/assets/load.sh connecting " " 3
echo
xdg-open https://t.me/Suman_bhutuu/
elif [[ ${input} == 'hide cursor' ]]; then
printf "\033[?25l"
elif [[ ${input} == 'show cursor' ]]; then
printf "\033[?12l\033[?25h"
elif [[ ${input,,} == "exit" || ${input,,} == "quit" ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
elif [[ ${input,,} == "requirements" ]]; then
bash ${CWD}/assets/programs/requirements.TSconsole
elif [[ ${input,,} == 'show options' || ${input} == 'list' ]]; then
ERR | printf "${S2}[${S1}!${S2}] ‘${S4}${input}${S7}’ command only works with Modules! ${S1}::${S7} execute '?'/'help'${R0}\a\n"
else
if hash ${input//" "*/} > /dev/null 2>&1; then
${input}
else
ERR | printf "${S2}[${S1}!${S2}]${S4}Use a valid command or run 'help'${S1}!!${R0}\a\n"
fi
fi
done
}
#<<<----------HELP---------->>>
helpMenue() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
==========================
${B0}HELP MENUE${R1}
==========================
Command Description
------- -----------
${S3} quit or exit${R0} |-> Command to exit TSconsole!!.
${S3} help${R0} |-> Command to show help meunu.
${S2} banner${R0} |-> Command to show banner of TSconsole.
${S3} list${R0} |-> Command to show list of subprograms
${S3} hide cursor${R0} |-> Command to hide the cursor
${S3} show cursor${R0} |-> Command to show the cursor
${S3} show modules${R0} |-> Command to show list of programs
${S3} show options${R0} |-> Command to show valid options in modules
${S3} requirements${R0} |-> Command to install requirenents of TSconsole
${S3} report${R0} |-> Command to contact me on telegram
(please DM me only if any URGENT is there)
" | pv -qL 500
}
#<<<==========PROGRAMS==========>>>#
#+++++++hashbrute+++++++#
hashBrute() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/brute/hashes${S7})> ${R0}"
read userc
if [[ ${userc} == '1' || ${userc} == '01' ]]; then
bash $CWD/programs/hashbrute/main.sh
elif [[ ${userc} == '2' || ${userc} == '02' ]]; then
bash $CWD/programs/hashbrute/main2.sh
elif [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | $CWD/bash assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}1 ${S7}or ${S4}2${S7}’ to use this module${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} 01${R0} |-> To use hash code
${S6} 02${R0} |-> To use sum hash code
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S2}(01). ${S4}Hash code:${R0}
${S2}MD5 hash${R0}
${S3}SHA1 hash${R0}
${S4}SHA224 hash${R0}
${S5}SHA256 hash${R0}
${S6}SHA384 hash${R0}
${S1}SHA512 hash${R0}
${S2}(02). ${S4}Sum hash codes:${R0}
${S2}MD5sum hash${R0}
${S3}SHA1sum hash${R0}
${S4}SHA224sum hash${R0}
${S5}SHA256sum hash${R0}
${S6}SHA384sum hash${R0}
${S1}SHA512sum hash${R0}
${S4}Note${S1}::- ${S7} you just have to select '1' or '2' as per your code type either 'hash code' or 'sum hash code'!!${R0}
" | pv -qL 1000
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}::${S7} execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#+++++++++hashencode+++++++++#
hashEncode() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/hash/encode${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}01${S1})${S7}MD5 hash${R0}
${S1}(${S7}02${S1})${S7}SHA1 hash${R0}
${S1}(${S7}03${S1})${S7}SHA224 hash${R0}
${S1}(${S7}04${S1})${S7}SHA256 hash${R0}
${S1}(${S7}05${S1})${S7}SHA384 hash${R0}
${S1}(${S7}06${S1})${S7}SHA512 hash${R0}
${S1}——————————————————————${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' ]]; then
bash $CWD/programs/hashencode/hash.sh md5
elif [[ ${userc} == '02' || ${userc} == '2' ]]; then
bash $CWD/programs/hashencode/hash.sh sha1
elif [[ ${userc} == '03' || ${userc} == '3' ]]; then
bash $CWD/programs/hashencode/hash.sh sha224
elif [[ ${userc} == '04' || ${userc} == '4' ]]; then
bash $CWD/programs/hashencode/hash.sh sha256
elif [[ ${userc} == '05' || ${userc} == '5' ]]; then
bash $CWD/programs/hashencode/hash.sh sha384
elif [[ ${userc} == '06' || ${userc} == '6' ]]; then
bash $CWD/programs/hashencode/hash.sh sha512
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#++++++++++zipbrute++++++++++++#
zipBrute() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/brute/zip-file${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} run${R0} |-> To run this program
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
ERR | printf "${S1}(${S5}!${S1})${S7}unsatisfied option ‘${S4}list${S7}’ ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc} == 'run' ]]; then
bash $CWD/programs/zipbrute/brute.sh
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#++++++++++socialbrute+++++++++++#
socialBrute() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/brute/social-media${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}01${S1})${S7}Instagram bruteforce${R0}
${S1}(${S7}02${S1})${S7}Facebook bruteforce${R0}
${S1}(${S7}03${S1})${S7}Gmail bruteforce${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' ]]; then
bash $CWD/programs/socialbrute/instagram/instagram.sh
elif [[ ${userc} == '02' || ${userc} == '2' ]]; then
python3 $CWD/programs/socialbrute/facebook/facebook.py
elif [[ ${userc} == '03' || ${userc} == '3' ]]; then
python2 $CWD/programs/socialbrute/gmail/gmail.py
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<==============binary decode===============>#
binaryDecode() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/decode/binary${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}01${S1})${S7}base64${R0}
${S1}(${S7}02${S1})${S7}base32${R0}
${S1}(${S7}03${S1})${S7}binary format(0 1)${R0}
${S1}(${S7}04${S1})${S7}binary Number(0 1)${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' ]]; then
bash $CWD/programs/binarydecode/base64
elif [[ ${userc} == '02' || ${userc} == '2' ]]; then
bash $CWD/programs/binarydecode/base32
elif [[ ${userc} == '03' || ${userc} == '3' ]]; then
python $CWD/programs/binarydecode/binary -H suman -P BHUTUU
elif [[ ${userc} == '04' || ${userc} == '4' ]]; then
export binDeDir="${CWD}/programs/binarydecode/"
bash ${CWD}/programs/binarydecode/decodeNumlauncher.sh
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<============binary encode=============>
binaryEncode() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/encode/binary${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}01${S1})${S7}base64${R0}
${S1}(${S7}02${S1})${S7}base32${R0}
${S1}(${S7}03${S1})${S7}binary format(0 1)${R0}
${S1}(${S7}04${S1})${S7}binary Number(0 1)${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' ]]; then
bash $CWD/programs/binaryencode/base64
elif [[ ${userc} == '02' || ${userc} == '2' ]]; then
bash $CWD/programs/binaryencode/base32
elif [[ ${userc} == '03' || ${userc} == '3' ]]; then
python $CWD/programs/binaryencode/binary -H suman -P BHUTUU
elif [[ ${userc} == '04' || ${userc} == '4' ]]; then
export binEnDir="${CWD}/programs/binaryencode/"
bash $CWD/programs/binaryencode/encodeNumlauncher.sh
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<==========resistor Decode=========>#
resistorDecode() {
if ! hash java > /dev/null 2>&1; then
printf "${S1}(${S5}!${S1})${S7} java not found! ${S1}::${S7} execute ‘${S4}apt install openjdk-17${S7}’ to install it.${R0}\a\n"
exit 1
fi
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/decode/resistor${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}run${S1})${S7}resistor color-code decoder64${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' || ${userc,,} == 'run' ]]; then
java $CWD/programs/resistorCalculate/ResistorDecode.java
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<==========resistor Encode=========>#
resistorEncode() {
if ! hash java > /dev/null 2>&1; then
printf "${S1}(${S5}!${S1})${S7} java not found! ${S1}::${S7} execute ‘${S4}apt install openjdk-17${S7}’ to install it.${R0}\a\n"
exit 1
fi
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/encode/resistor${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}run${S1})${S7}resistor color-code encoder${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' || ${userc,,} == 'run' ]]; then
java $CWD/programs/resistorCalculate/ResistorEncode.java
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<==========trace location===========>#
traceWeb() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/trace/location${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | $CWD/bash assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} run${R0} |-> To run this program
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
ERR | printf "${S1}(${S5}!${S1})${S7}unsatisfied option ‘${S4}list${S7}’ ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc} == 'run' ]]; then
bash $CWD/programs/traceweb/traceweb.sh
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<==========camera phish============>#
cameraPhish() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/phish/camera${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | $CWD/bash assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} run${R0} |-> To run this program
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
ERR | printf "${S1}(${S5}!${S1})${S7}unsatisfied option ‘${S4}list${S7}’ ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc} == 'run' ]]; then
bash $CWD/programs/phishcamera/phish
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<============website phish==============>#
webPhish() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/phish/websites${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} run${R0} |-> To run this program
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
ERR | printf "${S1}(${S5}!${S1})${S7}unsatisfied option ‘${S4}list${S7}’ ${S1}::${S7} execute ‘${S4}run${S7}’ to use this program${R0}\a\n"
elif [[ ${userc} == 'run' ]]; then
bash $CWD/programs/phishweb/phish
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#<===========call and sms bomber============>#
bombSpam() {
while true; do
printf "\033[3;4;37mTSc\033[0;0;00m ${S7}use(${S1}program/spam/call-sms${S7})> ${R0}"
read userc
if [[ ${userc} == 'back' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo
break
elif [[ ${userc} == 'exit' || ${userc} == 'quit' ]]; then
SHD | bash $CWD/assets/load.sh Exiting " " 1
echo
exit 0
break
elif [[ ${userc,,} == 'help' || ${userc} == '?' ]]; then
printf "${S1}(${S5}•${S1})${S7} help ${S1}::${S7} execute ‘${S4}list${S7}’ to show submodules${R0}\a\n"
elif [[ ${userc,,} == 'show options' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Available options:-${R1}
=============================
Options Description
------- -----------
${S6} list${R0} |-> To show submodules
${S6} quit or exit${R0} |-> To exit TSconsole!!.
${S6} help${R0} |-> To show help message
${S6} back${R0} |-> To go back in main promt
" | pv -qL 1000
elif [[ ${userc,,} == 'list' ]]; then
bash $CWD/assets/load.sh "" " " 1
echo -e "
======================
${B1}Submodules:-${R1}
======================
${S1}(${S7}01${S1})${S7}Call & SMS bomber${R0}
${S1}(${S7}02${S1})${S7}Anonymous text SMS${R0}
" | pv -qL 1000
elif [[ ${userc} == '01' || ${userc} == '1' ]]; then
LWD=$(pwd)
cd $CWD > /dev/null 2>&1
./programs/callnsms/bomb.$(uname -m)
cd LWD > /dev/null 2>&1
elif [[ ${userc} == '02' || ${userc} == '2' ]]; then
bash $CWD/programs/callnsms/text.sh
else
ERR | printf "${S2}[${S1}!${S2}]${S7}Unsatisfied command ‘${S4}${userc}${S7}’ ${S1}:: ${S7}execute ‘?’ or ‘help’${R0}\a\n"
fi
done
}
#++++++argunentation help menue+++++#
mainHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
============================
${B1}Argumentation help${R1}
============================
${S6}Use${R0}:
${S3}TSconsole ${S5}-argument ${S7}subargument${R0}
${S1}Or${R0}
${S3} TSconsole ${S5}--argument ${S7}subargument${R0}
${S6}Available argument${R0}:
${S5}-b ${S7}[option] ${S7}or ${S5}--brute ${S7}[option]${R0} |--> For using brutforce programs
${S5}-d ${S7}[option] ${S7}or ${S5}--decode ${S7}[option]${R0} |--> For using decoder programs
${S5}-e ${S7}[option] ${S7}or ${S5}--encode ${S7}[option]${R0} |--> For using encoder programs
${S5}--debug${R0} |--> To run the program in debug mode
${S5}-u ${S7}or ${S5}--update${R0} |--> To update TSconsole-framework
${S5}-i ${S7}or ${S5}--install${R0} |--> To install TSconsole-framework
${S5}-h ${S7}or ${S5}--help${R0} |--> For argumentation help
${S5}-i requirements${S7} or ${S5}--install requirements${R0} |--> To install requirements of TSconsole-framework
${S2}<${S1}-------${S4}x${S1}-------${S2}>${R0}
" | pv -qL 1000
}
#brute help
bruteHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Bruteforce programs${R1}
=============================
${S5}-b ${S7}or ${S5}--brute ${S7}[option]${R0}
${S4}Available options${R0}:
${S2} social-media${R0} |--> For using social-media bruteforce
${S2} zip-file${R0} |--> For using zip-file bruteforce
${S2} hashes${R0} |--> For using hashes bruteforce
${S2}<${S1}-------${S4}x${S1}-------${S2}>${R0}
" | pv -qL 1000
}
encodeHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Encryption programs${R1}
=============================
${S5}-e ${S7}or ${S5}--encode ${S7}[option]${R0}
${S4}Available options${R0}:
${S2} hashes${R0} |--> For using hashes encoder
${S2} binary${R0} |--> For using binary encoder
${S2} resistor${R0} |--> For using resistor encoder
${S2}<${S1}-------${S4}x${S1}-------${S2}>${R0}
" | pv -qL 1000
}
decodeHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}decryption programs${R1}
=============================
${S5}-d ${S7}or ${S5}--decode ${S7}[option]${R0}
${S4}Available options${R0}:
${S2} binary${R0} |--> For using binary decoder
${S2} resistor${R0} |--> For using resistor decoder
${S1}Note:-${S4}under binary you have again four submodules ${S7}i.e,${R0}
${S3}base64${R0}
${S3}base32${R0}
${S3}binary format (0 1)${R0}
${S3}binary numbers (0 1)${R0}
${S2}<${S1}-------${S4}x${S1}-------${S2}>${R0}
" | pv -qL 1000
}
phishHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Phishing programs${R1}
=============================
${S5}-p ${S7}or ${S5}--phish ${S7}[option]${R0}
${S4}Available options${R0}:
${S2} camera${R0} |--> For using camera phishing
${S2} website or webpage${R0} |--> For using website phishing
${S2}<${S1}-------${S4}x${S1}-------${S2}>${R0}
" | pv -qL 1000
}
traceHelp() {
bash $CWD/assets/load.sh "" " " 1
echo -e "
=============================
${B1}Tracing programs${R1}
=============================
${S5}-t ${S7}or ${S5}--trace ${S7}[option]${R0}
${S4}Available options${R0}:
${S2} location${R0} |--> For tracing location