🕵️♂️ (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
feat: add faproulette.co email and username scan modules
Bruno Leonardo Michels1af5d90b43fb
diff --git a/user_scanner/email_scan/adult/faproulette.py b/user_scanner/email_scan/adult/faproulette.pynew file mode 100644index 0000000..e02694a--- /dev/null+++ b/user_scanner/email_scan/adult/faproulette.py@@ -0,0 +1,43 @@+import httpx+from user_scanner.core.result import Result+++async def _check(email: str) -> Result:+ show_url = "https://faproulette.co"+ url = "https://faproulette.co/api/userCheckEmail"++ 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": show_url,+ "Referer": show_url + "/",+ }+ payload = {"email": email, "timeoutID": 1}++ try:+ async with httpx.AsyncClient(http2=True, timeout=15.0) as client:+ response = await client.post(url, data=payload, headers=headers)++ 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()++ if data.get("success") == 1:+ return Result.available(url=show_url)++ error_msg = data.get("error", "")+ if "already in use" in error_msg:+ return Result.taken(url=show_url)++ return Result.error(error_msg or "Unexpected response body, report it via GitHub issues")++ except Exception as e:+ return Result.error(e)+++async def validate_faproulette(email: str) -> Result:+ return await _check(email)diff --git a/user_scanner/user_scan/adult/faproulette.py b/user_scanner/user_scan/adult/faproulette.pynew file mode 100644index 0000000..044de05--- /dev/null+++ b/user_scanner/user_scan/adult/faproulette.py@@ -0,0 +1,37 @@+import re+from user_scanner.core.orchestrator import generic_validate, Result+++def validate_faproulette(user):+ url = f"https://faproulette.co/@{user}"+ show_url = url++ def process(response):+ if response.status_code == 404:+ return Result.available(url=show_url)++ if response.status_code != 200:+ return Result.error(f"Unexpected status: {response.status_code}", url=show_url)++ # A real profile answers 200 with a canonical link echoing /@{user}; a+ # 200 without it (age gate, generic landing) is not a hit.+ canonical = _canonical_user(response.text)+ if canonical and canonical.lower() == user.lower():+ return Result.taken(url=show_url)++ return Result.error("Profile confirmation not found", url=show_url)++ return generic_validate(url, process, show_url=show_url)+++def _canonical_user(html: str) -> str | None:+ link = re.search(r'<link\b[^>]*\brel="canonical"[^>]*>', html, re.IGNORECASE)+ if not link:+ return None++ href = re.search(r'href="([^"]+)"', link.group(0), re.IGNORECASE)+ if not href:+ return None++ match = re.search(r'/@([^/?#]+)', href.group(1))+ return match.group(1) if match else None