mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor fix
This commit is contained in:
parent
302d782a0f
commit
1e67b4f0b9
|
@ -119,10 +119,6 @@ def resumeConfKb(expression, url, value):
|
||||||
dbms = dbms.lower()
|
dbms = dbms.lower()
|
||||||
dbmsVersion = [UNKNOWN_DBMS_VERSION]
|
dbmsVersion = [UNKNOWN_DBMS_VERSION]
|
||||||
|
|
||||||
infoMsg = "resuming back-end DBMS '%s' " % dbms
|
|
||||||
infoMsg += "from session file"
|
|
||||||
logger.info(infoMsg)
|
|
||||||
|
|
||||||
firstRegExp = "(%s)" % ("|".join([alias for alias in SUPPORTED_DBMS]))
|
firstRegExp = "(%s)" % ("|".join([alias for alias in SUPPORTED_DBMS]))
|
||||||
dbmsRegExp = re.search("%s ([\d\.]+)" % firstRegExp, dbms)
|
dbmsRegExp = re.search("%s ([\d\.]+)" % firstRegExp, dbms)
|
||||||
|
|
||||||
|
@ -143,6 +139,10 @@ def resumeConfKb(expression, url, value):
|
||||||
Backend.setDbms(dbms)
|
Backend.setDbms(dbms)
|
||||||
Backend.setVersionList(dbmsVersion)
|
Backend.setVersionList(dbmsVersion)
|
||||||
else:
|
else:
|
||||||
|
infoMsg = "resuming back-end DBMS '%s' " % dbms
|
||||||
|
infoMsg += "from session file"
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
Backend.setDbms(dbms)
|
Backend.setDbms(dbms)
|
||||||
Backend.setVersionList(dbmsVersion)
|
Backend.setVersionList(dbmsVersion)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user