Updated task result console output

This commit is contained in:
Jakob Friedl
2025-06-02 21:14:13 +02:00
parent 3849bcd7f1
commit ac1bc22b93
9 changed files with 30 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
# Agent configuration
-d:ListenerUuid="KPDHWZNT"
-d:ListenerIp="localhost"
-d:ListenerPort=7777
-d:ListenerUuid="JEBFQPEP"
-d:ListenerIp="127.0.0.1"
-d:ListenerPort=5555
-d:SleepDelay=10

View File

@@ -18,7 +18,7 @@ proc handleTask*(task: Task, config: AgentConfig): TaskResult =
# Update sleep delay in agent config
if taskResult.status == Completed:
config.sleep = delay
config.sleep = parseInt(task.args[0])
# Return result
return taskResult