🕵️♂️ (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
create(dev/): new category `dev` for email scan and first module huggingface
kaifcodec043f0a1eb90b
diff --git a/user_scanner/email_scan/dev/__init__.py b/user_scanner/email_scan/dev/__init__.pynew file mode 100644index 0000000..e69de29diff --git a/user_scanner/email_scan/dev/huggingface.py b/user_scanner/email_scan/dev/huggingface.pynew file mode 100644index 0000000..93f341e--- /dev/null+++ b/user_scanner/email_scan/dev/huggingface.py@@ -0,0 +1,37 @@+import httpx+from user_scanner.core.result import Result+++async def _check(email: str) -> Result:+ url = "https://huggingface.co/api/check-user-email"+ params = {'email': email}+ headers = {+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36",+ 'Accept-Encoding': "identity",+ 'referer': "https://huggingface.co/join",+ 'priority': "u=1, i"+ }++ async with httpx.AsyncClient(http2=True) as client:+ try:+ response = await client.get(url, params=params, headers=headers)++ if response.status_code == 429:+ return Result.error("Rate limited wait for few minutes")++ if response.status_code == 400:+ data = response.json()+ if "already exists" in data.get("error", ""):+ return Result.taken()++ if response.status_code == 200:+ return Result.available()++ return Result.error(f"HTTP Error: {response.status_code}")++ except Exception as e:+ return Result.error(e)+++async def validate_huggingface(email: str) -> Result:+ return await _check(email)