🕵️♂️ (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
fix(producthunt.py): restore correct ProductHunt validator (wrong youtube logic was present)
kaifcodec642ae63b56ae
diff --git a/user_scanner/user_scan/creator/producthunt.py b/user_scanner/user_scan/creator/producthunt.pyindex 9a7e96b..4b130d2 100644--- a/user_scanner/user_scan/creator/producthunt.py+++ b/user_scanner/user_scan/creator/producthunt.py@@ -1,47 +1,25 @@-from user_scanner.core.orchestrator import status_validate, Result+from user_scanner.core.orchestrator import status_validate-def validate_youtube(user) -> Result:- url = f"https://m.youtube.com/@{user}"+def validate_producthunt(user):+ url = f"https://www.producthunt.com/@{user}"+headers = {- 'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36",+ 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.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,application/signed-exchange;v=b3;q=0.7",- 'Accept-Encoding': "identity",- 'sec-ch-dpr': "2.75",- 'sec-ch-viewport-width': "980",- 'sec-ch-ua': "\"Google Chrome\";v=\"143\", \"Chromium\";v=\"143\", \"Not A(Brand\";v=\"24\"",- 'sec-ch-ua-mobile': "?1",- 'sec-ch-ua-full-version': "\"143.0.7499.52\"",- 'sec-ch-ua-arch': "\"\"",- 'sec-ch-ua-platform': "\"Android\"",- 'sec-ch-ua-platform-version': "\"15.0.0\"",- 'sec-ch-ua-bitness': "\"\"",- 'sec-ch-ua-wow64': "?0",- 'sec-ch-ua-full-version-list': "\"Google Chrome\";v=\"143.0.7499.52\", \"Chromium\";v=\"143.0.7499.52\", \"Not A(Brand\";v=\"24.0.0.0\"",- 'sec-ch-ua-form-factors': "\"Mobile\"",- 'upgrade-insecure-requests': "1",- 'x-browser-channel': "stable",- 'x-browser-year': "2025",- 'x-browser-copyright': "Copyright 2025 Google LLC. All Rights reserved.",- 'sec-fetch-site': "none",- 'sec-fetch-mode': "navigate",- 'sec-fetch-user': "?1",- 'sec-fetch-dest': "document",- 'accept-language': "en-US,en;q=0.9",- 'priority': "u=0, i"+ 'Accept-Encoding': "gzip, deflate, br",+ 'Accept-Language': "en-US,en;q=0.9",}- return status_validate(url, 404, 200, headers=headers)-+ status_validate(url, 404, 200, headers=headers, follow_redirects=True)if __name__ == "__main__":user = input("Username?: ").strip()- result = validate_youtube(user)+ result = validate_producthunt(user)if result == 1:print("Available!")elif result == 0:print("Unavailable!")else:- reason = result.get_reason()- print(f"Error occurred! Reason: {reason}")+ print("Error occured!")