🕵️♂️ (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
mv: move xing username scan module to abandoned/
Kaifbd1ecfd30752
diff --git a/abandoned/user_scan/social/xing.py b/abandoned/user_scan/social/xing.pynew file mode 100644index 0000000..d55e078--- /dev/null+++ b/abandoned/user_scan/social/xing.py@@ -0,0 +1,42 @@+from user_scanner.core.orchestrator import Result, make_request+import re++def validate_xing(user: str) -> Result:+ url = f"https://www.xing.com/profile/{user}"+ show_url = url++ headers = {+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.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",+ "Accept-Language": "en-US,en;q=0.9",+ }++ try:+ response = make_request(+ url, headers=headers, follow_redirects=True, http2=False, method="GET"+ )++ if response.status_code == 404:+ return Result.available(url=show_url)++ if response.status_code == 200:+ html = response.text+ title_match = re.search(r'<title[^>]*>(.*?)</title>', html)+ title = title_match.group(1).strip() if title_match else ""++ if title == "XING":+ # Bot protection triggered, returning App Shell+ return Result.error("XING bot protection triggered (App Shell returned)", url=show_url)+ elif "404 - Not Found" in title:+ return Result.available(url=show_url)+ else:+ extra = {}+ if " | XING" in title:+ name_part = title.split(" | XING")[0]+ name = name_part.split(" - ")[0].strip()+ extra["name"] = name+ return Result.taken(url=show_url, extra=extra)++ return Result.error(f"Unexpected status: {response.status_code}", url=show_url)+ except Exception as e:+ return Result.error(e, url=show_url)diff --git a/user_scanner/user_scan/social/xing.py b/user_scanner/user_scan/social/xing.pydeleted file mode 100644index bf7471e..0000000--- a/user_scanner/user_scan/social/xing.py+++ /dev/null@@ -1,17 +0,0 @@-from user_scanner.core.orchestrator import status_validate-from user_scanner.core.result import Result--def validate_xing(user: str) -> Result:- url = f"https://www.xing.com/profile/{user}"- show_url = url-- headers = {- "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.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",- "Accept-Language": "en-US,en;q=0.9",- }-- return status_validate(- url, available=404, taken=[200, 301], show_url=show_url,- headers=headers, follow_redirects=True, http2=False- )