Added SessionError handling
parent
2121503ffe
commit
9bda755de4
|
@ -6,7 +6,7 @@ from StringIO import StringIO
|
|||
from functools import wraps
|
||||
from gevent.coros import BoundedSemaphore
|
||||
from impacket.smbconnection import SMBConnection, SessionError
|
||||
from impacket.nmb import NetBIOSError
|
||||
from impacket.nmb import NetBIOSError, SessionError
|
||||
from impacket import tds
|
||||
from cme.mssql import *
|
||||
from impacket.dcerpc.v5.rpcrt import DCERPCException
|
||||
|
@ -108,6 +108,8 @@ class Connection:
|
|||
pass
|
||||
except socket.error:
|
||||
pass
|
||||
except SessionError:
|
||||
pass
|
||||
|
||||
if self.args.mssql:
|
||||
instances = None
|
||||
|
|
Loading…
Reference in New Issue