byt3bl33d3r / DeathStar

Uses Empire's (https://github.com/BC-SECURITY/Empire) RESTful API to automate gaining Domain and/or Enterprise Admin rights in Active Directory environments using some of the most common offensive TTPs.
GNU General Public License v3.0
1.57k stars 331 forks source link

IndexError: list index out of range #63

Closed enidevops closed 5 years ago

enidevops commented 5 years ago

Hi, on a freshly installed kali linux (2018.3a) i always get this error when running Deathstar (0.0.1) with Empire (2.5):

_./DeathStar.py [] Powering up the Death Star [] Polling for agents [+] New Agent => Name: C11C8QIO IP: 192.XXX.XXX.44 HostName: desk UserName: bob HighIntegrity: 0 Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "./DeathStar.py", line 59, in run self.run_backup() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "./DeathStar.py", line 616, in pwn_the_shit_out_of_everything recon(agent_name) File "./DeathStar.py", line 507, in recon if running_under_domain_account(agent_name): File "./DeathStar.py", line 680, in running_under_domainaccount if username.split('\')[0] != hostname and username.split('\')[1] != 'SYSTEM': IndexError: list index out of range

byt3bl33d3r commented 5 years ago

see my answer here.

Cheers