Skip to content

🕵️‍♂️ (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.

Merge pull request #416 from kaifcodec/feat/concurrency-and-timeout-flags

Kaifb845205a2a2c
diff --cc user_scanner/core/helpers.py
index 38707d3,c2d2dd7..c2196b7
--- a/user_scanner/core/helpers.py
+++ b/user_scanner/core/helpers.py
@@@ -62,17 -53,18 +62,27 @@@ class ScanConfig
no_nsfw: bool = False
only_found: bool = False
verbose: bool = False
+ timeout: Optional[float] = None
+
+ _global_timeout: Optional[float] = None
+
+ def set_global_timeout(timeout: float) -> None:
+ global _global_timeout
+ _global_timeout = timeout
+
+ def get_global_timeout() -> Optional[float]:
+ return _global_timeout
+def is_valid_email(email: str) -> bool:
+ if not email or len(email) > 254:
+ return False
+ local, _, domain = email.rpartition("@")
+ if len(local) > 64 or len(domain) > 253:
+ return False
+ return bool(EMAIL_RE.fullmatch(email))
+
+
def get_site_name(module) -> str:
name = module.__name__.split(".")[-1].capitalize().replace("_", ".")
if name == "X":