MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / osint_full

Function osint_full

cli/main.py:356–385  ·  view source on GitHub ↗

Run full OSINT reconnaissance.

(
    target: str = typer.Argument(..., help="Target domain"),
    verbose: bool = typer.Option(False, "--verbose", "-v"),
)

Source from the content-addressed store, hash-verified

354
355@osint_app.command("full")
356def osint_full(
357 target: str = typer.Argument(..., help="Target domain"),
358 verbose: bool = typer.Option(False, "--verbose", "-v"),
359):
360 """Run full OSINT reconnaissance."""
361 setup_logging(debug=verbose)
362 from modules.osint import (
363 DNSEnumerator,
364 EmailHarvester,
365 HeaderAnalyzer,
366 SubdomainScanner,
367 TechDetector,
368 WhoisLookup,
369 )
370
371 console.print(f"[bold]Full OSINT Recon:[/bold] {target}")
372 console.print()
373
374 t = Target.from_string(target)
375
376 scanners = [
377 ("DNS Enumeration", DNSEnumerator()),
378 ("WHOIS Lookup", WhoisLookup()),
379 ("Subdomain Discovery", SubdomainScanner()),
380 ("Header Analysis", HeaderAnalyzer()),
381 ("Technology Detection", TechDetector()),
382 ("Email Harvesting", EmailHarvester()),
383 ]
384
385 for name, scanner in scanners:
386 console.print(f"[cyan]Running {name}...[/cyan]")
387 result = run_async(scanner.run(t))
388 display_result(result)

Callers

nothing calls this directly

Calls 11

setup_loggingFunction · 0.90
DNSEnumeratorClass · 0.90
WhoisLookupClass · 0.90
SubdomainScannerClass · 0.90
HeaderAnalyzerClass · 0.90
TechDetectorClass · 0.90
EmailHarvesterClass · 0.90
run_asyncFunction · 0.85
display_resultFunction · 0.85
from_stringMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected