Improved module selection in payload generation modal with tooltips from the module manager.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user