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.

refactor: edit the response parsing logic, fixes false negatives

kaifcodecfbcbe548c948
diff --git a/user_scanner/email_scan/adult/pornhub.py b/user_scanner/email_scan/adult/pornhub.py
index b11b27b..30a8cbd 100644
--- a/user_scanner/email_scan/adult/pornhub.py
+++ b/user_scanner/email_scan/adult/pornhub.py
@@ -57,9 +57,9 @@ async def _check(email: str) -> Result:
if "delivery issues" in error_msg:
return Result.error(url=show_url, reason="The email is experiencing email delivery issues")
- if status == "create_account_passed":
+ if status == "create_account_passed" and error_msg == "":
return Result.available(url=show_url)
- elif "already in use" in error_msg.lower() or "already registered" in error_msg:
+ elif status == "create_account_failed" and "already registered" in error_msg:
return Result.taken(url=show_url)
else:
return Result.error(f"Unexpected API response: {status}: {error_msg}")