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.58k stars 329 forks source link

unicode username causing issue #8

Closed stboch closed 7 years ago

stboch commented 7 years ago

Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in bootstrap_inner self.run() File "DeathStar.py", line 59, in run self.run_backup() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.kwargs) File "DeathStar.py", line 512, in privesc for result in gpp(agent_name): File "DeathStar.py", line 327, in gpp usernames = list(map(str.strip, entry.split(':')[1].strip().split(','))) TypeError: descriptor 'strip' requires a 'str' object but received a 'unicode'

stboch commented 7 years ago

This maybe an issue that I was running as Python2 rerunning as python3

byt3bl33d3r commented 7 years ago

If you were running it with Python 2 that's probably the issue then. If it still happens in Python 3 let me know.