-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvast-REWRITE.py
967 lines (811 loc) · 61.2 KB
/
vast-REWRITE.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
#!/usr/bin/python
# -*- coding: UTF-8 -*-
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██╗███╗ ███╗██████╗ ██████╗ ██████╗ ████████╗██╗███╗ ██╗ ██████╗
██║████╗ ████║██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝██║████╗ ██║██╔════╝
██║██╔████╔██║██████╔╝██║ ██║██████╔╝ ██║ ██║██╔██╗ ██║██║ ███╗
██║██║╚██╔╝██║██╔═══╝ ██║ ██║██╔══██╗ ██║ ██║██║╚██╗██║██║ ██║
██║██║ ╚═╝ ██║██║ ╚██████╔╝██║ ██║ ██║ ██║██║ ╚████║╚██████╔╝
╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
'''
import pip
def install(package):
if hasattr(pip, 'main'):
pip.main(['install', package])
else:
pip._internal.main(['install', package])
try:
import pymongo
except ModuleNotFoundError:
install('pymongo')
install('pymongo[srv]')
try:
import win10toast
except ModuleNotFoundError:
install('win10toast')
try:
import fade
except ModuleNotFoundError:
install('colorama')
try:
import requests
except ModuleNotFoundError:
install('requests')
try:
import pywin
except:
install('pywin32')
# Importing Modules Installed With Python
import os
import re
import sys
import json
import time
import ctypes
import base64
import datetime
import subprocess
import webbrowser
# Importing External Modules
import fade
import requests
# From Imports
from colorama import *
from time import sleep
from random import random
from threading import Thread
from pymongo import MongoClient
from win10toast import ToastNotifier
from urllib.request import Request, urlopen
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██╗ ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗ ███████╗███████╗
██║ ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝
██║ ██║███████║██████╔╝██║███████║██████╔╝██║ █████╗ ███████╗
╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║ ██╔══╝ ╚════██║
╚████╔╝ ██║ ██║██║ ██║██║██║ ██║██████╔╝███████╗███████╗███████║
╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
'''
# Set Windows Notification Variable
if os.name == 'nt':
toast_noti = ToastNotifier()
# Create Groups Array
Groups = []
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
████████╗███████╗██╗ ██╗████████╗ ██╗ ███╗ ███╗███████╗███╗ ██╗██╗ ██╗
╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝ ██║ ████╗ ████║██╔════╝████╗ ██║██║ ██║
██║ █████╗ ╚███╔╝ ██║ ████████╗ ██╔████╔██║█████╗ ██╔██╗ ██║██║ ██║
██║ ██╔══╝ ██╔██╗ ██║ ██╔═██╔═╝ ██║╚██╔╝██║██╔══╝ ██║╚██╗██║██║ ██║
██║ ███████╗██╔╝ ██╗ ██║ ██████║ ██║ ╚═╝ ██║███████╗██║ ╚████║╚██████╔╝
╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═════╝
'''
# Main Menu
menu = """
::: ::: ::: :::::::: :::::::::::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#++:++#++: +#++:++#++ +#+
+#+ +#+ +#+ +#+ +#+ +#+
#+#+#+# #+# #+# #+# #+# #+#
### ### ### ######## ###
+══════════════════════════════╦════════════════════════════════+
| [1] Group Creator | [6] Mass PFP Change |
| [2] Add/Remove People | [7] Group Count |
| [3] Change Token | [8] Change Colors |
| [4] Transfer Groups | [9] Call Crasher |
| [5] Name Changer | [10] Multi-Group Creator |
+══════════════════════════════╧════════════════════════════════+
"""
# Color Menu
colours = """
::: ::: ::: :::::::: :::::::::::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#++:++#++: +#++:++#++ +#+
+#+ +#+ +#+ +#+ +#+ +#+
#+#+#+# #+# #+# #+# #+# #+#
### ### ### ######## ###
+══════════════════════════════╦════════════════════════════════+
| [1] Black & White | [5] Pink & Red |
| [2] Purple & Pink | [6] Purple & Blue |
| [3] Green & Blue | [7] Brazil |
| [4] Water | [8] Random |
+══════════════════════════════╧════════════════════════════════+
"""
# NAme Menu
name_options = """
::: ::: ::: :::::::: :::::::::::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#++:++#++: +#++:++#++ +#+
+#+ +#+ +#+ +#+ +#+ +#+
#+#+#+# #+# #+# #+# #+# #+#
### ### ### ######## ###
+══════════════════════════════╦════════════════════════════════+
| [1] Custom Name | [3] Random Emojis |
| [2] Random Hex | [4] Name from names.txt |
+══════════════════════════════╧════════════════════════════════+
"""
# Small Text For Modules & Authentication
text = """
::: ::: ::: :::::::: :::::::::::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +:+ +#++:++#++: +#++:++#++ +#+
+#+ +#+ +#+ +#+ +#+ +#+
#+#+#+# #+# #+# #+# #+# #+#
### ### ### ######## ###
"""
# Setting Default Small Text To Green And Blue
default_text = fade.greenblue(text)
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
█████╗ ██╗ ██╗████████╗██╗ ██╗███████╗███╗ ██╗████████╗██╗ ██████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
██╔══██╗██║ ██║╚══██╔══╝██║ ██║██╔════╝████╗ ██║╚══██╔══╝██║██╔════╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
███████║██║ ██║ ██║ ███████║█████╗ ██╔██╗ ██║ ██║ ██║██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
██╔══██║██║ ██║ ██║ ██╔══██║██╔══╝ ██║╚██╗██║ ██║ ██║██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
██║ ██║╚██████╔╝ ██║ ██║ ██║███████╗██║ ╚████║ ██║ ██║╚██████╗██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
'''
class Authentication:
def get_uuid():
command = str(subprocess.check_output('wmic csproduct get uuid'))
correct_position = command.find('\\n')+2
return command[correct_position:-15].rstrip()
def check_whitelist():
try:
check = db.count_documents({"uuid": Authentication.get_uuid()})
if check >= 1:
return True
else:
return False
except Exception as e:
print("[VAST ERROR] Unable to connect to the database")
input()
sys.exit()
def get_user(key : str):
if Authentication.check_whitelist():
user = {"uuid": Authentication.get_uuid()}
try:
return db.find_one(user)[key]
except:
pass
else:
return False
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██████╗ ██████╗ ███╗ ███╗███╗ ███╗ ██████╗ ███╗ ██╗ ███████╗██╗ ██╗███╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗
██╔════╝██╔═══██╗████╗ ████║████╗ ████║██╔═══██╗████╗ ██║ ██╔════╝██║ ██║████╗ ██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝
██║ ██║ ██║██╔████╔██║██╔████╔██║██║ ██║██╔██╗ ██║ █████╗ ██║ ██║██╔██╗ ██║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗
██║ ██║ ██║██║╚██╔╝██║██║╚██╔╝██║██║ ██║██║╚██╗██║ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║
╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║╚██████╔╝██║ ╚████║ ██║ ╚██████╔╝██║ ╚████║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
'''
def license_config(key):
try:
with open("data/config/license.json") as f:
li_conf = json.load(f)
return li_conf.get(key)
except:
pass
def config(key):
try:
with open("data/config/config.json") as f:
li_conf = json.load(f)
return li_conf.get(key)
except:
pass
def clear():
if os.name != 'nt':
os.system('clear')
else:
os.system('cls')
def percentage(part, whole):
percentage = 100 * float(part)/float(whole)
return str(percentage)[:-13]
def get_time():
now = datetime.datetime.now()
current_time = now.strftime("%H:%M")
return current_time
def trigger_notification(title, description):
try:
toast_noti.show_toast(f'{title}', description, icon_path="data/images/logo.ico", duration=6, threaded=True)
except:
pass
def update_title(title, token=None):
if token == None:
try:
if os.name == "nt":
ctypes.windll.kernel32.SetConsoleTitleW(f"{title}")
if os.name == "posix":
print(f'\33]0;{title}\a', end='', flush=True)
except:
pass
else:
h = {'Authorization': token, 'Content-Type': 'application/json'}
r = requests.get(f'https://discord.com/api/v9/users/@me', headers=h)
if r.status_code == 200:
username = r.json()['username']+'#'+r.json()['discriminator']
try:
if os.name == "nt":
ctypes.windll.kernel32.SetConsoleTitleW(f"{title} • Logged in as {username}")
if os.name == "posix":
print(f'\33]0;{title} • Logged in as {username}\a', end='', flush=True)
except:
pass
else:
try:
if os.name == "nt":
ctypes.windll.kernel32.SetConsoleTitleW(f"{title} • Logged in as INVALID TOKEN")
if os.name == "posix":
print(f'\33]0;{title} • Logged in as INVALID TOKEN\a', end='', flush=True)
except:
pass
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██████╗ ██████╗ ██╗███╗ ██╗████████╗ ██████╗ ██████╗ ██╗ ██████╗ ██╗ ██╗██████╗ ███████╗
██╔══██╗██╔══██╗██║████╗ ██║╚══██╔══╝ ██╔════╝██╔═══██╗██║ ██╔═══██╗██║ ██║██╔══██╗██╔════╝
██████╔╝██████╔╝██║██╔██╗ ██║ ██║ ██║ ██║ ██║██║ ██║ ██║██║ ██║██████╔╝███████╗
██╔═══╝ ██╔══██╗██║██║╚██╗██║ ██║ ██║ ██║ ██║██║ ██║ ██║██║ ██║██╔══██╗╚════██║
██║ ██║ ██║██║██║ ╚████║ ██║ ╚██████╗╚██████╔╝███████╗╚██████╔╝╚██████╔╝██║ ██║███████║
╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
'''
def print_menu():
if config("menu") == "blackwhite": print(fade.blackwhite(menu))
if config("menu") == "purplepink": print(fade.purplepink(menu))
if config("menu") == "greenblue": print(fade.greenblue(menu))
if config("menu") == "water": print(fade.water(menu))
if config("menu") == "pinkred": print(fade.pinkred(menu))
if config("menu") == "purpleblue": print(fade.purpleblue(menu))
if config("menu") == "brazil": print(fade.brazil(menu))
if config("menu") == "random": print(fade.random(menu))
def print_text():
if config("menu") == "blackwhite": print(fade.blackwhite(text))
if config("menu") == "purplepink": print(fade.purplepink(text))
if config("menu") == "greenblue": print(fade.greenblue(text))
if config("menu") == "water": print(fade.water(text))
if config("menu") == "pinkred": print(fade.pinkred(text))
if config("menu") == "purpleblue": print(fade.purpleblue(text))
if config("menu") == "brazil": print(fade.brazil(text))
if config("menu") == "random": print(fade.random(text))
def print_colours():
if config("menu") == "blackwhite": print(fade.blackwhite(colours))
if config("menu") == "purplepink": print(fade.purplepink(colours))
if config("menu") == "greenblue": print(fade.greenblue(colours))
if config("menu") == "water": print(fade.water(colours))
if config("menu") == "pinkred": print(fade.pinkred(colours))
if config("menu") == "purpleblue": print(fade.purpleblue(colours))
if config("menu") == "brazil": print(fade.brazil(colours))
if config("menu") == "random": print(fade.random(colours))
def print_with_ends(content):
colour = config("menu")
if colour == "blackwhite": print(f" {Fore.LIGHTWHITE_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTWHITE_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "purplepink": print(f" {Fore.LIGHTMAGENTA_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTMAGENTA_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "greenblue": print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTCYAN_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "water": print(f" {Fore.LIGHTBLUE_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTBLUE_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "pinkred": print(f" {Fore.LIGHTRED_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTRED_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "purpleblue": print(f" {Fore.LIGHTBLUE_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTBLUE_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "brazil": print(f" {Fore.LIGHTGREEN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTGREEN_EX}=>{Fore.WHITE} {content}",end='')
elif colour == "random": print(f" {Fore.LIGHTWHITE_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTWHITE_EX}=>{Fore.WHITE} {content}",end='')
else: print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTCYAN_EX}=>{Fore.WHITE} {content}",end='')
def print_module(name):
colour = config("menu")
if colour == "blackwhite": print(f" {Fore.LIGHTWHITE_EX} {name}\n")
elif colour == "purplepink": print(f" {Fore.LIGHTMAGENTA_EX} {name}\n")
elif colour == "greenblue": print(f" {Fore.LIGHTCYAN_EX} {name}\n")
elif colour == "water": print(f" {Fore.LIGHTBLUE_EX} {name}\n")
elif colour == "pinkred": print(f" {Fore.LIGHTRED_EX} {name}\n")
elif colour == "purpleblue": print(f" {Fore.LIGHTBLUE_EX} {name}\n")
elif colour == "brazil": print(f" {Fore.LIGHTGREEN_EX} {name}\n")
elif colour == "random": print(f" {Fore.LIGHTWHITE_EX} {name}\n")
else: print(f" {Fore.LIGHTCYAN_EX} {name}\n")
def vast_print(content):
colour = config("menu")
if colour == "blackwhite": print(f" {Fore.LIGHTWHITE_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "purplepink": print(f" {Fore.LIGHTMAGENTA_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "greenblue": print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "water": print(f" {Fore.LIGHTBLUE_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "pinkred": print(f" {Fore.LIGHTRED_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "purpleblue": print(f" {Fore.LIGHTBLUE_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "brazil": print(f" {Fore.LIGHTGREEN_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
elif colour == "random": print(f" {Fore.LIGHTWHITE_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
else: print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.RED}=>{Fore.WHITE} {content}")
def print_menu_choice():
colour = config("menu")
if colour == "blackwhite": print(f" {Fore.LIGHTWHITE_EX}Menu Choice => ", end='')
elif colour == "purplepink": print(f" {Fore.LIGHTMAGENTA_EX}Menu Choice => ", end='')
elif colour == "greenblue": print(f" {Fore.LIGHTCYAN_EX}Menu Choice => ", end='')
elif colour == "water": print(f" {Fore.LIGHTBLUE_EX}Menu Choice => ", end='')
elif colour == "pinkred": print(f" {Fore.LIGHTRED_EX}Menu Choice => ", end='')
elif colour == "purpleblue": print(f" {Fore.LIGHTBLUE_EX}Menu Choice => ", end='')
elif colour == "brazil": print(f" {Fore.LIGHTGREEN_EX}Menu Choice => ", end='')
elif colour == "random": print(f" {Fore.LIGHTWHITE_EX}Menu Choice => ", end='')
else: print(f" {Fore.LIGHTCYAN_EX}Menu Choice => ", end='')
def print_colour_choice():
colour = config("menu")
if colour == "blackwhite": print(f" {Fore.LIGHTWHITE_EX}Colour Choice => ", end='')
elif colour == "purplepink": print(f" {Fore.LIGHTMAGENTA_EX}Colour Choice => ", end='')
elif colour == "greenblue": print(f" {Fore.LIGHTCYAN_EX}Colour Choice => ", end='')
elif colour == "water": print(f" {Fore.LIGHTBLUE_EX}Colour Choice => ", end='')
elif colour == "pinkred": print(f" {Fore.LIGHTRED_EX}Colour Choice => ", end='')
elif colour == "purpleblue": print(f" {Fore.LIGHTBLUE_EX}Colour Choice => ", end='')
elif colour == "brazil": print(f" {Fore.LIGHTGREEN_EX}Colour Choice => ", end='')
elif colour == "random": print(f" {Fore.LIGHTWHITE_EX}Colour Choice => ", end='')
else: print(f" {Fore.LIGHTCYAN_EX}Colour Choice => ", end='')
def change_colours():
update_title(f"Vast Spammer • Change Colour", config('token'))
clear()
print_colours()
print_colour_choice()
choice = int(input())
if choice == 1: colour = "blackwhite"
elif choice == 2: colour = "purplepink"
elif choice == 3: colour = "greenblue"
elif choice == 4: colour = "water"
elif choice == 5: colour = "pinkred"
elif choice == 6: colour = "purpleblue"
elif choice == 7: colour = "brazil"
elif choice == 8: colour = "random"
else: change_colours()
data = { "token": config("token"), "menu": colour}
json.dump(data, open("data/config/config.json","w+"), indent=4)
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██████╗ ██╗███████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗██╗ ██╗███╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗
██╔══██╗██║██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔══██╗ ██╔════╝██║ ██║████╗ ██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝
██║ ██║██║███████╗██║ ██║ ██║██████╔╝██║ ██║ █████╗ ██║ ██║██╔██╗ ██║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗
██║ ██║██║╚════██║██║ ██║ ██║██╔══██╗██║ ██║ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║
██████╔╝██║███████║╚██████╗╚██████╔╝██║ ██║██████╔╝ ██║ ╚██████╔╝██║ ╚████║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║
╚═════╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
'''
def add_groups():
Groups.clear()
if os.path.exists('data/groups/groups.txt'):
with open("data/groups/groups.txt", "r") as f:
for line in f:
Groups.append(line.strip().replace("\n", ""))
def get_groups():
add_groups()
count = 0
for group_id in Groups:
count = count + 1
trigger_notification("Group Count", f"{count} groups")
def check(token):
h = {'Authorization': str(token), 'Content-Type': 'application/json'}
r = requests.get(f'https://discord.com/api/v9/users/@me', headers=h)
if r.status_code == 200:
return r.json()['id']
def group_create():
for _ in range(10):
try:
group = requests.post("https://discord.com/api/v9/users/@me/channels", headers={"Authorization": token, "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4609.3 Safari/537.36", "Content-Type": "application/json"}, json={"recipients":[], "name": "balls"})
try:
group_id = group.json()['id']
open("data/groups/groups.txt", "a+").write(f"\n{group_id}")
worked = True
except:
worked = False
if worked:
def send(group_id):
headers={"Authorization": token, "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4609.3 Safari/537.36", "Content-Type": "application/json"}
messagedata = {"content":"xeny, jonah & qoft were here <33 \n ```vast on top``` |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| @everyone discord.gg/Hwj7ETmuJy","nonce":"","tts":"true"}
send_msg = requests.post(f"https://discord.com/api/v9/channels/{group_id}/messages", json=messagedata, headers=headers)
if send_msg.status_code == 429:
sleep(2)
send(group_id)
edit(group_id)
except:
pass
def groupadder(token, group_id, user_id, user_choice):
try:
headers = {
"Authorization": token,
"accept": "*/*",
"accept-language": "en-US",
"connection": "keep-alive",
"cookie": f'__cfduid={os.urandom(43).hex()}; __dcfduid={os.urandom(32).hex()}; locale=en-US',
"DNT": "1",
"origin": "https://discord.com",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"referer": "https://discord.com/channels/@me",
"TE": "Trailers",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9001 Chrome/83.0.4103.122 Electron/9.3.5 Safari/537.36",
"X-Super-Properties": "eyJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiRGlzY29yZCBDbGllbnQiLCJyZWxlYXNlX2NoYW5uZWwiOiJzdGFibGUiLCJjbGllbnRfdmVyc2lvbiI6IjEuMC45MDAxIiwib3NfdmVyc2lvbiI6IjEwLjAuMTkwNDIiLCJvc19hcmNoIjoieDY0Iiwic3lzdGVtX2xvY2FsZSI6ImVuLVVTIiwiY2xpZW50X2J1aWxkX251bWJlciI6ODMwNDAsImNsaWVudF9ldmVudF9zb3VyY2UiOm51bGx9"
}
if user_choice == "add":
requests.put(f"https://discord.com/api/v9/channels/{group_id}/recipients/{user_id}", headers=headers)
#group3 = requests.put("https://discord.com/api/v9/channels/898665952563060807/recipients/898634379348279297", headers=headers)
if user_choice == "remove":
requests.delete(f"https://discord.com/api/v9/channels/{group_id}/recipients/{user_id}", headers=headers)
except Exception as e:
print(e)
def namechanger(token, group_id, name):
try:
headers = {
"Authorization": token,
"accept": "*/*",
"accept-language": "en-US",
"connection": "keep-alive",
"cookie": f'__cfduid={os.urandom(43).hex()}; __dcfduid={os.urandom(32).hex()}; locale=en-US',
"DNT": "1",
"origin": "https://discord.com",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-origin",
"referer": "https://discord.com/channels/@me",
"TE": "Trailers",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) discord/1.0.9001 Chrome/83.0.4103.122 Electron/9.3.5 Safari/537.36",
"X-Super-Properties": "eyJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiRGlzY29yZCBDbGllbnQiLCJyZWxlYXNlX2NoYW5uZWwiOiJzdGFibGUiLCJjbGllbnRfdmVyc2lvbiI6IjEuMC45MDAxIiwib3NfdmVyc2lvbiI6IjEwLjAuMTkwNDIiLCJvc19hcmNoIjoieDY0Iiwic3lzdGVtX2xvY2FsZSI6ImVuLVVTIiwiY2xpZW50X2J1aWxkX251bWJlciI6ODMwNDAsImNsaWVudF9ldmVudF9zb3VyY2UiOm51bGx9"
}
edit = {"name": f"{name}"}
edit_grp = requests.patch(f"https://discord.com/api/v9/channels/{group_id}", json=edit, headers=headers)
if edit_grp.status_code == 429:
sleep(1)
edit(group_id)
except Exception as e:
if "Max retries" in str(e):
vast_print("Unable to connect to discord.com")
if "429" in str(e):
vast_print("Too many requests")
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
███╗ ███╗███████╗███╗ ██╗██╗ ██╗ ███████╗██╗ ██╗███╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗
████╗ ████║██╔════╝████╗ ██║██║ ██║ ██╔════╝██║ ██║████╗ ██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝
██╔████╔██║█████╗ ██╔██╗ ██║██║ ██║ █████╗ ██║ ██║██╔██╗ ██║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗
██║╚██╔╝██║██╔══╝ ██║╚██╗██║██║ ██║ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║
██║ ╚═╝ ██║███████╗██║ ╚████║╚██████╔╝ ██║ ╚██████╔╝██║ ╚████║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
'''
def menu_choice(choice : int):
token = config('token')
if choice == 1: # GROUP CREATOR
update_title(f"Vast Spammer • Group Creator", config('token'))
clear()
print_text()
print_module("Group Creator")
if '"' in icon: icon = icon.split('"')
clear()
print_text()
vast_print("Started Group Creator, it will stop creating group chats when you close the program")
trigger_notification("Group Creator", "Started")
sleep(1)
while True:
group_create()
sleep(600)
elif choice == 2: # ADD/REMOVE PEOPLE
update_title(f"Vast Spammer • Add/Remove", token)
clear()
print_text()
print_module("Add/Remove Users")
print_with_ends(f"User ID: ")
user_id = input()
print_with_ends(f"Add or Remove: ")
user_choice = input().lower()
clear()
print_text()
vast_print("Started add/remove users module.")
if user_choice == "add": user_print = "Added"
elif user_choice == "remove": user_print = "Removed"
else: menu_choice(2)
group_amount = 0
amount = 0
for line in open("data/groups/groups.txt", "r"):
if line != "\n": group_amount += 1
with open("data/groups/groups.txt","r") as f:
for line in f:
amount += 1
sleep(0.02)
update_title(f"Vast Spammer • Add/Remove • {user_print} {amount}/{group_amount} times • {percentage(amount, group_amount)}% Done")
stripped_line = line.strip()
group_id = stripped_line.replace("\n", "")
Thread(target=groupadder, args=[token, group_id, user_id, user_choice]).start()
trigger_notification("Add/Remove User", f"Completed task!")
elif choice == 3: # TOKEN CHANGER
update_title(f"Vast Spammer • Change Token", token)
clear()
print_text()
print_module("Change Token")
print_with_ends(f"New Token: ")
token = input()
if '"' in token: token = token.split('"')[1]
menuC = config("menu")
data = {
"token": token,
"menu": menuC
}
json.dump(data, open("data/config/config.json","w+"), indent=4)
trigger_notification("Vast Spammer", "Token changed")
elif choice == 4: # GROUP TRANSFER
update_title(f"Vast Spammer • Transfer Groups", token)
clear()
print_text()
print_module("Transfer Groups")
vast_print("All groups must only have you in it.")
sleep(2)
print_with_ends("Do all your groups have only you in them? (yes/no): ")
check_input = input().lower()
if check_input == "no":
vast_print("Please remove everyone from the groups, then run this module again.")
sleep(4)
main_menu()
elif check_input == "yes":
print()
print_with_ends("Are you friends with the user you want to transfer to? (yes/no): ")
check_input = input().lower()
if check_input == "no":
vast_print("Please add the user, then run this module again.")
sleep(4)
main_menu()
elif check_input == "yes":
print_with_ends("User ID you want to transfer to: ")
transfer_id = input()
print()
vast_print("Getting your ID.....")
h = {'Authorization': token, 'Content-Type': 'application/json'}
r = requests.get(f'https://discord.com/api/v9/users/@me', headers=h)
try:
user_id = r.json()["id"]
vast_print(f"Fetched ID: {user_id}")
except:
vast_print("Invalid token....")
sleep(2)
main_menu()
sleep(2)
clear()
print_text()
print_module("Transfer Groups")
try:
get_uinfo = requests.get(f"https://discord.com/api/v9/users/{transfer_id}", headers={"Authorization": config("token")}).json()
username = get_uinfo["username"]+"#"+get_uinfo["discriminator"]
except:
vast_print("Invalid Transfer ID....")
sleep(2)
main_menu()
vast_print(f"Group Owner ID: {user_id}")
vast_print(f"Started transferring groups to {username}.")
print()
vast_print(f"Adding {username} to group chats")
with open("data/groups/groups.txt","r") as f:
for line in f:
amount += 1
update_title(f"Vast Spammer • Transfer Groups • Transfered {amount} groups")
sleep(0.02)
stripped_line = line.strip()
group_id = stripped_line.replace("\n", "")
t = threading.Thread(target=groupadder, args=[token, group_id, transfer_id, "add"])
t.start()
vast_print("Leaving group chats....")
with open("data/groups/groups.txt","r") as f:
for line in f:
sleep(0.02)
stripped_line = line.strip()
group_id = stripped_line.replace("\n", "")
t = threading.Thread(target=groupadder, args=[token, group_id, user_id, "remove"])
t.start()
else:
vast_print("Not a valid option..")
main_menu()
elif choice == 5: # Name Changer
update_title(f"Vast Spammer • Name Changer", token)
clear()
print_text()
print_module("Name Changer")
vast_print("Leave blank for random name")
print_with_ends(f"Name: ")
namesex = input("")
clear()
print_text()
vast_print("Started name changer module.")
group_amount = 0
sex = open("data/groups/groups.txt", "r")
for line in sex:
if line != "\n":
group_amount += 1
sex.close()
with open("data/groups/groups.txt", "r") as f:
if namesex:
for line in f:
name = ""
name = f"{namesex} | {os.urandom(3).hex()}"
amount += 1
update_title(f"Vast Spammer • Name Changer • Changed name of {amount}/{group_amount} groups to {name} • {percentage(amount, group_amount)}% Done")
time.sleep(0.06)
stripped_line = line.strip()
group_id = stripped_line.replace("\n", "")
t = threading.Thread(target=namechanger, args=[token, group_id, name])
t.start()
elif not namesex:
for line in f:
name = os.urandom(15).hex()
amount += 1
update_title(f"Vast Spammer • Name Changer • Changed name of {amount}/{group_amount} groups to {name} • {percentage(amount, group_amount)}% Done")
time.sleep(0.06)
stripped_line = line.strip()
group_id = stripped_line.replace("\n", "")
t = threading.Thread(target=namechanger, args=[token, group_id, name])
t.start()
trigger_notification("Mass Name Changer", "Completed")
main_menu()
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
███╗ ███╗ █████╗ ██╗███╗ ██╗ ███╗ ███╗███████╗███╗ ██╗██╗ ██╗
████╗ ████║██╔══██╗██║████╗ ██║ ████╗ ████║██╔════╝████╗ ██║██║ ██║
██╔████╔██║███████║██║██╔██╗ ██║ ██╔████╔██║█████╗ ██╔██╗ ██║██║ ██║
██║╚██╔╝██║██╔══██║██║██║╚██╗██║ ██║╚██╔╝██║██╔══╝ ██║╚██╗██║██║ ██║
██║ ╚═╝ ██║██║ ██║██║██║ ╚████║ ██║ ╚═╝ ██║███████╗██║ ╚████║╚██████╔╝
╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═════╝
'''
def main_menu():
amount = 0
token = config('token')
update_title(f"Vast Spammer • Main Menu", token)
clear()
print_menu()
print_menu_choice()
choice = input()
try: choice = int(choice)
except: main_menu()
if choice == 1: menu_choice(1); main_menu() # Group Creator
elif choice == 2: menu_choice(2); main_menu() # Add/Remove People
elif choice == 3: menu_choice(3);main_menu() # Change Token
elif choice == 4: menu_choice(4); main_menu() # Transfer Groups
elif choice == 5: menu_choice(5); main_menu() # Name Changer
elif choice == 6: main_menu() # Mass PFP Change
elif choice == 7: get_groups(); main_menu() # Group Count
elif choice == 8: change_colours(); main_menu() # Change Colours
elif choice == 9: main_menu() # Call Crasher
elif choice == 10: main_menu() # Multi Groupcreator
else: main_menu()
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
█████╗ ██╗ ██╗████████╗██╗ ██╗
██╔══██╗██║ ██║╚══██╔══╝██║ ██║
███████║██║ ██║ ██║ ███████║
██╔══██║██║ ██║ ██║ ██╔══██║
██║ ██║╚██████╔╝ ██║ ██║ ██║
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
'''
def auth():
clear()
if not os.path.exists("data/config/license.json"):
authentication_done = False
while authentication_done == False:
print(default_text)
vast_print("Vast Authentication")
sleep(1)
print_with_ends(f"Enter license key: ")
license_key = input()
print_with_ends("")
text = "Checking license key...\n"
for char in text:
sys.stdout.write(char)
time.sleep(.05)
check_license = Authentication.get_user('license')
if check_license == license_key:
vast_print(f"Authentication successful!")
sleep(2)
authentication_done = True
print_with_ends(f"Token: ")
token = input()
if '"' in token: token = token.split('"')[1]
data = {"token": token.strip(),"menu": "greenblue"}
json.dump(data,open("data/config/config.json","w+"),indent=4)
data = {"license": license_key.strip()}
json.dump(data,open("data/config/license.json","w+"),indent=4)
sleep(3)
main_menu()
else:
vast_print("Authentication failed..")
sleep(3)
clear()
else:
print_text()
vast_print("Vast Authentication")
sleep(1)
vast_print("Auto-detected previous license key....")
sleep(1)
vast_print("Checking license key...\n")
try: license = license_config('license')
except: license = None
check_license = Authentication.get_user('license')
if license == check_license:
vast_print(f"Authentication successful!")
sleep(0.5)
main_menu()
else:
try:
os.remove("data/config/license.json")
auth()
except Exception as e:
pass
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
███████╗███████╗████████╗██╗ ██╗██████╗
██╔════╝██╔════╝╚══██╔══╝██║ ██║██╔══██╗
███████╗█████╗ ██║ ██║ ██║██████╔╝
╚════██║██╔══╝ ██║ ██║ ██║██╔═══╝
███████║███████╗ ██║ ╚██████╔╝██║
╚══════╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝
'''
def setup():
update_title(f"Vast Spammer Setup • #Winning")
print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTBLACK_EX}=>{Fore.WHITE} Downloading Vast Spammer dependencies...")
try:
os.mkdir("data")
os.mkdir("data/config")
os.mkdir("data/images")
os.mkdir('data/groups')
except:
pass
r = requests.get("https://cdn.discordapp.com/attachments/854115180836028416/854569042596331590/logo.ico").content
with open('data/images/logo.ico', 'wb') as handler:
handler.write(r)
sleep(1)
print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTBLACK_EX}=>{Fore.WHITE} Download complete...")
trigger_notification('Vast Spammer', f'Download complete')
print(f" {Fore.LIGHTCYAN_EX}[{get_time()}]{Fore.RESET} {Fore.LIGHTBLACK_EX}=>{Fore.WHITE} Re-directing to setup...\n")
sleep(3)
auth()
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################
'''
██████╗ ██╗ ██╗███╗ ██╗███╗ ██╗██╗███╗ ██╗ ██████╗ ███████╗██╗ ██╗███╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗
██╔══██╗██║ ██║████╗ ██║████╗ ██║██║████╗ ██║██╔════╝ ██╔════╝██║ ██║████╗ ██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝
██████╔╝██║ ██║██╔██╗ ██║██╔██╗ ██║██║██╔██╗ ██║██║ ███╗ █████╗ ██║ ██║██╔██╗ ██║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗
██╔══██╗██║ ██║██║╚██╗██║██║╚██╗██║██║██║╚██╗██║██║ ██║ ██╔══╝ ██║ ██║██║╚██╗██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║
██║ ██║╚██████╔╝██║ ╚████║██║ ╚████║██║██║ ╚████║╚██████╔╝ ██║ ╚██████╔╝██║ ╚████║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝
'''
def init():
print(default_text)
if not os.path.exists("data/"):
setup()
else:
auth()
if __name__ == "__main__":
global Mongo, mbdb, db
update_title(f"Vast Spammer • #Winning")
if os.path.exists('pymongo.py') or os.path.exists('requests.py'):
print('mongodb+srv://iandoesit:work@niggers.on.top.cum/test?cum=true&patched=TRUE&femboy=True')
webbrowser.open('https://www.youtube.com/watch?v=O91DT1pR1ew', new=2)
input()
sys.exit()
else:
try:
Mongo = MongoClient('mongodb+srv://vast:vast123@vast.qqo4j.mongodb.net/test?ssl=true&ssl_cert_reqs=CERT_NONE')
mydb = Mongo['Users']
db = mydb['Whitelisted']
except Exception as error:
print(error)
input()
init()
##########################################################################################################################################################################################
##########################################################################################################################################################################################
##########################################################################################################################################################################################