🕵️♂️ (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
refactor: changes made to work with email_orchestrator and asyncio
kaifcodecc71001e388d6
diff --git a/user_scanner/email_scan/social/instagram.py b/user_scanner/email_scan/social/instagram.pyindex 53efc94..32d7774 100644--- a/user_scanner/email_scan/social/instagram.py+++ b/user_scanner/email_scan/social/instagram.py@@ -1,9 +1,9 @@-import asyncioimport httpx+from user_scanner.core.result import Result-async def check_instagram(email):- ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"- async with httpx.AsyncClient(headers={"user-agent": ua}, http2=True) as client:+async def _check(email):+ USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"+ async with httpx.AsyncClient(headers={"user-agent": USER_AGENT}, http2=True) as client:await client.get("https://www.instagram.com/")csrf = client.cookies.get("csrftoken")@@ -14,27 +14,14 @@ async def check_instagram(email):"referer": "https://www.instagram.com/accounts/password/reset/"}- resp = await client.post(+ response = await client.post("https://www.instagram.com/api/v1/web/accounts/account_recovery_send_ajax/",data={"email_or_username": email},headers=headers)- data = resp.json()- if data.get("status") == "ok":- return f"[!] {email} -> USED (Account exists)"- return f"[*] {email} -> NOT USED"--if __name__ == "__main__":- target = input("Enter the Email: ")- print(asyncio.run(check_instagram(target)))---------+ data = response.json()+ return Result.taken() if data.get("status") == "ok" else Result.available()+def validate_instagram(email: str) -> Result:+ return _check(email)