π§ Cookie Stealer Simulator GUI – Ethical Hacker Tool Built in Python | FuzzuTech
Demo :
Click Video πππ
Description: Learn how to simulate a cookie stealing tool in Python using a dark-themed GUI. This ethical hacker tool is built with tkinter + ttkbootstrap and includes sound + alert popups.
Features :
-
Embedded YouTube Short
-
2–3 Screenshots of GUI
-
Code Snippet (above)
-
Download Button for
.pyfile or GitHub link -
Share buttons (WhatsApp, Telegram, LinkedIn)
Code :
import tkinter as tk
from ttkbootstrap import Style
from tkinter import messagebox, PhotoImage
from playsound import playsound
import threading
import time
# Initialize modern style
style = Style(theme="cyborg")
root = style.master
root.title("Cookie Stealer Simulator")
root.geometry("500x400")
root.resizable(False, False)
# Load Image
cookie_icon = tk.PhotoImage(file="assets/cookie.png")
# Header Label
header = tk.Label(root, text="πͺ Cookie Stealer Simulation", font=("Helvetica", 18, "bold"), fg="#ffcc00", bg="#2b2b2b")
header.pack(pady=20)
# Cookie Image
img_label = tk.Label(root, image=cookie_icon, bg="#2b2b2b")
img_label.pack(pady=10)
# Status Label
status_label = tk.Label(root, text="Status: Idle", font=("Helvetica", 12), bg="#2b2b2b", fg="white")
status_label.pack(pady=5)
# Fake Cookie Data
fake_cookie = {
"session_id": "XYZ123456ABC",
"auth_token": "tok_7a9a8c_secret_value"
}
# Simulate Steal Function
def simulate_cookie_steal():
status_label.config(text="Status: Stealing Cookies... πͺ", fg="orange")
time.sleep(2)
playsound("assets/alert.wav")
messagebox.showinfo("Alert", f"Stolen Cookie:\nSession ID: {fake_cookie['session_id']}\nToken: {fake_cookie['auth_token']}")
status_label.config(text="Status: Done ✅", fg="lime")
# Run in Thread
def run_simulation():
threading.Thread(target=simulate_cookie_steal).start()
# Button
steal_btn = tk.Button(root, text="Start Simulation", command=run_simulation, font=("Helvetica", 14, "bold"),
bg="#1f1f1f", fg="white", activebackground="green", padx=20, pady=10)
steal_btn.pack(pady=20)
# Footer
footer = tk.Label(root, text="Developed by FuzzuTech", font=("Courier", 10), bg="#2b2b2b", fg="#888")
footer.pack(side="bottom", pady=10)
root.configure(bg="#2b2b2b")
root.mainloop()
Comments
Post a Comment