🕵️♂️ (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
from user_scanner.core.nextjs import parse_next_pages_data
from user_scanner.core.orchestrator import Result, generic_validate
def validate_codecademy(user):
url = f"https://www.codecademy.com/profiles/{user}"
def process(response):
location = response.headers.get("Location", "")
if response.status_code in [301, 302, 303, 307, 308] or "login" in location:
return Result.taken(extra={"is_private": True})
elif response.status_code == 404:
return Result.available()
elif response.status_code == 200:
data = parse_next_pages_data(response.text)
if data:
user_data = (
data.get("props", {}).get("pageProps", {}).get("profile", {})
)
if user_data and user_data.get("username"):
extra = {"is_private": False}
if user_data.get("name"):
extra["name"] = user_data.get("name")
if user_data.get("bio"):
extra["bio"] = user_data.get("bio")
if user_data.get("location"):
extra["location"] = user_data.get("location")
if user_data.get("createdAt"):
extra["joined"] = user_data.get("createdAt")
return Result.taken(extra=extra)
return Result.available()
if f"profiles/{user}" in response.text or user in response.text:
return Result.taken(extra={"is_private": False})
return Result.available()
return Result.error("Unexpected response body, report it via GitHub issues.")
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
}
return generic_validate(url, process, show_url=url, headers=headers, follow_redirects=False)