π΅οΈββοΈ (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
fix(__main__.py, test_helpers.py): improve CLI output grammar and update tests
kaifcodec23c01ea999e9
diff --git a/tests/test_helpers.py b/tests/test_helpers.pyindex c5abfa7..8056913 100644--- a/tests/test_helpers.py+++ b/tests/test_helpers.py@@ -92,7 +92,7 @@ def test_bulk_emails_single_valid(tmp_path, run_main, capsys):exit_code = run_main(["-ef", str(email_file), "-m", "github"])out = capsys.readouterr().out- assert "Loaded 1 emails" in out+ assert "Loaded 1 email" in outassert exit_code == 0def test_bulk_emails_invalid(tmp_path, run_main):@@ -155,7 +155,7 @@ def test_bulk_usernames_single_valid(tmp_path, run_main, capsys):exit_code = run_main(["-uf", str(username_file), "-m", "github"])out = capsys.readouterr().out- assert "Loaded 1 usernames" in out+ assert "Loaded 1 username" in outassert exit_code == 0def test_bulk_usernames_empty_file(tmp_path, run_main):diff --git a/user_scanner/__main__.py b/user_scanner/__main__.pyindex 4a7a8ad..310b0ea 100644--- a/user_scanner/__main__.py+++ b/user_scanner/__main__.py@@ -196,7 +196,7 @@ def main():print(f"{R}[β] Error: No valid emails found in {args.email_file}{X}")sys.exit(1)- print(f"{C}[+] Loaded {len(valid_emails)} emails from {args.email_file}{X}")+ print(f"{C}[+] Loaded {len(valid_emails)} {'email' if len(valid_emails) == 1 else 'emails'} from {args.email_file}{X}")is_email = Truetargets = valid_emailsexcept FileNotFoundError:@@ -213,7 +213,7 @@ def main():if not usernames:print(f"{R}[β] Error: No valid usernames found in {args.username_file}{X}")sys.exit(1)- print(f"{C}[+] Loaded {len(usernames)} usernames from {args.username_file}{X}")+ print(f"{C}[+] Loaded {len(usernames)} {'username' if len(usernames) == 1 else 'usernames'} from {args.username_file}{X}")is_email = Falsetargets = usernamesexcept FileNotFoundError: