Improved module selection in payload generation modal with tooltips from the module manager.

This commit is contained in:
Jakob Friedl
2025-09-27 12:36:59 +02:00
parent 9de4ac4838
commit 933a72f920
13 changed files with 55 additions and 25 deletions

View File

@@ -7,6 +7,7 @@ proc executeScreenshot(ctx: AgentCtx, task: Task): TaskResult
let module* = Module(
name: protect("screenshot"),
description: protect("Take and retrieve a screenshot of the target desktop."),
moduleType: MODULE_SCREENSHOT,
commands: @[
Command(
name: protect("screenshot"),
@@ -20,7 +21,7 @@ let module* = Module(
)
# Implement execution functions
when defined(server):
when not defined(agent):
proc executeScreenshot(ctx: AgentCtx, task: Task): TaskResult = nil
when defined(agent):