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.

minor fixes

kaifcodec2316647a01b6
diff --git a/user_scanner/__main__.py b/user_scanner/__main__.py
index 6a34a88..9760ce8 100644
--- a/user_scanner/__main__.py
+++ b/user_scanner/__main__.py
@@ -1,4 +1,5 @@
import argparse
+import re
from user_scanner.core.orchestrator import run_checks, load_modules
from colorama import Fore, Style
@@ -59,6 +60,8 @@ def main():
if not args.username:
print(Fore.RED + "[!] Please provide a username with -u or --username." + Style.RESET_ALL)
return
+ if re.search(r"[^a-zA-Z0-9._-]", args.username):
+ print(Fore.RED + f"[!] Username '{args.username}' contains unsupported special characters. X (Twitter) doesn't support these." + Style.RESET_ALL)
from user_scanner import dev, social, creator, community
diff --git a/user_scanner/core/orchestrator.py b/user_scanner/core/orchestrator.py
index baf78b4..40d0def 100644
--- a/user_scanner/core/orchestrator.py
+++ b/user_scanner/core/orchestrator.py
@@ -14,9 +14,7 @@ def load_modules(package):
return modules
def run_module_single(module, username):
- """
- Run a single module's validate_ function on the given username.
- """
+
func = next((getattr(module, f) for f in dir(module)
if f.startswith("validate_") and callable(getattr(module, f))), None)
site_name = module.__name__.split('.')[-1].capitalize()
@@ -38,9 +36,6 @@ def run_module_single(module, username):
print(f" {Fore.YELLOW}[!] {site_name} has no validate_ function{Style.RESET_ALL}")
def run_checks_category(package, username, verbose=False):
- """
- Run all modules in a given package (category) on the username.
- """
modules = load_modules(package)
category_name = package.__name__.split('.')[-1].capitalize()
print(f"{Fore.MAGENTA}== {category_name} SITES =={Style.RESET_ALL}")
diff --git a/user_scanner/social/x.py b/user_scanner/social/x.py
index 934e91e..454a50c 100644
--- a/user_scanner/social/x.py
+++ b/user_scanner/social/x.py
@@ -18,7 +18,7 @@ def validate_x(user):
try:
response = httpx.get(url, params=params, headers=headers, timeout = 3.0)
- print(status)
+ status = response.status_code
if status in [401, 403, 429]:
return 2
@@ -29,6 +29,9 @@ def validate_x(user):
return 1
elif data.get('reason') == 'taken':
return 0
+ elif data.get('reason') == "improper_format":
+ print(data.get('desc'))
+ return 2
else:
return 2