Fix all 47 bugs — hardened attack engine, UI/UX, proxy, CAPTCHA, config

This commit is contained in:
Dr Jones
2026-05-22 18:21:27 -07:00
parent 1152a937f7
commit bef3de1245
25 changed files with 868 additions and 150 deletions

15
main.py
View File

@@ -14,6 +14,10 @@ import os
# Add project root to path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
# bug #35: ensure data directories exist before any module tries to write them
from config import ensure_dirs
ensure_dirs()
# Configure logging
logging.basicConfig(
level=logging.INFO,
@@ -43,6 +47,17 @@ def check_dependencies():
except ImportError:
missing.append("numpy")
# bug #27: add aiohttp and aiohttp_socks to required checks
try:
import aiohttp
except ImportError:
missing.append("aiohttp")
try:
import aiohttp_socks
except ImportError:
missing.append("aiohttp-socks")
# GPU libraries are optional
try:
import cupy