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: improve exception humanization for Linux and Termux

kaifcodec3c053459e583
diff --git a/user_scanner/core/result.py b/user_scanner/core/result.py
index eb86738..55d30bd 100644
--- a/user_scanner/core/result.py
+++ b/user_scanner/core/result.py
@@ -31,13 +31,24 @@ CSV_TEMPLATE = "{username},{category},{site_name},{status},{url},{reason}"
def humanize_exception(e: Exception) -> str:
msg = str(e).lower()
+
if "10054" in msg:
return "Connection closed by remote server"
if "11001" in msg:
return "Could not resolve hostname"
+
+ # Linux/Termux specific DNS error (your error)
+ if "errno 7" in msg or "no address associated with hostname" in msg:
+ return "No internet connection or DNS failure"
+
+ # Linux/Termux Network Unreachable
+ if "errno 101" in msg or "network is unreachable" in msg:
+ return "Network unreachable (Is your internet on?)"
+
return str(e)
+
class Status(Enum):
TAKEN = 0
AVAILABLE = 1