Skip to content

🕵️‍♂️ (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.

added discord

Jmr1347617a2038f2
diff --git a/user_scanner/social/discord.py b/user_scanner/social/discord.py
new file mode 100644
index 0000000..d086dba
--- /dev/null
+++ b/user_scanner/social/discord.py
@@ -0,0 +1,44 @@
+import httpx
+from httpx import ConnectError, TimeoutException
+
+def validate_discord(user):
+ url = "https://discord.com/api/v9/unique-username/username-attempt-unauthed"
+
+ headers = {
+ "authority": "discord.com",
+ "accept": "/",
+ "accept-language": "en-GB,en-US;q=0.9,en;q=0.8",
+ "content-type": "application/json",
+ "origin": "https://discord.com",
+ "referer": "https://discord.com/register"
+ }
+
+ data = {"username": user}
+
+ try:
+ response = httpx.post(url, headers=headers, json=data, timeout=3.0)
+ if response.status_code == 200:
+ status = response.json().get("taken")
+ if status is True:
+ return 0
+ elif status is False:
+ return 1
+ return 2
+ except (ConnectError, TimeoutException):
+ return 2
+ except Exception:
+ return 2
+
+if __name__ == "__main__":
+ user = input ("Username?: ").strip()
+ result = validate_discord(user)
+
+ if result == 1:
+ print("Available!")
+ elif result == 0:
+ print("Unavailable!")
+ else:
+ print("Error occured!")
+
+
+