🕵️♂️ (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(yaga): name the CloudFront country block instead of a bare 403 (#549)
BrunoLMa4744b199a51
diff --git a/user_scanner/user_scan/shopping/yaga_co_za.py b/user_scanner/user_scan/shopping/yaga_co_za.pyindex f1f34f8..9f2dfc7 100644--- a/user_scanner/user_scan/shopping/yaga_co_za.py+++ b/user_scanner/user_scan/shopping/yaga_co_za.py@@ -8,6 +8,9 @@ from user_scanner.core.orchestrator import generic_validatefrom user_scanner.core.result import Result+GEO_BLOCK_MARKER = "configured to block access from your country"++def validate_yaga_co_za(user: str) -> Result:user = user.lower()url = f"https://www.yaga.co.za/{quote(user, safe='')}"@@ -23,6 +26,11 @@ def validate_yaga_co_za(user: str) -> Result:return Result.available()if response.status_code != 200:+ # CloudFront fronts this shop and refuses whole countries outright;+ # that 403 says nothing about the handle.+ if response.status_code == 403 and GEO_BLOCK_MARKER in response.text:+ return Result.error("CloudFront blocks this country, the site is unreachable from here")+return Result.error(f"Unexpected response status: {response.status_code}",)diff --git a/user_scanner/user_scan/shopping/yaga_ee.py b/user_scanner/user_scan/shopping/yaga_ee.pyindex 02adde4..64e2499 100644--- a/user_scanner/user_scan/shopping/yaga_ee.py+++ b/user_scanner/user_scan/shopping/yaga_ee.py@@ -8,6 +8,9 @@ from user_scanner.core.orchestrator import generic_validatefrom user_scanner.core.result import Result+GEO_BLOCK_MARKER = "configured to block access from your country"++def validate_yaga_ee(user: str) -> Result:user = user.lower()url = f"https://www.yaga.ee/{quote(user, safe='')}"@@ -23,6 +26,11 @@ def validate_yaga_ee(user: str) -> Result:return Result.available()if response.status_code != 200:+ # CloudFront fronts this shop and refuses whole countries outright;+ # that 403 says nothing about the handle.+ if response.status_code == 403 and GEO_BLOCK_MARKER in response.text:+ return Result.error("CloudFront blocks this country, the site is unreachable from here")+return Result.error(f"Unexpected response status: {response.status_code}",)