🕵️♂️ (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
add: new `porn` category and email validation function for Pornhub
json-hunter0754b5a8fc248d
diff --git a/user_scanner/email_scan/__init__.py b/user_scanner/email_scan/__init__.pynew file mode 100644index 0000000..e69de29diff --git a/user_scanner/email_scan/porn/pornhub.py b/user_scanner/email_scan/porn/pornhub.pynew file mode 100644index 0000000..33c8b14--- /dev/null+++ b/user_scanner/email_scan/porn/pornhub.py@@ -0,0 +1,62 @@+import httpx+import re+from user_scanner.core.result import Result++async def _check(email: str) -> Result:+ base_url = "https://www.pornhub.com"+ check_api = f"{base_url}/api/v1/user/create_account_check"++ headers = {+ "user-agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36",+ "x-requested-with": "XMLHttpRequest",+ "origin": base_url,+ "referer": base_url + "/",+ "content-type": "application/x-www-form-urlencoded; charset=UTF-8"+ }++ async with httpx.AsyncClient(http2=True, follow_redirects=True, timeout=3) as client:+ try:+ landing_resp = await client.get(base_url, headers=headers)+ token_match = re.search(r'var\s+token\s*=\s*"([^"]+)"', landing_resp.text)++ if not token_match:+ return Result.error("Failed to extract dynamic token from HTML")++ token = token_match.group(1)++ params = {"token": token}+ payload = {+ "check_what": "email",+ "email": email+ }++ response = await client.post(+ check_api,+ params=params,+ headers=headers,+ data=payload+ )++ if response.status_code == 429:+ return Result.error("Rate limited, wait for a few minutes")++ if response.status_code != 200:+ return Result.error(f"HTTP Error: {response.status_code}")++ data = response.json()+ status = data.get("email")+ error_msg = data.get("error_message", "")++ if status == "create_account_passed":+ return Result.available()+ elif "already in use" in error_msg.lower() or status != "create_account_passed":+ return Result.taken()+ else:+ return Result.error(f"Unexpected API response: {status}")++ except Exception as e:+ return Result.error(e)+++async def validate_pornhub(email: str) -> Result:+ return await _check(email)diff --git a/user_scanner/email_scan/social/__init__.py b/user_scanner/email_scan/social/__init__.pynew file mode 100644index 0000000..e69de29