π΅οΈββοΈ (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(cli): move output format validation before scan execution to prevent bandwidth waste
Kaifb551797d9439
diff --git a/user_scanner/__main__.py b/user_scanner/__main__.pyindex 86975df..47323c6 100644--- a/user_scanner/__main__.py+++ b/user_scanner/__main__.py@@ -218,6 +218,18 @@ def main():parser.print_help()return+ if args.output and not args.format:+ ext = args.output.lower()+ if ext.endswith('.json'):+ args.format = 'json'+ elif ext.endswith('.csv'):+ args.format = 'csv'+ elif ext.endswith('.pdf'):+ args.format = 'pdf'+ else:+ print(f"\n{Fore.RED}[β] Specify output format using -f (json, csv, pdf) or use a known file extension.{Style.RESET_ALL}")+ sys.exit(1)+# Initialize proxy manager if proxy file is providedif args.proxy_file:try:@@ -451,18 +463,6 @@ def main():if args.hudson_scan:sys.exit(0)- if args.output and not args.format:- ext = args.output.lower()- if ext.endswith('.json'):- args.format = 'json'- elif ext.endswith('.csv'):- args.format = 'csv'- elif ext.endswith('.pdf'):- args.format = 'pdf'- else:- print(f"\n{Fore.RED}[β] Specify output format using -f (json, csv, pdf) or use a known file extension.{Style.RESET_ALL}")- sys.exit(1)-is_pdf_export = args.format == "pdf" or (args.output and args.output.lower().endswith(".pdf"))if args.output or is_pdf_export: