Added SessionError handling

main
byt3bl33d3r 2016-09-13 15:55:34 -06:00
parent 2121503ffe
commit 9bda755de4
1 changed files with 3 additions and 1 deletions

View File

@ -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