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

Function osint_headers

cli/main.py:264–275  ·  view source on GitHub ↗

Analyze HTTP security headers.

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

Source from the content-addressed store, hash-verified

262
263@osint_app.command("headers")
264def osint_headers(
265 target: str = typer.Argument(..., help="Target URL or domain"),
266 verbose: bool = typer.Option(False, "--verbose", "-v"),
267):
268 """Analyze HTTP security headers."""
269 setup_logging(debug=verbose)
270 from modules.osint import HeaderAnalyzer
271
272 console.print(f"[bold]Header Analysis:[/bold] {target}")
273 scanner = HeaderAnalyzer()
274 result = run_async(scanner.run(Target.from_string(target)))
275 display_result(result)
276
277
278@osint_app.command("ports")

Callers

nothing calls this directly

Calls 6

runMethod · 0.95
setup_loggingFunction · 0.90
HeaderAnalyzerClass · 0.90
run_asyncFunction · 0.85
display_resultFunction · 0.85
from_stringMethod · 0.80

Tested by

no test coverage detected