Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError 'taskID' when 'AgentResults' None #35

Closed
ghost opened this issue Oct 28, 2017 · 6 comments
Closed

KeyError 'taskID' when 'AgentResults' None #35

ghost opened this issue Oct 28, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Oct 28, 2017

Sorry, if I'm doing something wrong. I already tried your Empire fork, as suggested in a similar issue..

[DEBUG] Agent: NFXL2CHU => Executed Module => success: True taskID: 1 msg: 'tasked agent NFXL2CHU to run module powershell/management/get_domain_sid'
[DEBUG] Agent: NFXL2CHU => Result Buffer: {'AgentName': 'NFXL2CHU', 'AgentResults': [None]}
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "./DeathStar.py", line 59, in __run
self.__run_backup()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "./DeathStar.py", line 585, in pwn_the_shit_out_of_everything
recon(agent_name)
File "./DeathStar.py", line 507, in recon
domain_sid = get_domain_sid(agent_name)
File "./DeathStar.py", line 213, in get_domain_sid
results = execute_module_with_results('powershell/management/get_domain_sid', agent_name)
File "./DeathStar.py", line 180, in execute_module_with_results
if result['taskID'] == r['taskID']:
KeyError: 'taskID'

@crossmxn
Copy link

crossmxn commented Nov 9, 2017

Im getting the same error.. Im running empire on the latest commit and so do DeathStar

@whoot
Copy link

whoot commented Nov 10, 2017

Same here

1 similar comment
@chryzsh
Copy link

chryzsh commented Nov 10, 2017

Same here

@utkusen
Copy link
Contributor

utkusen commented Nov 15, 2017

I worked on that problem a bit and it seems to be Empire's problem. I opened an issue: EmpireProject/Empire#822

If they fix it, Deathstar will also be fixable

@byt3bl33d3r
Copy link
Owner

Duplicate of #29. Please track the issue there.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@chryzsh @utkusen @byt3bl33d3r @whoot @crossmxn and others