🕵️♂️ (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
Merge pull request #274 from shredzwho/feature/hudson-rock-scan
Kaif2f9140a157a2
diff --cc tests/test_helpers.pyindex 623abb3,9ec5cd7..4e9013c--- a/tests/test_helpers.py+++ b/tests/test_helpers.py@@@ -8,8 -9,37 +9,9 @@@ import pytesfrom user_scanner.__main__ import mainfrom user_scanner.core import helpersfrom user_scanner.core.result import Result+ from user_scanner.core.helpers import _get_config_path, load_config, save_config_value, CONFIG_PATH-def test_generate_permutations():- perms = helpers.generate_permutations("user", "ab", limit=None)- assert "user" in perms- # All permutations must be valid- assert all(- p == "user" or (p.startswith("user") and len(p) > len("user")) for p in perms- )-- assert len(perms) > 1---def test_generate_permutations_email():- perms = helpers.generate_permutations(- "[email protected]", "abc", limit=None, is_email=True- )- assert "[email protected]" in perms- assert all(- p == "[email protected]"- or (- p.startswith("john")- and len(p) > len("[email protected]")- and p.endswith("@email.com")- )- for p in perms- )- assert len(perms) > 1--def test_get_site_name():def module(name: str) -> SimpleNamespace:return SimpleNamespace(**{"__name__": name})diff --cc user_scanner/core/helpers.pyindex 110c99e,e559117..6758b50--- a/user_scanner/core/helpers.py+++ b/user_scanner/core/helpers.py@@@ -1,15 -1,16 +1,17 @@@import importlibimport importlib.util+from types import ModuleType+from pathlib import Path+from typing import Dict, List, Optionalimport inspect+ import json+ import osimport randomimport threading+import functoolsfrom concurrent.futures import ThreadPoolExecutor, as_completedfrom dataclasses import dataclass-from itertools import permutations-from pathlib import Path-from types import ModuleType-from typing import Any, Callable, Dict, List, Optional+from typing import Any, Callableimport httpx