Skip to content

Commit

Permalink
Add status and task id to completion function output
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 7, 2024
1 parent fd51975 commit 5d7508d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Payload_Type/thanatos/mythic/commands/sleep/sleep.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,12 @@ func (c SleepCommand) PostRunAction(
data *agentstructs.PTTaskMessageAllData,
subtask *agentstructs.SubtaskGroupName,
) agentstructs.PTTaskCompletionFunctionMessageResponse {
return agentstructs.PTTaskCompletionFunctionMessageResponse{}
response := agentstructs.PTTaskCompletionFunctionMessageResponse{
Success: true,
TaskID: task.Task.ID,
}

return response
}

func Initialize() {
Expand Down

0 comments on commit 5d7508d

Please sign in to comment.