Scan for SQL injection vulnerabilities.
(
target: str = typer.Argument(..., help="Target URL with parameters"),
verbose: bool = typer.Option(False, "--verbose", "-v"),
)
| 420 | scanner = XSSScanner() |
| 421 | result = run_async(scanner.run(Target.from_string(target))) |
| 422 | display_result(result) |
| 423 | |
| 424 | |
| 425 | @scan_app.command("sqli") |
| 426 | def scan_sqli( |
| 427 | target: str = typer.Argument(..., help="Target URL with parameters"), |
| 428 | verbose: bool = typer.Option(False, "--verbose", "-v"), |
| 429 | ): |
| 430 | """Scan for SQL injection vulnerabilities.""" |
| 431 | setup_logging(debug=verbose) |
| 432 | from modules.webscanner import SQLiScanner |
| 433 | |
| 434 | console.print(f"[bold]SQLi Scan:[/bold] {target}") |
| 435 | scanner = SQLiScanner() |
| 436 | result = run_async(scanner.run(Target.from_string(target))) |
nothing calls this directly
no test coverage detected