mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Update regarding the #5911
This commit is contained in:
parent
d4f479e7a8
commit
1de66fd7e1
7 changed files with 28 additions and 36 deletions
|
|
@ -6,6 +6,8 @@ See the file 'LICENSE' for copying permission
|
|||
"""
|
||||
|
||||
from lib.core.common import Backend
|
||||
from lib.core.common import getSafeExString
|
||||
from lib.core.common import singleTimeWarnMessage
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.dicts import DBMS_DICT
|
||||
|
|
@ -173,7 +175,8 @@ def setHandler():
|
|||
conf.dbmsConnector.connect()
|
||||
except Exception as ex:
|
||||
if exception:
|
||||
raise exception
|
||||
singleTimeWarnMessage(getSafeExString(exception))
|
||||
raise
|
||||
else:
|
||||
if not isinstance(ex, NameError):
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue