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) <noreply@anthropic.com>
This commit is contained in:
LeVarez 2026-05-05 15:40:57 +02:00
parent 01a51bbca6
commit 9842315ccf

View file

@ -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])