🕵️♂️ (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
feat: add new OSINT user modules for Apclips, DefensiveCarry, TheFirearmsForum, Odysee, and Xing
Kaif5bd1926d2b9f
diff --git a/user_scanner/user_scan/adult/apclips.py b/user_scanner/user_scan/adult/apclips.pynew file mode 100644index 0000000..407d507--- /dev/null+++ b/user_scanner/user_scan/adult/apclips.py@@ -0,0 +1,84 @@+import re+import html+from user_scanner.core.helpers import get_random_user_agent+from user_scanner.core.orchestrator import Result, generic_validate++def validate_apclips(user: str) -> Result:+ url = f"https://apclips.com/{user}"+ show_url = url++ headers = {+ "User-Agent": get_random_user_agent(),+ "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",+ }++ def process(response):+ final_url = str(response.url)++ if final_url.endswith("/models") or "/models" in final_url:+ return Result.available()++ if response.status_code == 200:+ if "AP Model" in response.text or "profile-fit-text" in response.text:+ extra = {}++ name_match = re.search(+ r'<h1 class="page-modelname[^"]*">\s*<span>([^<]+)</span>\s*</h1>',+ response.text,+ re.IGNORECASE+ )+ if name_match:+ extra["name"] = html.unescape(name_match.group(1)).strip()++ def parse_stat(label):+ match = re.search(+ rf'<span class="stat-label">[^<]*{label}[^<]*</span>\s*<span class="stat-text">([^<]+)</span>',+ response.text,+ re.IGNORECASE | re.DOTALL+ )+ if match:+ return match.group(1).strip()+ return None++ videos = parse_stat("Videos")+ if videos:+ extra["videos"] = videos++ views = parse_stat("Views")+ if views:+ extra["views"] = views++ loves = parse_stat("Loves")+ if loves:+ extra["loves"] = loves++ faved = parse_stat("Faved")+ if faved:+ extra["faves"] = faved++ if not extra.get("videos"):+ vid_match = re.search(r'<strong>(\d+)</strong>\s*Videos', response.text, re.IGNORECASE)+ if vid_match:+ extra["videos"] = vid_match.group(1)++ photo_match = re.search(r'<strong>(\d+)</strong>\s*Photosets', response.text, re.IGNORECASE)+ if photo_match:+ extra["photosets"] = photo_match.group(1)++ desc_match = re.search(+ r'<div class="text-medium[^"]*">\s*<p>([^<]+)</p>',+ response.text,+ re.IGNORECASE | re.DOTALL+ )+ if desc_match:+ extra["bio"] = html.unescape(desc_match.group(1)).strip()++ return Result.taken(extra=extra)++ elif response.status_code == 404:+ return Result.available()++ return Result.error(f"Unexpected response status: {response.status_code}")++ return generic_validate(url, process, headers=headers, http2=False, show_url=show_url, follow_redirects=True)diff --git a/user_scanner/user_scan/community/defensivecarry.py b/user_scanner/user_scan/community/defensivecarry.pynew file mode 100644index 0000000..76c5d0c--- /dev/null+++ b/user_scanner/user_scan/community/defensivecarry.py@@ -0,0 +1,67 @@+import hashlib+import re+from user_scanner.core.helpers import get_random_user_agent+from user_scanner.core.orchestrator import Result, make_request++def validate_defensivecarry(user: str) -> Result:+ url = f"https://www.defensivecarry.com/members/?username={user}"++ headers = {+ "User-Agent": get_random_user_agent(),+ "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, follow_redirects=False, http2=False, headers=headers)++ if response.status_code == 202:+ html_text = response.text+ nonce_match = re.search(r"challenge_nonce:'([^']+)'", html_text)+ hmac_match = re.search(r"challenge_hmac:'([^']+)'", html_text)+ diff_match = re.search(r"difficulty:'([^']+)'", html_text)+ char_match = re.search(r"difficulty_char:'([^']+)'", html_text)+ issued_match = re.search(r"issued_at:'([^']+)'", html_text)++ if not all([nonce_match, hmac_match, diff_match, char_match, issued_match]):+ return Result.error("Failed to parse PoW challenge parameters", url=url)++ nonce = nonce_match.group(1)+ hmac = hmac_match.group(1)+ diff = int(diff_match.group(1))+ char = char_match.group(1)+ issued = issued_match.group(1)++ target_prefix = char * diff+ prefix_str = nonce + issued++ pow_bypass = None+ for i in range(1, 10000000):+ u = str(i)+ data = (prefix_str + u).encode('utf-8')+ hash_hex = hashlib.sha256(data).hexdigest()++ if hash_hex.startswith(target_prefix):+ pow_bypass = f"{nonce}|{issued}|{u}|{hash_hex}|{hmac}"+ break++ if pow_bypass:+ response = make_request(+ url,+ follow_redirects=False,+ http2=False,+ headers=headers,+ cookies={"pow_bypass": pow_bypass}+ )+ else:+ return Result.error("Failed to solve PoW challenge", url=url)++ if response.status_code in [301, 302, 303]:+ return Result.taken(url=url)+ elif response.status_code == 200 or response.status_code == 404:+ return Result.available(url=url)++ return Result.error(f"Unexpected status code: {response.status_code}", url=url)++ except Exception as e:+ return Result.error(e, url=url)diff --git a/user_scanner/user_scan/community/thefirearmsforum.py b/user_scanner/user_scan/community/thefirearmsforum.pynew file mode 100644index 0000000..eb6a584--- /dev/null+++ b/user_scanner/user_scan/community/thefirearmsforum.py@@ -0,0 +1,67 @@+import hashlib+import re+from user_scanner.core.helpers import get_random_user_agent+from user_scanner.core.orchestrator import Result, make_request++def validate_thefirearmsforum(user: str) -> Result:+ url = f"https://www.thefirearmsforum.com/members/?username={user}"++ headers = {+ "User-Agent": get_random_user_agent(),+ "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, follow_redirects=False, http2=False, headers=headers)++ if response.status_code == 202:+ html_text = response.text+ nonce_match = re.search(r"challenge_nonce:'([^']+)'", html_text)+ hmac_match = re.search(r"challenge_hmac:'([^']+)'", html_text)+ diff_match = re.search(r"difficulty:'([^']+)'", html_text)+ char_match = re.search(r"difficulty_char:'([^']+)'", html_text)+ issued_match = re.search(r"issued_at:'([^']+)'", html_text)++ if not all([nonce_match, hmac_match, diff_match, char_match, issued_match]):+ return Result.error("Failed to parse PoW challenge parameters", url=url)++ nonce = nonce_match.group(1)+ hmac = hmac_match.group(1)+ diff = int(diff_match.group(1))+ char = char_match.group(1)+ issued = issued_match.group(1)++ target_prefix = char * diff+ prefix_str = nonce + issued++ pow_bypass = None+ for i in range(1, 10000000):+ u = str(i)+ data = (prefix_str + u).encode('utf-8')+ hash_hex = hashlib.sha256(data).hexdigest()++ if hash_hex.startswith(target_prefix):+ pow_bypass = f"{nonce}|{issued}|{u}|{hash_hex}|{hmac}"+ break++ if pow_bypass:+ response = make_request(+ url,+ follow_redirects=False,+ http2=False,+ headers=headers,+ cookies={"pow_bypass": pow_bypass}+ )+ else:+ return Result.error("Failed to solve PoW challenge", url=url)++ if response.status_code in [301, 302, 303]:+ return Result.taken(url=url)+ elif response.status_code == 200 or response.status_code == 404:+ return Result.available(url=url)++ return Result.error(f"Unexpected status code: {response.status_code}", url=url)++ except Exception as e:+ return Result.error(e, url=url)diff --git a/user_scanner/user_scan/creator/odysee.py b/user_scanner/user_scan/creator/odysee.pynew file mode 100644index 0000000..89c76b4--- /dev/null+++ b/user_scanner/user_scan/creator/odysee.py@@ -0,0 +1,34 @@+import re+from user_scanner.core.helpers import get_random_user_agent+from user_scanner.core.orchestrator import Result, generic_validate++def validate_odysee(user: str) -> Result:+ url = f"https://odysee.com/@{user}"+ show_url = url++ headers = {+ "User-Agent": get_random_user_agent(),+ "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",+ }++ def process(response):+ if response.status_code == 200:+ canonical_match = re.search(r'<link\s+rel="canonical"\s+href="([^"]+)"', response.text, re.IGNORECASE)+ if canonical_match:+ canonical_url = canonical_match.group(1)+ if "/@" in canonical_url:+ return Result.taken(url=show_url)+ else:+ return Result.available(url=show_url)++ if f"/@{user}" in response.text:+ return Result.taken(url=show_url)+ return Result.available(url=show_url)++ elif response.status_code == 404:+ return Result.available(url=show_url)++ return Result.error(f"Unexpected status code: {response.status_code}", url=show_url)++ return generic_validate(url, process, headers=headers, http2=False, show_url=show_url)diff --git a/user_scanner/user_scan/social/xing.py b/user_scanner/user_scan/social/xing.pynew file mode 100644index 0000000..bf7471e--- /dev/null+++ b/user_scanner/user_scan/social/xing.py@@ -0,0 +1,17 @@+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+ )