Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

refactor(cli): remove final statistics display from CLI output

0xallam9bb8475e2f54
diff --git a/strix/interface/cli.py b/strix/interface/cli.py
index b1e54526..80b4688a 100644
--- a/strix/interface/cli.py
+++ b/strix/interface/cli.py
@@ -15,7 +15,6 @@ from strix.llm.config import LLMConfig
from strix.telemetry.tracer import Tracer, set_global_tracer
from .utils import (
- build_final_stats_text,
build_live_stats_text,
format_vulnerability_report,
)
@@ -180,25 +179,6 @@ async def run_cli(args: Any) -> None: # noqa: PLR0915
console.print(f"[bold red]Error during penetration test:[/] {e}")
raise
- console.print()
- final_stats_text = Text()
- final_stats_text.append("📊 ", style="bold cyan")
- final_stats_text.append("PENETRATION TEST COMPLETED", style="bold green")
- final_stats_text.append("\n\n")
-
- stats_text = build_final_stats_text(tracer)
- if stats_text:
- final_stats_text.append(stats_text)
-
- final_stats_panel = Panel(
- final_stats_text,
- title="[bold green]✅ Final Statistics",
- title_align="center",
- border_style="green",
- padding=(1, 2),
- )
- console.print(final_stats_panel)
-
if tracer.final_scan_result:
console.print()