byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.38k stars 1.64k forks source link

Some greenlet error #17

Closed DanMcInerney closed 8 years ago

DanMcInerney commented 8 years ago

Ran the script with:

./crackmapexec.py -t 25 some-ips.txt -d localhost -u username -p password --execm wmi -X "Import-Module ActiveDirectory; Get-ADGroup"

And just after a few successful login messages but prior to getting any output from the command, this error popped up:

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run result = self._run(_self.args, *_self.kwargs) File "/usr/lib/python2.7/threading.py", line 525, in bootstrap self.bootstrap_inner() File "/usr/lib/python2.7/threading.py", line 540, in bootstrap_inner del _limbo[self] KeyError: <_Timer(Thread-1, stopped daemon 59241488)> <Greenlet at 0x387f410: <bound method _Timer.bootstrap of <_Timer(Thread-1, stopped daemon 59241488)>>> failed with KeyError

Script just plowed on. It happened twice, then when I ran it a third time it went away. I have no idea what's causing so this is probably unhelpful but in case you run into it in the future maybe something here will be useful.

byt3bl33d3r commented 8 years ago

Weird will try to reproduce this as well, although it seems to be a problem with gevent

byt3bl33d3r commented 8 years ago

Closing since I can't reproduce this at all