From 86f5f4e3d2ff88196a884a2e3171ab5c35b98337 Mon Sep 17 00:00:00 2001 From: Modark Date: Sun, 12 Oct 2025 16:55:37 -0400 Subject: [PATCH] tool post_exploitation.py NEW(design) --- tools/post_exploitation.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tools/post_exploitation.py b/tools/post_exploitation.py index 3d9791f..6811740 100644 --- a/tools/post_exploitation.py +++ b/tools/post_exploitation.py @@ -4,6 +4,14 @@ import os from core import HackingTool from core import HackingToolsCollection +from rich.console import Console +from rich.theme import Theme +from rich.table import Table +from rich.panel import Panel + +_theme = Theme({"purple": "#7B61FF"}) +console = Console(theme=_theme) + class Vegile(HackingTool): TITLE = "Vegile - Ghost In The Shell" @@ -42,3 +50,22 @@ class PostExploitationTools(HackingToolsCollection): Vegile(), ChromeKeyLogger() ] + + def pretty_print(self): + table = Table(title="Post-Exploitation Tools", show_lines=True, expand=True) + table.add_column("Title", style="purple", no_wrap=True) + table.add_column("Description", style="purple") + table.add_column("Project URL", style="purple", no_wrap=True) + + for t in self.TOOLS: + desc = getattr(t, "DESCRIPTION", "") or "" + url = getattr(t, "PROJECT_URL", "") or "" + table.add_row(t.TITLE, desc.strip().replace("\n", " "), url) + + panel = Panel(table, title="[purple]Available Tools[/purple]", border_style="purple") + console.print(panel) + + +if __name__ == "__main__": + tools = PostExploitationTools() + tools.pretty_print()