🕵️♂️ (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
Implemented Result in most modules
Vamato0f8093cf78dc
diff --git a/user_scanner/creator/hashnode.py b/user_scanner/creator/hashnode.pyindex 3a549ec..4fdfa19 100644--- a/user_scanner/creator/hashnode.py+++ b/user_scanner/creator/hashnode.py@@ -1,6 +1,6 @@import httpximport json-from httpx import ConnectError, TimeoutException+from user_scanner.core.result import Resultdef validate_hashnode(user):@@ -27,21 +27,17 @@ def validate_hashnode(user):if 'status' in data:if data['status'] == 1:- return 1+ return Result.available()elif data['status'] == 0:- return 0+ return Result.taken()- return 2+ return Result.error("Status not found")else:- return 2-- except (ConnectError, TimeoutException):- return 2- except json.JSONDecodeError:- return 2- except Exception:- return 2+ return Result.error("Invalid status code")++ except Exception as e:+ return Result.error(e)if __name__ == "__main__":diff --git a/user_scanner/dev/gitlab.py b/user_scanner/dev/gitlab.pyindex 9d7818b..d5346d0 100644--- a/user_scanner/dev/gitlab.py+++ b/user_scanner/dev/gitlab.py@@ -1,4 +1,5 @@from user_scanner.core.orchestrator import generic_validate+from user_scanner.core.result import Resultdef validate_gitlab(user):@@ -18,11 +19,11 @@ def validate_gitlab(user):# Corrected: Compare against Python boolean True/False# AVAILABLE (return 1) if "exists": trueif data['exists'] is False:- return 1+ return Result.available()# UNAVAILABLE (return 0) if "exists": falseelif data['exists'] is True:- return 0- return 2+ return Result.taken()+ return Result.error("Invalid status code")return generic_validate(url, process, headers=headers)diff --git a/user_scanner/gaming/chess_com.py b/user_scanner/gaming/chess_com.pyindex 6a86585..29ebff7 100644--- a/user_scanner/gaming/chess_com.py+++ b/user_scanner/gaming/chess_com.py@@ -1,4 +1,5 @@from user_scanner.core.orchestrator import generic_validate+from user_scanner.core.result import Resultdef validate_chess_com(user):@@ -16,11 +17,11 @@ def validate_chess_com(user):data = response.json()if data.get('valid') is True:# 'valid': true means the username is NOT taken- return 1+ return Result.available()elif data.get('valid') is False:# 'valid': false means the username IS taken- return 0- return 2+ return Result.taken()+ return Result.error("Invalid status code")return generic_validate(url, process, headers=headers)diff --git a/user_scanner/gaming/monkeytype.py b/user_scanner/gaming/monkeytype.pyindex 1bbc5c6..e2e9872 100644--- a/user_scanner/gaming/monkeytype.py+++ b/user_scanner/gaming/monkeytype.py@@ -1,5 +1,5 @@from user_scanner.core.orchestrator import generic_validate-+from user_scanner.core.result import Resultdef validate_monkeytype(user: str) -> int:@@ -25,10 +25,10 @@ def validate_monkeytype(user: str) -> int:available = payload.get("available")if available is True:- return 1+ return Result.available()elif available is False:- return 0- return 2+ return Result.taken()+ return Result.error("Invalid status code")return generic_validate(url, process, headers=headers)diff --git a/user_scanner/gaming/roblox.py b/user_scanner/gaming/roblox.pyindex 2dc6b7c..701b824 100644--- a/user_scanner/gaming/roblox.py+++ b/user_scanner/gaming/roblox.py@@ -1,4 +1,5 @@from user_scanner.core.orchestrator import generic_validate+from user_scanner.core.result import Resultdef validate_roblox(user):@@ -13,15 +14,24 @@ def validate_roblox(user):def process(response):search_results = response.json() # api response- if "errors" in search_results: # this usually triggers when timeout or ratelimit- return 2+ if response.status_code == 429:+ return Result.error("Too many requests")++ if response.status_code == 400:+ error = search_results["errors"][0] #Api states theres always an error+ if error["code"] == 6:+ return Result.error("Username is too short")+ if error["code"] == 5:+ return Result.error("Username was filtered")+ #Shouldn't be able to reach this+ return Result.error("Invalid username")# iterates through the entries in the search resultsfor entry in search_results["data"]:# .lower() so casing from the API doesn't matterif entry["name"].lower() == user.lower(): # if a username matches the user- return 0- return 1+ return Result.taken()+ return Result.available()return generic_validate(url, process, follow_redirects=True)diff --git a/user_scanner/gaming/steam.py b/user_scanner/gaming/steam.pyindex 3707df0..1832b14 100644--- a/user_scanner/gaming/steam.py+++ b/user_scanner/gaming/steam.py@@ -1,4 +1,5 @@from user_scanner.core.orchestrator import generic_validate+from user_scanner.core.result import Resultdef validate_steam(user):@@ -12,10 +13,10 @@ def validate_steam(user):def process(response):if response.status_code == 200:if response.text.find("Error</title>") != -1:- return 1+ return Result.available()else:- return 0- return 2+ return Result.taken()+ return Result.error("Invalid status code")return generic_validate(url, process)diff --git a/user_scanner/social/bluesky.py b/user_scanner/social/bluesky.pyindex 9ac0b8e..cf5cc3c 100644--- a/user_scanner/social/bluesky.py+++ b/user_scanner/social/bluesky.py@@ -1,6 +1,6 @@import refrom user_scanner.core.orchestrator import generic_validate-+from user_scanner.core.result import Resultdef validate_bluesky(user):handle = user if user.endswith('.bsky.social') else f"{user}.bsky.social"@@ -26,7 +26,7 @@ def validate_bluesky(user):}if not re.fullmatch(r"^[a-zA-Z0-9\.-]{1,64}$", user):- return 2+ return Result.error("Invalid username")def process(response):if response.status_code == 200:@@ -34,10 +34,10 @@ def validate_bluesky(user):result_type = data.get('result', {}).get('$type')if result_type == "com.atproto.temp.checkHandleAvailability#resultAvailable":- return 1+ return Result.available()elif result_type == "com.atproto.temp.checkHandleAvailability#resultUnavailable":- return 0- return 2+ return Result.taken()+ return Result.error("Invalid status code")return generic_validate(url, process, headers=headers, params=params, timeout=15.0)diff --git a/user_scanner/social/discord.py b/user_scanner/social/discord.pyindex e2d853b..d4938b7 100644--- a/user_scanner/social/discord.py+++ b/user_scanner/social/discord.py@@ -1,6 +1,5 @@import httpx-from httpx import ConnectError, TimeoutException-+from user_scanner.core.result import Resultdef validate_discord(user):url = "https://discord.com/api/v9/unique-username/username-attempt-unauthed"@@ -21,14 +20,12 @@ def validate_discord(user):if response.status_code == 200:status = response.json().get("taken")if status is True:- return 0+ return Result.taken()elif status is False:- return 1- return 2- except (ConnectError, TimeoutException):- return 2- except Exception:- return 2+ return Result.available()+ return Result.error("Invalid status code")+ except Exception as e:+ return Result.error(e)if __name__ == "__main__":diff --git a/user_scanner/social/pinterest.py b/user_scanner/social/pinterest.pyindex 480064b..286d00a 100644--- a/user_scanner/social/pinterest.py+++ b/user_scanner/social/pinterest.py@@ -1,5 +1,5 @@from user_scanner.core.orchestrator import generic_validate-+from user_scanner.core.result import Resultdef validate_pinterest(user):url = f"https://www.pinterest.com/{user}/"@@ -7,11 +7,11 @@ def validate_pinterest(user):def process(response):if response.status_code == 200:if "User not found." in response.text:- return 1+ return Result.available()else:- return 0+ return Result.taken()else:- return 2+ return Result.error("Invalid status code")return generic_validate(url, process, follow_redirects=True)