Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Added TaskID variable to "get_agent_results" API call (Resolves #822 and issue with DeathStar) #854

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

byt3bl33d3r
Copy link
Contributor

Heya,

This is a fix to the API which should resolve #822 and the 'taskID' issue with DeathStar (byt3bl33d3r/DeathStar#29).

The get_agent_result API call now returns a JSON object with the module/command output and it's respective taskID.

For example, here's what will be returned after running the powershell/management/get_domain_sid module:

{
  results: {   
    'AgentName': 'LCA9E6DM',
    'AgentResults':  { 
             {'results': 'S-1-5-21-1049426096-2728124650-4150323340', 'taskID': 1}
    }
  }
}

Thanks

@byt3bl33d3r byt3bl33d3r changed the title Resolves #822 Adds TaskID variable to "get_agent_results" API call (Resolves #822 and issue with DeathStar) Dec 8, 2017
@byt3bl33d3r byt3bl33d3r changed the title Adds TaskID variable to "get_agent_results" API call (Resolves #822 and issue with DeathStar) Added TaskID variable to "get_agent_results" API call (Resolves #822 and issue with DeathStar) Dec 8, 2017
@Chiggins
Copy link

Really hoping that this gets landed soon

@xorrior
Copy link
Contributor

xorrior commented Dec 18, 2017

@byt3bl33d3r Thanks for this. Tested and confirmed working.

@xorrior xorrior merged commit d345aec into EmpireProject:master Dec 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Get Agent Results" REST API Call Should Return "taskID" Variable
3 participants