Python Process Killer GUI App – Kill Any App with 1 Click [FuzzuTech Project]
Demo :
Click Video πππ
Features :
-
π₯ GUI in Dark Hacker Style
-
π» Kill processes by selecting them visually
-
⚙️ Uses Python, psutil, tkinter
-
π¦ Offline Utility Tool
-
π 1-Click Action | Smooth GUI | Fast Execution
-
π₯ As featured on YouTube, Instagram & Facebook
Code :
import tkinter as tk
from tkinter import ttk, messagebox
import psutil
import customtkinter as ctk
# Appearance
ctk.set_appearance_mode("dark")
ctk.set_default_color_theme("blue")
class ProcessKillerApp(ctk.CTk):
def __init__(self):
super().__init__()
self.title("Python Process Killer GUI")
self.geometry("600x420")
self.resizable(False, False)
ctk.CTkLabel(self, text="Running Processes", font=("Arial", 20, "bold")).pack(pady=10)
self.tree = ttk.Treeview(self, columns=("PID", "Name"), show="headings", height=12)
self.tree.heading("PID", text="PID")
self.tree.heading("Name", text="Process Name")
self.tree.column("PID", width=100, anchor="center")
self.tree.column("Name", width=380, anchor="w")
self.tree.pack(pady=10)
# Buttons
button_frame = ctk.CTkFrame(self)
button_frame.pack(pady=10)
self.refresh_btn = ctk.CTkButton(button_frame, text="π Refresh", command=self.list_processes)
self.refresh_btn.pack(side="left", padx=10)
self.kill_btn = ctk.CTkButton(button_frame, text="❌ Kill Selected Process", fg_color="red", command=self.kill_process)
self.kill_btn.pack(side="left", padx=10)
self.list_processes()
def list_processes(self):
for row in self.tree.get_children():
self.tree.delete(row)
for proc in psutil.process_iter(['pid', 'name']):
try:
name = proc.info['name']
if name.lower() not in ["system", "csrss.exe", "winlogon.exe", "svchost.exe"]:
self.tree.insert("", "end", values=(proc.info['pid'], name))
except Exception:
continue
def kill_process(self):
selected = self.tree.focus()
if not selected:
messagebox.showwarning("No selection", "Please select a process to kill.")
return
pid = self.tree.item(selected)['values'][0]
try:
p = psutil.Process(pid)
p.terminate()
p.wait(timeout=3)
messagebox.showinfo("Success", f"Process (pid={pid}) terminated.")
self.list_processes()
except psutil.AccessDenied:
messagebox.showerror("Access Denied", f"Cannot terminate protected process (pid={pid}).")
except psutil.TimeoutExpired:
messagebox.showerror("Timeout", f"Process (pid={pid}) did not terminate in time.")
except Exception as e:
messagebox.showerror("Error", f"Failed to kill process: {e}")
if __name__ == "__main__":
app = ProcessKillerApp()
app.mainloop()

Comments
Post a Comment