-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
79 lines (66 loc) · 2.69 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
from Functions import *
banner = f"""
____ _ __ ________
/ __ \(_)_____________ _________/ / / ____/ /__ ____ _____ ___ _____
/ / / / / ___/ ___/ __ \/ ___/ __ / / / / / _ \/ __ `/ __ \/ _ \/ ___/
/ /_/ / (__ ) /__/ /_/ / / / /_/ / / /___/ / __/ /_/ / / / / __/ /
/_____/_/____/\___/\____/_/ \__,_/ \____/_/\___/\__,_/_/ /_/\___/_/
CREATED BY NYXOY
"""
choices = f""" [{white}1{blue}] Check + Clean [{white}4{blue}] Help
[{white}2{blue}] Check Injections [{white}5{blue}] Exit
[{white}3{blue}] Clean Injections
"""
def menu():
clear()
print(blue + banner)
print(choices)
while True:
menu()
choice = input(f"[{white}!{blue}] {white}Enter Choice: ")
if choice == "1":
clear()
print(blue + banner + white)
check_clean_discord()
input(f"[{blue}FINISHED{white}] Press Enter to return to the main menu...")
elif choice == "2":
clear()
print(blue + banner + white)
check_injection_discord()
input(f"[{blue}FINISHED{white}] Press Enter to return to the main menu...")
elif choice == "3":
clear()
print(blue + banner + white)
print(f"{blue}[{white}1{blue}] {white}Discord")
print(f"{blue}[{white}2{blue}] {white}Discord Canary")
print(f"{blue}[{white}3{blue}] {white}Discord PTB\n")
version = input(f"[{blue}VERSION{white}] {white}Version You Want To Clean (1/2/3): ")
if version == "1":
clear()
print(blue + banner + white)
clean_discord_version("1")
elif version == "2":
clear()
print(blue + banner + white)
clean_discord_version("2")
elif version == "3":
clear()
print(blue + banner + white)
clean_discord_version("3")
else:
print(f"[{red}ERROR{white}] Invalid Choice")
input(f"[{blue}FINISHED{white}] Press Enter to return to the main menu...")
elif choice == "4":
clear()
print(blue + banner + white)
print(help)
input(f"[{blue}FINISHED{white}] Press Enter to return to the main menu...")
elif choice == "5":
clear()
print(blue + banner + white)
print(f"[{blue}FINISHED{white}] Press Enter To Exit...")
input()
break
else:
print(f"[{red}ERROR{white}] Invalid Choice")
input(f"\n[{blue}FINISHED{white}] Press Enter to return to the main menu...")