🕵️♂️ (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
from colorama import Fore
import sys
from user_scanner.core.version import get_pypi_version, load_local_version
from user_scanner.utils.update import update_self
from user_scanner.core.helpers import load_config, save_config_value
# Color configs
R = Fore.RED
G = Fore.GREEN
C = Fore.CYAN
Y = Fore.YELLOW
X = Fore.RESET
def check_for_updates():
if not load_config().get("auto_update_status", False):
return
try:
PYPI_URL = "https://pypi.org/pypi/user-scanner/json"
latest_ver = get_pypi_version(PYPI_URL)
current_ver, _ = load_local_version()
if latest_ver is None:
print(f"[{Y}!{X}] {R}Could not reach PyPI, skipping update check.{X}")
return
if current_ver != latest_ver:
print(
f"\n[!] New version available: "
f"{R}{current_ver}{X} -> {C}{latest_ver}{X}\n"
)
choice = input(
f"{Y}Do you want to update?{X} (y/n/d: {R}don't ask again{X}): "
).strip().lower()
if choice == "y":
update_self()
print(f"[{G}+{X}] {G}Update successful. Please restart the tool.{X}")
sys.exit(0)
elif choice == "d":
save_config_value("auto_update_status", False)
print(f"[{Y}*{X}] {R}Auto-update checks disabled.{X}")
except Exception as e:
print(f"[{Y}!{X}] {R}Update check failed{X}: {e}")