Traceback (most recent call last):
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
result = self._run(*self.args, **self.kwargs)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/cme/connection.py", line 62, in __init__
smb = SMBConnection(self.host, self.host, None, self.args.smb_port)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/smbconnection.py", line 63, in __init__
self.negotiateSession(preferredDialect)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/smbconnection.py", line 83, in negotiateSession
self._timeout, True, flags1=flags1, flags2=flags2, data=negoData)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/smbconnection.py", line 147, in _negotiateSession
resp = self._nmbSession.recv_packet(timeout)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/nmb.py", line 855, in recv_packet
data = self.__read(timeout)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/nmb.py", line 933, in __read
data = self.read_function(4, timeout)
File "/root/.virtualenvs/CME/local/lib/python2.7/site-packages/impacket/nmb.py", line 918, in non_polling_read
raise NetBIOSTimeout
NetBIOSTimeout: The NETBIOS connection with the remote host timed out.
Wed Feb 22 11:20:31 2017 <Greenlet at 0x7fbd601a12d0: Connection(Namespace(content=False, cred_id=[], depth=10, dis, <cme.database.CMEDatabase instance at 0x7fbd6171ff, '10.11.1.145', None, None)> failed with NetBIOSTimeout
OS
Linux phlegethon 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
Detailed issue explanation
It seems like when connection with a target takes too long (time-out) an unhandled NetBIOSTimeout exception is raised.
Command string used
crackmapexec 10.11.1.0/24 --shares -t 20
CME verbose output (using the --verbose flag)
OS
Linux phlegethon 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
Detailed issue explanation
It seems like when connection with a target takes too long (time-out) an unhandled
NetBIOSTimeout
exception is raised.