You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Let's say you triggered whoami command with "Task an Agent to run a Shell Command" API Call for 4 times on an agent. It produces an output like that for the last one:
{ "success": true, "taskID": 4}
So "Get Agent Results" API Call will return something like that:
When you trigger "Delete Agent Results" API Call, it deletes Agent Results but not taskID value. So if you trigger the "Task an Agent to run a Shell Command" again, response will be:
{ "success": true, "taskID": 5}
When you trigger the "Get Agent Results" again, response will be:
So taskID:5 is equal to AgentResult[0] When you trigger another taskID:6 will equal to AgentResult[1]. Eventually, you will lose the track of which result belongs to which taskID
My suggestion is: "Get Agent Results" should include taskID as well so we can keep track which result belongs to which taskID
The text was updated successfully, but these errors were encountered:
Empire Version
2.3
OS Information (Linux flavor, Python version)
Both Kali Linux, macOS
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Let's say you triggered
whoami
command with "Task an Agent to run a Shell Command" API Call for 4 times on an agent. It produces an output like that for the last one:{ "success": true, "taskID": 4}
So "Get Agent Results" API Call will return something like that:
When you trigger "Delete Agent Results" API Call, it deletes Agent Results but not taskID value. So if you trigger the "Task an Agent to run a Shell Command" again, response will be:
{ "success": true, "taskID": 5}
When you trigger the "Get Agent Results" again, response will be:
So
taskID:5
is equal toAgentResult[0]
When you trigger anothertaskID:6
will equal toAgentResult[1]
. Eventually, you will lose the track of which result belongs to whichtaskID
My suggestion is: "Get Agent Results" should include
taskID
as well so we can keep track which result belongs to whichtaskID
The text was updated successfully, but these errors were encountered: