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(anonup.py): better error handling to avoid false positives

kaifcodec2a77b7cb2884
diff --git a/user_scanner/user_scan/social/anonup.py b/user_scanner/user_scan/social/anonup.py
index 0e75d21..1e759a6 100644
--- a/user_scanner/user_scan/social/anonup.py
+++ b/user_scanner/user_scan/social/anonup.py
@@ -1,19 +1,18 @@
-from user_scanner.core.orchestrator import status_validate
+from user_scanner.core.orchestrator import generic_validate, Result
+
def validate_anonup(user):
url = f"https://anonup.com/@{user}"
show_url = "https://anonup.com"
- return status_validate(url, 302, 200, show_url=show_url)
+ def process(response):
+
+ if "Show followings" in response.text:
+ return Result.taken()
+ if "Page not found!" in response.text or response.status_code == 302:
+ return Result.available()
-if __name__ == "__main__":
- user = input("Username?: ").strip()
- result = validate_anonup(user)
+ return Result.error(f"Unexpected response body!")
- if result == 1:
- print("Available!")
- elif result == 0:
- print("Unavailable!")
- else:
- print("Error occurred!")
+ return generic_validate(url, process, show_url=show_url)