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 Osu username validation

jaduplanstic2fad26464e9
diff --git a/user_scanner/gaming/osu.py b/user_scanner/gaming/osu.py
new file mode 100644
index 0000000..79b848c
--- /dev/null
+++ b/user_scanner/gaming/osu.py
@@ -0,0 +1,44 @@
+import httpx
+from httpx import ConnectError, TimeoutException
+
+def validate_osu(user):
+ """
+ Checks if a Osu username is available.
+ Returns: 1 -> available, 0 -> taken, 2 -> error
+ """
+
+ url = f"https://osu.ppy.sh/users/{user}"
+
+ headers = {
+ 'User-Agent': "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
+ 'Accept': "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
+ 'Accept-Encoding': "gzip, deflate, br",
+ 'Accept-Language': "en-US,en;q=0.9",
+ 'sec-fetch-dest': "document",
+ }
+
+ try:
+ response = httpx.get(url, headers = headers, timeout = 5.0, follow_redirects = True)
+ status = response.status_code
+
+ if status == 200:
+ return 0
+ elif status == 404:
+ return 1
+ else:
+ return 2
+ except (ConnectError, TimeoutException):
+ return 2
+ except Exception:
+ return 2
+
+if __name__ == "__main__":
+ user = input ("Username?: ").strip()
+ result = validate_osu(user)
+
+ if result == 1:
+ print("Available!")
+ elif result == 0:
+ print("Unavailable!")
+ else:
+ print("Error occurred!")