Analyze HTTP security headers.
(
target: str = typer.Argument(..., help="Target URL or domain"),
verbose: bool = typer.Option(False, "--verbose", "-v"),
)
| 262 | |
| 263 | @osint_app.command("headers") |
| 264 | def 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") |
nothing calls this directly
no test coverage detected