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.

fix: strict if/else condition implememtated for Result.avavilable()

Kaifefac0ca189a9
diff --git a/user_scanner/user_scan/finance/niftygateway.py b/user_scanner/user_scan/finance/niftygateway.py
index 8245c4d..48a0ba7 100644
--- a/user_scanner/user_scan/finance/niftygateway.py
+++ b/user_scanner/user_scan/finance/niftygateway.py
@@ -26,7 +26,7 @@ def validate_niftygateway(user):
return Result.available()
except Exception:
pass
- elif response.status_code == 404:
+ elif response.status_code in (404, 400) or 'not_found' in response.text:
return Result.available()
return Result.error("Unexpected response body, report it via GitHub issues.")
diff --git a/user_scanner/user_scan/social/fotka.py b/user_scanner/user_scan/social/fotka.py
index f0b1a3f..73d5cc9 100644
--- a/user_scanner/user_scan/social/fotka.py
+++ b/user_scanner/user_scan/social/fotka.py
@@ -5,6 +5,9 @@ def validate_fotka(user):
show_url = f"https://fotka.com/profil/{user}"
def process(response):
+ if response.status_code == 404 or '"status":"ERROR"' in response.text:
+ return Result.available()
+
if response.status_code == 200:
try:
data = response.json()
@@ -27,8 +30,7 @@ def validate_fotka(user):
return Result.taken(extra=extra)
except Exception:
pass
- elif response.status_code == 404:
- return Result.available()
+
return Result.error("Unexpected response body, report it via GitHub issues.")
diff --git a/user_scanner/user_scan/social/sportstracker.py b/user_scanner/user_scan/social/sportstracker.py
index 8f0f5b7..a0ef645 100644
--- a/user_scanner/user_scan/social/sportstracker.py
+++ b/user_scanner/user_scan/social/sportstracker.py
@@ -5,6 +5,9 @@ def validate_sportstracker(user):
show_url = f"https://www.sports-tracker.com/view_profile/{user}"
def process(response):
+ if response.status_code == 404 or "Not found" in response.text or "Not Found" in response.text:
+ return Result.available()
+
if response.status_code == 200:
try:
data = response.json()
@@ -31,8 +34,7 @@ def validate_sportstracker(user):
return Result.taken(extra=extra)
except Exception:
pass
- elif response.status_code == 404 or "Not Found" in response.text:
- return Result.available()
+
return Result.error("Unexpected response body, report it via GitHub issues.")