-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
52 lines (46 loc) Β· 1.86 KB
/
main.py
File metadata and controls
52 lines (46 loc) Β· 1.86 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
#!/usr/bin/env python3
import asyncio
import sys
import time
import os
from config import *
from menu import MenuSystem
from utils import get_local_ip, clean
# Update LHOST with local IP at startup
LHOST = get_local_ip()
if __name__ == "__main__":
# Check dependencies
try:
import aiohttp
import requests
print(f"{G}[β] Core dependencies loaded{W}")
except ImportError as e:
print(f"{R}[!] Missing dependency: {e}{W}")
print(f"{Y}[*] Install with: pip install aiohttp requests{W}")
sys.exit(1)
# Display disclaimer
clean()
print(f"""{R}
ββββββββββββββββββββββββββββββββββββββββββββββββ
β SECURITY DISCLAIMER β
β βββββββββββββββββββββββββββββββββββββββββββββββ£
β This tool is for EDUCATIONAL and AUTHORIZED β
β security testing only. Use only on systems β
β you own or have explicit permission to test. β
β β
β The developer is NOT responsible for any β
β misuse or damage caused by this tool. β
ββββββββββββββββββββββββββββββββββββββββββββββββ{W}""")
input(f"\n{Y}Press Enter to accept and continue...{W}")
# Start main menu
try:
menu_system = MenuSystem()
menu_system.main_menu()
except KeyboardInterrupt:
print(f"\n\n{Y}[*] Program terminated by user.{W}")
sys.exit(0)
except Exception as e:
print(f"\n{R}[!] Critical error: {e}{W}")
import traceback
traceback.print_exc()
sys.exit(1)