mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor update
This commit is contained in:
@@ -252,6 +252,10 @@ class Format(object):
|
||||
if versions is None and Backend.getVersionList():
|
||||
versions = Backend.getVersionList()
|
||||
|
||||
# NOTE: preventing ugly (e.g.) "back-end DBMS: MySQL Unknown"
|
||||
if isListLike(versions) and UNKNOWN_DBMS_VERSION in versions:
|
||||
versions = None
|
||||
|
||||
return Backend.getDbms() if versions is None else "%s %s" % (Backend.getDbms(), " and ".join(filterNone(versions)))
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user