🕵️♂️ (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(user_scan): add Indiegogo username modules (#628)
Kristo Isberg5faa92ee5691
diff --git a/user_scanner/user_scan/creator/indiegogo.py b/user_scanner/user_scan/creator/indiegogo.pynew file mode 100644index 0000000..da7cd40--- /dev/null+++ b/user_scanner/user_scan/creator/indiegogo.py@@ -0,0 +1,43 @@+import json+from urllib.parse import quote++from user_scanner.core.orchestrator import Result, generic_validate+++def validate_indiegogo(user: str) -> Result:+ url = f"https://www.indiegogo.com/en/profile/{quote(user, safe='')}"++ def process(response):+ body = response.text+ if response.status_code == 404 and "<title>404: Page Not Found - Indiegogo</title>" in body:+ return Result.available()++ if response.status_code != 200:+ return Result.error(f"Unexpected status: {response.status_code}")++ props = _props(body)+ if not props or str(props.get("userUrlName", "")).casefold() != user.casefold():+ return Result.error("200 without the matching Indiegogo account data")++ extra = {"id": props.get("userID"), "name": props.get("nickname")}+ for key, value in (props.get("navigationCounters") or {}).items():+ extra[key.removesuffix("Count")] = value++ return Result.taken(extra=extra, media={"avatar": props.get("avatarUrl")})++ return generic_validate(url, process, show_url=url)+++def _props(body: str) -> dict | None:+ marker = "'App.Views.UserProfileView', App.Views.UserProfileView, "+ start = body.find(marker)+ if start == -1:+ return None++ start = body.find('{"props":', start)+ end = body.find(");</script>", start)+ if start == -1 or end == -1:+ return None++ props = json.loads(body[start:end]).get("props")+ return props if isinstance(props, dict) else Nonediff --git a/user_scanner/user_scan/creator/indiegogo_creator.py b/user_scanner/user_scan/creator/indiegogo_creator.pynew file mode 100644index 0000000..92e07c7--- /dev/null+++ b/user_scanner/user_scan/creator/indiegogo_creator.py@@ -0,0 +1,61 @@+import json+from urllib.parse import quote++from user_scanner.core.orchestrator import Result, generic_validate++_SOCIAL_FIELDS = {+ 0: "facebook",+ 1: "twitter",+ 2: "youtube",+ 3: "instagram",+ 4: "social_website",+}+++def validate_indiegogo_creator(user: str) -> Result:+ url = f"https://www.indiegogo.com/en/creators/{quote(user, safe='')}"++ def process(response):+ body = response.text+ if response.status_code == 404 and "<title>404: Page Not Found - Indiegogo</title>" in body:+ return Result.available()++ if response.status_code != 200:+ return Result.error(f"Unexpected status: {response.status_code}")++ props = _props(body)+ if not props or str(props.get("urlName", "")).casefold() != user.casefold():+ return Result.error("200 without the matching Indiegogo account data")++ extra = {+ "id": props.get("creatorID"),+ "name": props.get("name"),+ "bio": props.get("description"),+ "location": props.get("displayedLocation"),+ "website": props.get("websiteUrl"),+ }+ for social in props.get("socialMediaUrls") or []:+ if isinstance(social, dict) and (field := _SOCIAL_FIELDS.get(social.get("type"))):+ extra[field] = social.get("url")++ media = {"avatar": props.get("creatorImageUrl")}+ if props.get("bannerImages"):+ media["banner"] = props["bannerImages"][0]+ return Result.taken(extra=extra, media=media)++ return generic_validate(url, process, show_url=url)+++def _props(body: str) -> dict | None:+ marker = "'App.Views.CreatorView', App.Views.CreatorView, "+ start = body.find(marker)+ if start == -1:+ return None++ start = body.find('{"props":', start)+ end = body.find(");</script>", start)+ if start == -1 or end == -1:+ return None++ props = json.loads(body[start:end]).get("props")+ return props if isinstance(props, dict) else None