🕵️♂️ (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(spankbang): impersonate Safari to clear the Cloudflare challenge
Bruno Leonardo Michelsae702bb1dd69
diff --git a/user_scanner/user_scan/adult/spankbang.py b/user_scanner/user_scan/adult/spankbang.pyindex af7deca..307cc77 100644--- a/user_scanner/user_scan/adult/spankbang.py+++ b/user_scanner/user_scan/adult/spankbang.py@@ -5,11 +5,19 @@ from user_scanner.core.impersonate import impersonate_validatefrom user_scanner.core.result import Result+# Cloudflare serves a managed challenge to the Chrome fingerprint on every+# path of this domain; the Safari one is let through.+IMPERSONATE = "safari17_0"++def validate_spankbang(user):url = f"https://spankbang.com/profile/{user}"show_url = urldef process(response):+ if response.headers.get("cf-mitigated") == "challenge":+ return Result.error("Cloudflare challenge, cannot be solved without a browser", url=show_url)+if response.status_code == 404:return Result.available(url=show_url)@@ -24,7 +32,7 @@ def validate_spankbang(user):return Result.error("Profile confirmation not found", url=show_url)- return impersonate_validate(url, process, show_url=show_url)+ return impersonate_validate(url, process, impersonate=IMPERSONATE, show_url=show_url)def _is_profile(html_text: str, user: str) -> bool: