🕵️♂️ (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
new category: gaming & addition of chess.com
kaifcodecdd02e738f898
diff --git a/user_scanner/gaming/__init__.py b/user_scanner/gaming/__init__.pynew file mode 100644index 0000000..e69de29diff --git a/user_scanner/gaming/chess_com.py b/user_scanner/gaming/chess_com.pynew file mode 100644index 0000000..6bf7376--- /dev/null+++ b/user_scanner/gaming/chess_com.py@@ -0,0 +1,54 @@+import httpx+from httpx import ConnectError, TimeoutException+import json++def validate_chess_com(user):+ url = f"https://www.chess.com/callback/user/valid?username={user}"++ headers = {+ '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': "application/json, text/plain, */*",+ 'Accept-Encoding': "gzip, deflate, br",+ 'Accept-Language': "en-US,en;q=0.9",+ }++ try:+ response = httpx.get(url, headers=headers, timeout = 3.0)+ status = response.status_code++ if status == 200:+ data = response.json()+ if data.get('valid') is True:+ # 'valid': true means the username is NOT taken+ return 1+ elif data.get('valid') is False:+ # 'valid': false means the username IS taken+ return 0+ else:+ return 2+ else:+ return 2++ except (ConnectError, TimeoutException):+ return 2+ except json.JSONDecodeError:+ return 2+ except Exception:+ return 2++if __name__ == "__main__":+ try:+ import httpx+ except ImportError:+ print("Error: 'httpx' library is not installed.")+ exit()++ user = input ("Username?: ").strip()+ result = validate_chess_com(user)++ if result == 1:+ print("Available!")+ elif result == 0:+ print("Unavailable!")+ else:+ print("Error occured!")