🕵️♂️ (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
feat: add Weawow email and username modules (#672)
Kristo Isbergd132a6c85cab
diff --git a/user_scanner/core/helpers.py b/user_scanner/core/helpers.pyindex ad07133..d341d31 100644--- a/user_scanner/core/helpers.py+++ b/user_scanner/core/helpers.py@@ -70,6 +70,7 @@ LOUD_MODULES: Dict[str, List[str]] = {"pulser","hercul","payhip",+ "weawow",],}diff --git a/user_scanner/email_scan/social/weawow.py b/user_scanner/email_scan/social/weawow.pynew file mode 100644index 0000000..7664a50--- /dev/null+++ b/user_scanner/email_scan/social/weawow.py@@ -0,0 +1,50 @@+import re++import httpx++from user_scanner.core.result import Result+++async def validate_weawow(email: str) -> Result:+ show_url = "https://weawow.com"+ path = "/en/password/email"++ try:+ async with httpx.AsyncClient(+ base_url=show_url, follow_redirects=True, timeout=15.0+ ) as client:+ page = await client.get(path)+ if page.status_code != 200:+ return Result.error(+ f"Failed to access reset page: {page.status_code}", url=show_url+ )++ token = re.search(r'name="_token" value="([^"]+)"', page.text)+ if not token:+ return Result.error("Could not find CSRF token", url=show_url)++ response = await client.post(+ path,+ data={+ "_token": token.group(1),+ "email": email,+ },+ )++ if (+ response.status_code == 429+ or "There are too many requests." in response.text+ ):+ return Result.error("Rate limited", url=show_url)+ if response.status_code != 200:+ return Result.error(+ f"Unexpected response status: {response.status_code}",+ url=show_url,+ )+ if "We have e-mailed your password reset link!" in response.text:+ return Result.taken(url=show_url)+ if "find a user with that e-mail address." in response.text:+ return Result.available(url=show_url)+ return Result.error("Unexpected response body", url=show_url)+ except httpx.HTTPError as exc:+ return Result.error(exc, url=show_url)diff --git a/user_scanner/user_scan/social/weawow.py b/user_scanner/user_scan/social/weawow.pynew file mode 100644index 0000000..f015e59--- /dev/null+++ b/user_scanner/user_scan/social/weawow.py@@ -0,0 +1,76 @@+import html+import re+from urllib.parse import quote++from user_scanner.core.orchestrator import generic_validate+from user_scanner.core.result import Result+++def validate_weawow(user: str) -> Result:+ encoded_user = quote(user, safe="")+ url = f"https://weawow.com/m/{encoded_user}/profile"+ show_url = f"https://weawow.com/m/{encoded_user}"++ def process(response):+ text = response.text++ if (+ response.status_code == 200+ and '<link rel="canonical" href="https://weawow.com/i/aboutus"' in text+ ):+ return Result.available()++ username_match = re.search(r'class="userid">([^<]+)</a>', text)+ display_name = (+ html.unescape(username_match.group(1)).strip() if username_match else ""+ )+ if (+ response.status_code != 200+ or not username_match+ or display_name.casefold() != user.casefold()+ ):+ return Result.error(f"Unexpected response status: {response.status_code}")++ extra = {"display_name": display_name}+ fullname_match = re.search(r'<p class="margin-bottom30">([^<]*)</p>', text)+ if fullname_match:+ fullname = html.unescape(fullname_match.group(1)).strip()+ if fullname:+ extra["fullname"] = fullname++ links = re.findall(+ r'<a href="(https?://[^"]+)" target="_blank" rel="noopener">', text+ )+ if links:+ extra["links"] = [html.unescape(link) for link in links]++ for key, pattern in {+ "id": r'name="follow_(\d+)"',+ "followers": r'class="followers"><span>([\d,]+)</span>',+ "following": r'class="following"><span>([\d,]+)</span>',+ "photos": r'class="photo">.*?<span>Photos</span>([\d,]+)</a>',+ "marketplace_photos": r'class="marketplace">.*?<span>Marketplace</span>([\d,]+)</a>',+ }.items():+ match = re.search(pattern, text)+ if match:+ extra[key] = int(match.group(1).replace(",", ""))++ bio_match = re.search(r'class="m-profiledes">(.*?)</p>', text, re.DOTALL)+ if bio_match:+ bio = re.sub(r"<br\s*/?>", "\n", bio_match.group(1))+ bio = html.unescape(re.sub(r"<[^>]+>", "", bio)).strip()+ if bio:+ extra["bio"] = bio++ media = {}+ avatar_match = re.search(r'class="face-large"><img src="([^"]+)"', text)+ if avatar_match and not avatar_match.group(1).endswith("/facesample.jpg"):+ media["avatar"] = avatar_match.group(1)++ banner_match = re.search(r"background-image: url\(([^)]+)\)", text)+ if banner_match:+ media["banner"] = banner_match.group(1)++ return Result.taken(extra=extra, media=media)++ return generic_validate(url, process, show_url=show_url, follow_redirects=True)