🕵️♂️ (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
fix(wordpress): treat email_login_not_allowed as a registered account (#529)
BrunoLM0d5dd99725d2
diff --git a/user_scanner/email_scan/dev/wordpress.py b/user_scanner/email_scan/dev/wordpress.pyindex 192e4b3..05c8200 100644--- a/user_scanner/email_scan/dev/wordpress.py+++ b/user_scanner/email_scan/dev/wordpress.py@@ -34,14 +34,24 @@ async def _check(email: str) -> Result:inner_code = data.get("code")body = data.get("body", {})+ inner_error = body.get("error")if inner_code == 200:return Result.taken(url=show_url)- elif inner_code == 404 and body.get("error") == "unknown_user":++ # WordPress.com answers 403 email_login_not_allowed only for an+ # address that maps to a real account whose owner must sign in with+ # their username; an unknown address 404s instead.+ if inner_code == 403 and inner_error == "email_login_not_allowed":+ return Result.taken(+ url=show_url, extra={"login_method": "username only"}+ )++ if inner_code == 404 and inner_error == "unknown_user":return Result.available(url=show_url)- else:- error_msg = body.get("message", "Unknown API response")- return Result.error(f"WordPress Error: {error_msg}")++ error_msg = body.get("message", "Unknown API response")+ return Result.error(f"WordPress Error: {error_msg}")except httpx.TimeoutException:return Result.error("Connection timed out")