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.

feat: integrate Hudson Rock Infostealer Intelligence behind --hudson-scan flag

shredzwhob5e69e25f6b0
diff --git a/user_scanner/__main__.py b/user_scanner/__main__.py
index 59c5294..22671e0 100644
--- a/user_scanner/__main__.py
+++ b/user_scanner/__main__.py
@@ -32,6 +32,7 @@ from user_scanner.core.orchestrator import (
)
from user_scanner.core.result import Status
from user_scanner.core.version import load_local_version
+from user_scanner.core.hudson import run_hudson_scan
from user_scanner.utils.update import update_self
from user_scanner.utils.updater_logic import check_for_updates
@@ -136,6 +137,12 @@ def main():
parser.add_argument("-U", "--update", action="store_true", help="Update the tool")
+ parser.add_argument(
+ "--hudson-scan",
+ action="store_true",
+ help="Check for infostealer intelligence using Hudson Rock's API",
+ )
+
parser.add_argument("--version", action="store_true", help="Print version")
args = parser.parse_args()
@@ -339,6 +346,9 @@ def main():
fn = run_email_full_batch if is_email else run_user_full
results.extend(fn(target, config))
+ if args.hudson_scan:
+ run_hudson_scan(target, is_email)
+
if args.output:
content = (
formatter.into_csv(results)
diff --git a/user_scanner/core/hudson.py b/user_scanner/core/hudson.py
new file mode 100644
index 0000000..af745aa
--- /dev/null
+++ b/user_scanner/core/hudson.py
@@ -0,0 +1,66 @@
+import httpx
+from colorama import Fore, Style
+
+# Color configs
+R = Fore.RED
+G = Fore.GREEN
+C = Fore.CYAN
+Y = Fore.YELLOW
+M = Fore.MAGENTA
+X = Fore.RESET
+
+def run_hudson_scan(target: str, is_email: bool = False):
+ """
+ Fetch and display intelligence from Hudson Rock's OSINT API.
+ This integration is strictly optional and provided for additional intelligence.
+ """
+ base_url = "https://cavalier.hudsonrock.com/api/json/v2/osint-tools/"
+ endpoint = "search-by-email" if is_email else "search-by-username"
+ param = "email" if is_email else "username"
+
+ url = f"{base_url}{endpoint}?{param}={target}"
+
+ print(f"\n{M}== HUDSON ROCK INFOSTEALER INTELLIGENCE =={X}")
+ print(f"{C}[i] Attribution: Data provided by Hudson Rock (https://www.hudsonrock.com){X}")
+ print(f"{C}[*] Querying Hudson Rock for {target}...{X}")
+
+ try:
+ with httpx.Client(timeout=10.0) as client:
+ response = client.get(url)
+
+ if response.status_code == 200:
+ data = response.json()
+ stealers = data.get("stealers", [])
+
+ if not stealers:
+ print(f"{G}[βœ”] No infostealer infections found for this {param}.{X}")
+ return
+
+ total_stealers = len(stealers)
+ print(f"{R}[!] FOUND {total_stealers} INFOSTEALER INFECTION(S) ASSOCIATED WITH THIS {param.upper()}!{X}")
+
+ for i, stealer in enumerate(stealers, 1):
+ print(f"\n {Y}Infection #{i}:{X}")
+ print(f" - Stealer Family: {stealer.get('stealer_family', 'Unknown')}")
+ print(f" - Date Compromised: {stealer.get('date_compromised', 'Unknown')}")
+ print(f" - Operating System: {stealer.get('operating_system', 'Unknown')}")
+ print(f" - Computer Name: {stealer.get('computer_name', 'Unknown')}")
+
+ antiviruses = stealer.get('antiviruses', [])
+ if antiviruses:
+ print(f" - Antiviruses: {', '.join(antiviruses)}")
+
+ top_logins = stealer.get('top_logins', [])
+ if top_logins:
+ print(f" - Sample Logins Found: {', '.join(top_logins[:3])}...")
+
+ print(f"\n{Y}[!] Recommendation: All credentials saved on infected computers are at risk.{X}")
+ print(f"{Y}[!] Visit https://www.hudsonrock.com/free-tools for more info.{X}")
+
+ elif response.status_code == 404:
+ print(f"{G}[βœ”] No data found for this {param} in Hudson Rock database.{X}")
+ else:
+ print(f"{R}[✘] Hudson Rock API error: HTTP {response.status_code}{X}")
+
+ except Exception as e:
+ print(f"{R}[✘] Error connecting to Hudson Rock: {e}{X}")