-
Notifications
You must be signed in to change notification settings - Fork 26
/
KITT_lite.py
947 lines (863 loc) · 35.2 KB
/
KITT_lite.py
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
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
#
# @name : KITT Lite - Lite Version of KITT Framework
# @url : https://github.com/Cisc0-gif
# @author : Cisc0-gif
import os
import time
import socket
import requests
import sys
import random
username = os.getlogin()
print('[*]Current User: ' + username)
def wait():
wait = input('PRESS ENTER TO CONTINUE')
def runtimecheck(): #returns current runtime
global check
check = time.time()
msg = str(check - start)
return msg
def timecheck(): #returns current local time
return time.ctime()
def logwrite(msg): #writes input to RUNTIME.log
with open('/opt/KITT-Lite/RUNTIME.log', 'a+') as f:
f.write(msg + '\n')
f.close()
if len(sys.argv) != 2 or '--help' in sys.argv:
print('KITT Lite v1.0 Python-Based Pentesting Framework')
print('Sourced on Github and created by Cisc0-gif, Ecorp7@protonmail.com\n')
print(' ./KITT_lite.py --help for this menu')
print('OSINT:')
print(' -ds, --domainsticate Extensive Domain Enumeration')
print(' -sh, --shodan_search Search for IP info on shodan')
print(' -pi, --phone_infoga Search for Phone # info')
print(' -ka, --katana Google Dork Scanner')
print(' -td, --tidos WebApp Pentesting Framework')
print(' -wk, --webkiller Domain OSINT Tool')
print(' -bm, --badmod Website Scanner & Auto Exploiter')
print(' -w3, --w3af WebApp Security Scanner')
print(' -ur, --userrecon Social Media Username Search')
print(' -ti, --th3inspector Full Stack OSINT Tool')
print(' -if, --infog General OSINT Tool')
print(' /opt/KITT-Lite/Striker Recon and Vulnerability Scanning Suite')
print(' /opt/KITT-Lite/vulnx/ WebApp Bot Auto Shell Injector')
print(' /opt/KITT-Lite/gitGraber/ Search for Unprotected AWS Tokens')
print(' /opt/KITT-Lite/deep-explorer/ Tor Browser')
print(' /opt/KITT-Lite/BlackDir-Framework WebApp Vulnerability Scanner')
print(' /opt/KITT-Lite/Konan Advanced WebApp Dir Scanner')
print(' /opt/KITT-Lite/Pompem Exploit/Vulnerability Search Tool')
print(' /opt/KITT-Lite/trape Advanced OSINT Tool')
print(' /opt/KITT-Lite/Email-Extract Website Directory Email Scanner')
print(' /opt/KITT-Lite/nuclei Template Based Vulnerability Scanner')
print(' /opt/KITT-Lite/b-f-b-D-h Uses old DNS records to see if server responds to old domain or IP')
print(' /opt/KITT-Lite/Fast-Google-Dorks-Scan Website Dork Enumeration Script')
print('Cracking:')
print(' -tb, --ftpbruter FTP Login Brute Forcer')
print(' /opt/KITT-Lite/hate_crack/ Automated Hashcat Cracker')
print(' /opt/KITT-Lite/tangalanga/build Zoom Token Bruteforcer')
print(' /opt/KITT-Lite/Zip-Cracker- Password Protected Zip File Bruteforcer')
print('Phising:')
print(' -be, --blackeye Tool for Hosting Phishing Sites')
print(' -st, --set Social Engineering Toolkit (SET)')
print(' -sb, --socialbox Social Media Password Bruteforcer')
print(' -bd, --brutedum Common Protocol Bruteforcer')
print(' -sy, --saycheese Takes Webcam shots on link visit')
print(' -yh, --sayhello Takes audio clip on link viist')
print(' -si, --shellphish Blackeye w/ Automated Ngrok')
print(' -np, --nexphisher Tool for Hosting Phishing Sites')
print(' -lp, --lockphish Lock Screen Phishing Tool (iPhone/Android Notifications)')
print(' -sf, --socialfish Common Fishing Tool')
print(' -lc, --locator Geolocator and IP Tracker')
print(' -ep, --evilapp MiTM Phishing Attack Using APK')
print(' -df, --droidfiles Android File Downloader Using APK')
print(' -ci, --cuteit IP Obfuscator')
print(' /opt/KITT-Lite/seeker Social Engineering IP GeoLocator (Give/Take 30m)')
print(' /opt/KITT-Lite/ntlm_theft Hash Theft File Generator')
print('Payloads:')
print(' -ed, --evildroid Android APK Payloading & Embedding Framework')
print(' -cy, --catchyou Undetectable Win32 Payload Generator')
print(' -ws, --winspy Win Reverse Shell Generator w/ IP Poisoning')
print(' -er, --evilreg Windows .reg Reverse Shell Generator')
print(' -bl, --badlnk Shortcut (.lnk) Reverse Shell Generator')
print(' -ea, --enigma Multiplatform Payload Dropper')
print(' -af, --avetfabric Windows AV Evasive Payloader')
print(' -vp, --evilpdf Embeds .exe Files into PDF Documents')
print(' -el, --evildll DLL Reverse Shell Generator')
print(' -dt, --droidtracker Android .APK Location Tracker')
print(' -mc, --hmmcookies Grabs Firefox, Chrome, and Opera browser cookies')
print(' -n2, --ninjac2 Runs NinjaC2 campaign setup')
print(' -hs, --httprevshell HTTP(S) reverse shell server')
print(' /opt/KITT-Lite/eviloffice Injects Macro & DDE Code into Excel & Word Documents (WINDOWS)')
print(' /opt/KITT-Lite/trevorc2 C&C Software')
print('Keyloggers: ')
print(' -hk, --herakeylogger Chrome Keylogger Extension')
print(' /opt/KITT-Lite/KatroLogger Unix/Linux Keylogger')
print('PrivEsc:')
print(' -pe, --escalate SimpleHTTPServer w/ PrivEsc scripts on port 80')
print(' -lv, --leviathan System Audit Toolkit')
print(' -iy, --ispy EternalBlue/Bluekeep Scanner/Exploiter')
print(' -nt, --nekobot Auto Exploiter Tool')
print(' -lt, --lstools Lists all tools hosts on --escalate')
print('Ransomeware:')
print(' -hc, --hiddencry Windows AES 256 Bit Encrypter/Decrypter')
print(' -cd, --crydroid Android Encrypter/Decrypter')
print('Bots:')
print(' /opt/KITT-Lite/Idisagree Trojan Discord Bot')
print(' /opt/KITT-Lite/ufonet DDoS 3rd Party Vector Tool')
print('Network Cracking:')
print(' -nc, --netcrack Network Cracking Tool Suite')
print(' -ap, --apspoof AP Spoofing Tool')
print(' -pd, --packdump Packet Capture Tool')
print(' -wp, --wifipumpkin Network Cracking Framework')
print(' -pb, --pentbox HoneyPot Tool Suite')
print(' -ps, --pwnstar Fake AP Tool Framework')
print(' /opt/KITT-Lite/wacker WPA3 Password Dictionary Attack')
print('IoT Exploitation:')
print(' -hp, --homepwn IoT Exploit Tool Suite')
print(' -bt, --btspoof BT Spoofer')
print(' -bv, --btverify Rfcomm Channel Verifier')
print(' -bs, --bluescan BT Port/MAC Scanner')
print(' -rs, --dronesploit Drone Exploitation Framework')
print(' -ad, --adbtoolkit Android Device Pentesting Framework')
print('Hardware Hacking:')
print(' -mj, --mousejack Intel Keyboard/Mice Hijacker')
print(' -gp, --gpioctl GPIO Controller (Only for RPi)')
print(' -br, --brutal RubberDucky Payload Generator (Teensy, Digispark, Ardu Leo, Ardu Pro Micro)')
print('System Security:')
print(' -ic, --inspircd InspIRCd Server (Make sure you configure .conf file before use!)')
print(' -sn, --snort Snort NIDS')
print(' -sp, --sshportrand SSH Port Randomizer')
print(' -sc, --sshautoconfig SSHD Config Buff')
print(' -pc, --proxyconfig ProxyChains Config')
print(' -fb, --fail2ban Fail2ban IP Jail Config')
print(' -di, --dhcpip DHCP IP Receiver')
print(' /opt/KITT-Lite/SysIntegrity File Integrity and Logging System Check (dont run as root)')
print(' /opt/KITT-Lite/wotop/ Tunnels Traffic Over HTTP ')
print(' /opt/KITT-Lite/TorghostNG Filters All Traffic Through Tor Proxy')
print('Update Tool:')
print(' -up, --update Update packages and git source for KITTlite')
print(' -pf, --ptf PenTesting Framework for Installing and Updating Tools')
print(' -tx, --toolx PenTesting Tool Installer')
print('Example:')
print(' KITTlite --netcrack')
sys.exit(1)
short = ['-ds', '-sh', '-pi', '-pe', '-nc', '-ap', '-pd', '-hp', '-pb', '-bt', '-bv', '-bs', '-mj', '-gp', '-sp', '-sc', '-pc', '-fb', '-di', '-up', '-be', '-st', '-ka', '-sb', '-td', '-pf', '-ps', '-bd', '-tx', '-br', '-wk', '-ed', '-cy', '-sy', '-bm', '-si', '-lt', '-np', '-w3', '-ur', '-ws', '-ti', '-wp', '-lp', '-er', '-bl', '-sf', '-hk', '-lc', '-ep', '-lv', '-hc', '-df', '-af', '-sn', '-iy', '-nt', '-ci', '-tb', '-cd', '-vp', '-el', '-dt', '-mc', '-yh', '-rs', '-ad', '-ic', '-n2', '-hs', '-if']
long = ['--domainsticate', '--shodan_search', '--phone_infoga', '--escalate', '--netcrack', '--apspoof', '--packdump', '--homepwn', '--pentbox', '--btspoof', '--btverify', '--bluescan', '--mousejack', '--gpioctl', '--sshportrand', '--sshautoconfig', '--proxyconfig', '--fail2ban', '--dhcpip', '--update', '--blackeye', '--set', '--katana', '--socialbox', '--tidos', '--ptf', '--pwnstar', '--brutedum', '--toolx', '--brutal', '--webkiller', '--evildroid', '--catchyou', '--saycheese', '--badmod', '--shellphish', '--lstools', '--nexphisher', '--w3af', '--userrecon', '--winspy', '--th3inspector', '--wifipumpkin', '--lockphish', '--evilreg', '--badlnk', '--socialfish', '--herakeylogger', '--locator', '--evilapp', '--leviathan', '--hiddencry', '--droidfiles', '--avetfabric', '--snort', '--ispy', '--nekobot', '--cuteit', '--ftpbruter', '--crydroid', '--evilpdf', '--evilpdf', '--droidtracker', '--hmmcookies', '--sayhello', '--dronesploit', '--adbtoolkit', '--inspircd', '--ninjac2', '--httprevshell', '--infog']
tool = sys.argv[1]
os.chdir('/opt/KITT-Lite')
def gohome():
os.chdir('/opt/KITT-Lite')
if tool == '-ds' or tool == '--domainsticate':
try:
os.chdir('hg')
os.system('sudo python3 domain_sticate.py')
logwrite('--[+]Successfully ran domainsticate @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running domainsticate @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sh' or tool == '--shodan_search':
try:
os.system('sudo python3 shodan_search.py')
logwrite('--[+]Successfully ran shodan_search @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running shodan_search @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pi' or tool == '--phone_infoga':
try:
os.chdir('PhoneInfoga')
os.system('sudo python3 phoneinfoga.py')
logwrite('--[+]Successfully ran phone_infoga @ ' + timecheck() + '--')
except:
logwrite('--[*]Error runnning phone_infoga @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pe' or tool == '--escalate':
try:
os.chdir('escalate')
print('[*]Starting python SecureHTTPServer on Port 80 to curl payloads\n')
username = input("[*]Enter username for Server Login: ")
password = input("[*]Enter password for Server Login: ")
print("\n[*]Use 'curl --user username:password IP:80' to access SecureHTTPServer...")
print('[*]Enter ^C or ^Z To Stop HTTP Server...')
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("8.8.8.8", 80))
r = requests.get("http://ifconfig.me").text
print('[*]Private IP: ' + str(s.getsockname()[0]))
print('[*]Public IP: ' + str(r))
os.system("sudo python SecureHTTPServer.py 80 " + username + ':' + password)
s.close()
logwrite('--[*]Successfully ended SimpleHTTPServer @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running SimpleHTTPServer @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-nc' or tool == '--netcrack':
try:
os.system('sudo python3 network_crack.py')
logwrite('--[+]Successfully ran network_crack @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running network_crack @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ap' or tool == '--apspoof':
try:
os.chdir('AP_Spoof')
os.system('sudo bash setup.sh')
logwrite('--[+]Successfully ran AP_Spoof setup.sh @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running AP_Spoof setup.sh @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pd' or tool == '--packdump':
try:
os.system('sudo bash packetdump.sh')
logwrite('--[+]Successfully ran packetdump.sh @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running packetdump.sh @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-hp' or tool == '--homepwn':
try:
os.chdir('HomePWN')
os.system('sudo python3 homePwn.py')
logwrite('--[+]Successfully ran HomePWN @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running HomePWN @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pb' or tool == '--pentbox':
try:
os.chdir('pentbox/pentbox-1.8')
os.system('sudo ruby pentbox.rb')
logwrite('--[+]Successfully ran pentbox @ ' + timecheck() + '--')
except:
logwrite('--[+]Error running pentbox @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-bt' or tool == '--btspoof':
try:
os.system('sudo bash bluespoof.sh')
logwrite('--[+]Successfully ran bluespoof @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running bluespoof @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-bv' or tool == '--btverify':
try:
os.system('sudo python3 btverifier.py')
logwrite('--[+]Successfully ran btverifier @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running btverifier @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-bs' or tool == '--bluescan':
try:
os.system('sudo bash BlueScan.sh')
logwrite('--[+]Successfully ran BlueScan @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running BlueScan @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-mj' or tool == '--mousejack':
moj = input("[*]Do you want to initialize a [m]ousejack device or scan with [j]ackit?: ")
if moj == 'M' or moj == 'm':
try:
print("[*]Insert CrazyRadio PA device...")
wait()
os.chdir('mousejack/nrf-research-firmware')
os.system('sudo make')
os.system('sudo make install')
os.system('sudo dmesg')
print("[+]Firmware Uploaded!")
logwrite('--[+]Successfully uploaded mousejack firmware to CrazyRadio PA @ ' + timecheck() + '--')
except:
print("[*]Failed to upload Firmware!")
logwrite('--[*]Failed to upload mouesjack firmware to CrazyRadio PA @ ' + timecheck() + '--')
elif moj == 'J' or moj == 'j':
try:
print("[*]Insert CrazyRadio PA device w/ mousejack firmware...")
wait()
os.system('sudo jackit')
print('[+]Scan complete!')
logwrite('--[+]Successfully ended jackit scan @ ' + timecheck() + '--')
except:
print("[*]Error scanning with jackit")
logwrite('--[*]Error scanning with jackit @ ' + timecheck() + '--')
wait()
else:
print("[*]Not an option!")
time.sleep(2)
gohome()
exit()
if tool == '-gp' or tool == '--gpioctl':
try:
os.system('sudo python3 GPIO_CTL.py')
logwrite('--[+]Successfully ran GPIO_CTL @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running GPIO_CTL @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sp' or tool == '--sshportrand':
try:
os.chdir('sdefense')
os.system('sudo bash ssh_randomizer.sh')
logwrite('--[+]Successfully ran ssh_randomizer @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running ssh_randomizer @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sc' or tool == '--sshautoconfig':
try:
os.chdir('sdefense')
os.system('sudo bash ssh_encr7pt.sh')
logwrite('--[+]Successfully ran ssh_encr7pt @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running ssh_encr7pt @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pc' or tool == '--proxyconfig':
try:
os.chdir('sdefense')
os.system('sudo bash proxy_config.sh')
logwrite('--[+]Successfully ran proxy_config @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running proxy_config @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-fb' or tool == '--fail2ban':
try:
ipbu = input('[*]Are you going to [B]an or [U]nban an IP?: ')
if ipbu == 'B' or ipbu == 'b':
ip = input('[*]Enter IP: ')
os.system('sudo fail2ban-client set sshd banip ' + ip)
print('[+]Banned IP ' + ip + '!')
logwrite('--[+]Banned IP ' + ip + ' @ ' + timecheck() + '--')
else:
ip = input('[*]Enter IP: ')
os.system('sudo fail2ban-client set sshd unbanip ' + ip)
print('[+]Unbanned IP ' + ip + '!')
logwrite('--[+]Unbanned IP ' + ip + ' @ ' + timecheck() + '--')
except:
logwrite('--[*]Error configuring fail2ban @ ' + timecheck() + '--')
print('[*]Error configuring fail2ban')
gohome()
exit()
if tool == '-di' or tool == '--dhcpip':
try:
os.chdir('sdefense')
os.system('sudo bash dh_recv.sh')
logwrite('--[+]Successfully ran dh_recv @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running dh_recv @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-be' or tool == '--blackeye':
try:
os.chdir('phishing/blackeye')
os.system('sudo bash blackeye.sh')
logwrite('--[+]Successfully ran blackeye @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running blackeye @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-st' or tool == '--set':
try:
os.chdir('phishing/SET')
os.system('sudo python3 setoolkit')
logwrite('--[+]Successfully ran SET @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running SET @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ka' or tool == '--katana':
try:
os.chdir('Katana')
os.system('sudo python3 kds.py')
logwrite('--[+]Successfully ran Katana @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running Katana @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sb' or tool == '--socialbox':
try:
os.chdir('SocialBox')
os.system('sudo ./SocialBox.sh')
logwrite('--[+]Successfully ran SocialBox @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running SocialBox @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-td' or tool == '--tidos':
try:
os.chdir("TIDoS-Framework")
os.system("sudo tidos")
logwrite("--[+]Successfully ran Tidos-Framework @ " + timecheck() + '--')
except:
logwrite("--[*]Error running Tidos-Framework @ " + timecheck() + '--')
gohome()
exit()
if tool == '-up' or tool == '--update':
try:
print('Updating and Upgrading Packages...')
os.system('sudo apt-get update && sudo apt-get upgrade')
print('Updating git source for KITTlite...')
os.system('sudo git pull origin master')
print('Making sure all repos are caught up...')
os.system('sudo ./catchup.sh')
wait()
logwrite('--[+]Successfully updated packages and git source @ ' + timecheck() + '--')
except:
logwrite('--[*]Error updating packages and git source @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-pf' or tool == '--ptf':
try:
os.chdir('ptf')
os.system('sudo ./ptf')
logwrite('--[+]Successfully ran ptf @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running ptf @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ps' or tool == '--pwnstar':
try:
os.chdir('PwnSTAR')
os.system('sudo ./pwnstar')
logwrite("--[+]Successfully ran pwnstar @ " + timecheck() + '--')
except:
logwrite('--[*]Error running pwnstar @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-bd' or tool == '--brutedum':
try:
os.chdir('BruteDum')
os.system('sudo python3 brutedum.py')
logwrite("--[+]Successfully ran brutedum @ " + timecheck() + '--')
except:
logwrite('--[*]Error running brutedum @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-tx' or tool == '--toolx':
try:
os.chdir('Tool-X')
os.system('sudo toolx')
logwrite("--[+]Successfully ran toolx @ " + timecheck() + '--')
except:
logwrite('--[*]Error running toolx @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-br' or tool == '--brutal':
try:
os.chdir('Brutal')
os.system('sudo ./Brutal.sh')
logwrite("--[+]Successfully ran brutal @ " + timecheck() + '--')
except:
logwrite("--[*]Error running brutal @ " + timecheck() + '--')
gohome()
exit()
if tool == '-wk' or tool == '--webkiller':
try:
os.chdir('webkiller')
os.system('sudo python3 webkiller.py')
logwrite("--[+]Successfully ran webkiller @ " + timecheck() + '--')
except:
logwrite("--[*]Error running brutal @ " + timecheck() + '--')
gohome()
exit()
if tool == '-ed' or tool == '--evildroid':
try:
os.chdir('Evil-Droid')
os.system('sudo ./evil-droid')
logwrite("--[+]Successfully ran evil-droid @ " + timecheck() + '--')
except:
logwrite("--[*]Error running evil-droid @ " + timecheck() + '--')
gohome()
exit()
if tool == '-cy' or tool == '--catchyou':
try:
os.chdir('catchyou')
os.system('sudo ./catchyou.sh')
logwrite("--[+]Successfully ran catchyou @ " + timecheck() + '--')
except:
logwrite("--[*]Error running catchyou @ " + timecheck() + '--')
gohome()
exit()
if tool == '-sy' or tool == '--saycheese':
try:
os.chdir('saycheese')
os.system('sudo ./saycheese.sh')
logwrite("--[+]Successfully ran saycheese @ " + timecheck() + '--')
except:
logwrite("--[*]Error running saycheese @ " + timecheck() + '--')
gohome()
exit()
if tool == '-bm' or tool == '--badmod':
try:
os.system('sudo badmod')
logwrite("--[+]Successfully ran badmod @ " + timecheck() + '--')
except:
logwrite("--[*]Error running badmod @ " + timechcek() + '--')
gohome()
exit()
if tool == '-si' or tool == '--shellphish':
try:
os.chdir('shellphish')
os.system('sudo ./shellphish.sh')
logwrite("--[+]Successfully ran shellphish @ " + timecheck() + '--')
except:
logwrite("--[*]Error running shellphish @ " + timecheck() + '--')
gohome()
exit()
if tool == '-np' or tool == '--nexphisher':
try:
os.chdir('nexphisher')
os.system('sudo ./nexphisher')
logwrite("--[+]Successfully ran nexphisher @ " + timecheck() + '--')
except:
logwrite("--[*]Error running nexphisher @ " + timecheck() + '--')
gohome()
exit()
if tool == '-w3' or tool == '--w3af':
try:
os.chdir('w3af')
os.system('sudo ./w3af_console')
logwrite("--[+]Successfully ran w3af @ " + timecheck() + '--')
except:
logwrite("--[*]Error running w3af @ " + timecheck() + '--')
gohome()
exit()
if tool == '-ur' or tool == '--userrecon':
try:
os.chdir('userrecon')
os.system('sudo ./userrecon.sh')
logwrite('--[+]Successfully ran userrecon @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running userrecon @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ws' or tool == '--winspy':
try:
os.chdir('winspy')
os.system('sudo ./winspy.sh')
logwrite('--[+]Successfully ran winspy @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running winspy @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ti' or tool == '--th3inspector':
try:
os.system('Th3inspector')
logwrite('--[+]Successfully ran th3inspector @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running th3inspector @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-wp' or tool == '--wifipumpkin':
try:
os.system('sudo wifipumpkin3')
logwrite('--[+]Successfully ran wifipumpkin3 @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running wifipumpkin3 @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-lp' or tool == '--lockphish':
try:
os.chdir('lockphish')
os.system('sudo ./lockphish.sh')
logwrite('--[+]Successfully ran lockphish @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running lockphish @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-er' or tool == '--evilreg':
try:
os.chdir('evilreg')
os.system('sudo ./evilreg.sh')
logwrite('--[+]Successfully ran evilreg @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running evilreg @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-bl' or tool == '--badlnk':
try:
os.chdir('badlnk')
os.system('sudo ./badlnk.sh')
logwrite('--[+]Successfully ran badlnk @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running badlnk @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sf' or tool == '--socialfish':
try:
os.chdir('SocialFish')
os.system('sudo python3 SocialFish.py')
logwrite('--[+]Successfully ran SocialFish @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running SocialFish @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-hk' or tool == '--herakeylogger':
try:
os.chdir('HeraKeylogger')
os.system('sudo python3 hera.py')
logwrite('--[+]Successfully ran HeraKeylogger @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running HeraKeylogger @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ea' or tool == '--enigma':
try:
os.chdir('Enigma')
os.system('sudo python enigma.py')
logwrite('--[+]Successfully ran Enigma @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running Enigma @ '+ timecheck() + '--')
gohome()
exit()
if tool == '-lc' or tool == '--locator':
try:
os.chdir('locator')
os.system('sudo ./locator.sh')
logwrite('--[+]Successfully ran Locator @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running Locator @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ep' or tool == '--evilapp':
try:
os.chdir('EvilApp')
os.system('sudo ./evilapp.sh')
logwrite('--[+]Successfully ran EvilApp @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running EvilApp @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-lv' or tool == '--leviathan':
try:
os.chdir('leviathan')
os.system('sudo python leviathan.py')
logwrite('--[+]Successfully ran leviathan @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running leviathan @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-hc' or tool == '--hiddencry':
try:
os.chdir('hidden-cry')
os.system('sudo ./hidden-cry')
logwrite('--[+]Successfully ran hidden-cry @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running hidden-cry @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-df' or tool == '--droidfiles':
try:
os.chdir('droidfiles')
os.system('sudo ./droidfiles.sh')
logwrite('--[+]Successfully ran droidfiles @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running droidfiles @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-af' or tool == '--avetfabric':
try:
os.chdir('avet')
os.system('sudo python3 avet.py')
logwrite('--[+]Successfully ran avet_fabric @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running avet_fabric @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-sn' or tool == '--snort':
try:
ipnet = input('[*]Enter IP net (ex. 192.168.1.0/24): ')
print('[*]Putting Snort in NIDS Mode, Enter ^Z to exit...')
os.system("sudo snort -d -l snortlogs/ -h " + ipnet + " -A console -c /etc/snort/snort.conf")
logwrite('--[+]Successfully ran snort @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running snort @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-iy' or tool == '--ispy':
try:
os.chdir('ispy')
os.system('sudo ./ispy')
logwrite('--[+]Successfully ran ispy @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running ispy @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-nt' or tool == '--nekobot':
try:
os.chdir('NekoBotV1')
os.system('sudo python NekoBot.py')
logwrite('--[+]Successfully ran NekoBotV1 @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running NekoBotV1 @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ci' or tool == '--cuteit':
try:
ip = input('[*]Enter host IP: ')
os.chdir('Cuteit')
os.system('sudo python3 Cuteit.py ' + ip)
logwrite('--[+]Successfully ran Cuteit @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running Cuteit @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-tb' or tool == '--ftpbruter':
try:
os.chdir('FTPBruter')
os.system('sudo python3 ftpbruter.py')
logwrite('--[+]Successfully ran ftpbruter @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running Cuteit @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-cd' or tool == '--crydroid':
try:
os.chdir('crydroid')
os.system('sudo ./crydroid.sh')
logwrite('--[+]Successfully ran crydroid @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running crydroid @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-vp' or tool == '--evilpdf':
try:
os.chdir('evilpdf')
os.system('sudo python3 evilpdf.py')
logwrite('--[+]Successfully ran evilpdf @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running evilpdf @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-el' or tool == '--evildll':
try:
os.chdir('evildll')
os.system('sudo ./evildll.sh')
logwrite('--[+]Successfully ran evilddl @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running evildll @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-dt' or tool == '--droidtracker':
try:
os.chdir('DroidTracker')
os.system('sudo ./droidtracker.sh')
logwrite('--[+]Successfully ran droidtracker @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running droidtracker @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-mc' or tool == '--hmmcookies':
try:
os.chdir('hmmcookies')
os.system('sudo ./hmmcookies.sh')
logwrite('--[+]Successfully ran hmmcookies @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running hmmcookies @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-yh' or tool == '--sayhello':
try:
os.chdir('sayhello')
os.system('sudo ./sayhello.sh')
logwrite('--[+]Successfully ran sayhello @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running sayhello @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-rs' or tool == '--dronesploit':
try:
os.system('sudo dronesploit')
logwrite('--[+]Successfully ran dronesploit @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running dronesploit @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ad' or tool == '--adbtoolkit':
try:
os.chdir('ADB-Toolkit')
os.system('sudo ./ADB-Toolkit.sh')
logwrite('--[+]Successfully ran ADB-Toolkit @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running ADB-Toolkit @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-n2' or tool == '--ninjac2':
try:
os.chdir('Ninja')
os.system('sudo python start_campaign.py')
logwrite('--[+]Successfully ran NinjaC2 @ ' + timecheck() + '--')
except:
logwrite('--[*]Error running NinjaC2 @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-ic' or tool == '--inspircd':
try:
os.system("sudo service inspircd start")
print('[+]Successfully started InspIRCd server!\n[*]To stop the server enter "sudo service inspircd stop"')
logwrite('--[+]Successfully started InspIRCd server @ ' + timecheck() + '--')
except:
print('--[*]Error starting InspIRCd server!')
logwrite('--[*]Error starting InspIRCd server @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-hs' or tool == '--httprevshell':
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(("8.8.8.8", 80))
os.chdir('HTTP-revshell')
print('[*] Starting HTTP-revshell server with SSL encryption on port 4444!\nTo stop the server enter ^C...')
os.system("sudo python3 server.py --ssl " + str(s.getsockname()[0]) + " 4444")
print('[+]Successfully ran HTTP-revshell server!')
logwrite('--[+]Successfully ran HTTP-revshell server @ ' + timecheck() + '--')
except:
print('[*]Error running HTTP-revshell...')
logwrite('--[*]Error running HTTP-revshell @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-if' or tool == '--infog':
try:
os.chdir('infog')
os.system('sudo ./infog.sh')
print('[+]Successfully ran infog!')
logwrite('--[+]Successfully ran infog @ ' + timecheck() + '--')
except:
print('[*]Error running infog...')
logwrite('--[*]Error running infog @ ' + timecheck() + '--')
gohome()
exit()
if tool == '-lt' or tool == '--lstools':
print('[*]BIOS_UBTU_Rooter.sh - Ubuntu BIOS USB Boot Exploit')
print('[*]LinEnum - Linux Shell Enumeration Tool')
print('[*]Linux - Linux Exploits & Enumeration Scripts')
print('[*]Mimikatz_trunk - Windows Post Exploitation Tool')
print('[*]mysql - SQL Exploits & Enumeration Scripts')
print('[*]passwd_backdoor.sh - Post Exploit /etc/passwd backdoor user inserter')
print('[*]pspy - Process Scanner for Linux')
print('[*]windows-privesc-check - Windows Privelege Escalation Scripts')
print('[*]Windows-Privelege-Escalation - Windows Privelege Escalation Scripts')
print('[*]Chrompass - AV-Undetectable Chrome Login Extraction Tool')
print('[*]htbenum - Offline Local Enum Server (Mainly for HTB)')
print('[*]PeekABoo - Enables RDP Service (WinRM/WinServer only')
print('[*]firefox_decrypt - Mozilla Browser Saved Login Extractor')
print('[*]Powershell-reverse-tcp - Reverse TCP Powershell Payload w/ Obfuscation')
print('[*]Invoker - Post Windows Non-GUI Shell Utility')
print('[*]HiveJack - Windows SAM Dump Tool')
print('[*]Win-Brute-Logon - Post Tool For Cracking User Passwords (XP -> 10)')
print('[*]Covermyass - Covers Your Tracks on UNIX Systems')
print('[*]GhostShell - AV Bypass, Anti VM, Anti Disassembly Payload Encoder')
print('[*]gtfo - Unix Binary Search Tool')
print('[*]Grok-backdoor - Python-Based Backdoor with Ngrok Tunneling')
print('[*]Mimikatz - Windows Password, Hash, PIN, and kerberos ticket extraction tool')
gohome()
exit()
if tool not in short or tool not in long:
print(sys.argv[1] + ' not an option!')