-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
69 lines (56 loc) · 1.82 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
import modules.module1 as deobfuscator1
import os
class colors:
BLACK = '\033[0;30m'
RED = '\033[0;31m'
GREEN = '\033[0;32m'
YELLOW = '\033[0;33m'
BLUE = '\033[0;34m'
PURPLE = '\033[0;35m'
CYAN = '\033[0;36m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
def main():
printTitle()
printOption(1, "https://development-tools.net/python-obfuscator/process DEOBFUSCATOR")
printOption(2, "Exit")
x = input(f"[{colors.YELLOW}>{colors.RED}] ")
handleInput(x)
def printTitle():
os.system("cls")
title = [
" ______ _______ _______ ______ _______ ",
"( __ \ ( ____ \( ___ )( ___ \ ( ____ \|\ /|",
"| ( \ )| ( \/| ( ) || ( ) )| ( \/| ) ( |",
"| | ) || (__ | | | || (__/ / | (__ | | | |",
"| | | || __) | | | || __ ( | __) | | | |",
"| | ) || ( | | | || ( \ \ | ( | | | |",
"| (__/ )| (____/\| (___) || )___) )| ) | (___) |",
"(______/ (_______/(_______)|/ \___/ |/ (_______)",
]
for line in title:
print(f"{colors.RED}", end="")
centerText(line)
def centerText(text):
size = text.__len__()
consoleWidth = os.get_terminal_size().columns
spaces = (consoleWidth - size) / 2
for i in range(int(spaces)):
print(" ", end="")
print(text)
def printOption(num,option):
print(f"{colors.RED}[{colors.YELLOW}{num}{colors.RED}] {option}")
def handleInput(x):
if x == "1":
magic = input("[*] Magic: ")
love = input("[*] Love: ")
god = input("[*] God: ")
destiny = input("[*] Destiny: ")
type1 = deobfuscator1.Deobfuscator(magic,love,god,destiny)
type1.run()
if x == "2":
exit(0)
else:
main()
if __name__ == "__main__":
main()