From 7ef09696abc939a773d49bef28a8dabb6dd7d9d2 Mon Sep 17 00:00:00 2001 From: Matt Ehrnschwender Date: Thu, 19 Dec 2024 13:59:14 -0500 Subject: [PATCH] fix: link netstat command to browser script --- .../thanatos/thanatos/mythic/agent_functions/netstat.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Payload_Type/thanatos/thanatos/mythic/agent_functions/netstat.py b/Payload_Type/thanatos/thanatos/mythic/agent_functions/netstat.py index 80771e1..1346d79 100644 --- a/Payload_Type/thanatos/thanatos/mythic/agent_functions/netstat.py +++ b/Payload_Type/thanatos/thanatos/mythic/agent_functions/netstat.py @@ -1,4 +1,5 @@ from mythic_container.MythicCommandBase import ( + BrowserScript, TaskArguments, CommandBase, CommandAttributes, @@ -27,6 +28,9 @@ class NetstatCommand(CommandBase): author = "@maclarel" argument_class = NetstatArguments attackmapping = ["T1049"] + browser_script = BrowserScript( + script_name="netstat", author="@M_alphaaa", for_new_ui=True + ) attributes = CommandAttributes( supported_os=[SupportedOS.Linux, SupportedOS.Windows], )