From 9842315ccf0d31b5904542b9c30339ab2f62b48c Mon Sep 17 00:00:00 2001 From: LeVarez Date: Tue, 5 May 2026 15:40:57 +0200 Subject: [PATCH] Fix Rich markup error in PortScan prompt The closing tag `[/bold magenta]` did not match the opening tag `[bold]`, causing a MarkupError at runtime. Updated the opening tag to `[bold magenta]` so both tags match. Co-Authored-By: Claude Opus 4.6 (1M context) --- tools/information_gathering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/information_gathering.py b/tools/information_gathering.py index e773839..41a978a 100644 --- a/tools/information_gathering.py +++ b/tools/information_gathering.py @@ -46,7 +46,7 @@ class PortScan(HackingTool): def run(self): clear_screen() console.print(Panel(Text(self.TITLE, justify="center"), style="bold magenta")) - target = Prompt.ask("[bold]Select a Target IP[/bold magenta]", default="", show_default=False) + target = Prompt.ask("[bold magenta]Select a Target IP[/bold magenta]", default="", show_default=False) subprocess.run(["sudo", "nmap", "-O", "-Pn", target])