🕵️♂️ (2-in-1) Email & Username OSINT suite featuring native MCP support for deep data extraction just from a single Email/Username. Analyzes 2720+ actively maintained scan vectors (210+ email / 2510+ username) for security research, investigations, and digital footprinting.
Python cybersecuritycybersecurity-toolsemail-osintethical-hackingethical-hacking-toolsidentificationinfosecosintosint-emailosint-toolosint-toolsosint-usernamepentestingpythonredteam-toolsredteamingthreat-intelligence
fix: threadpoolexecutor bottleneck causing timeout on username scan
Kaif6fd6444e416c
diff --git a/user_scanner/core/engine.py b/user_scanner/core/engine.pyindex f3c9952..3706a47 100644--- a/user_scanner/core/engine.py+++ b/user_scanner/core/engine.py@@ -1,11 +1,13 @@import asyncioimport inspect+import concurrent.futures+from typing import Listfrom types import ModuleType-from user_scanner.core.result import Resultfrom user_scanner.core.helpers import find_category, get_site_name, load_modules, load_categories+_shared_executor = concurrent.futures.ThreadPoolExecutor(max_workers=60)async def check(module: ModuleType, target: str) -> Result:module_name = module.__name__.split(".")[-1]@@ -27,7 +29,8 @@ async def check(module: ModuleType, target: str) -> Result:if inspect.iscoroutinefunction(func):result = await func(target)else:- result = await asyncio.to_thread(func, target)+ loop = asyncio.get_running_loop()+ result = await loop.run_in_executor(_shared_executor, func, target)except Exception as e:result = Result.error(e)@@ -65,3 +68,4 @@ async def check_all(target: str, is_email: bool = True) -> List[Result]:results.extend(sublist)return results+