mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for bug reported by shiftzwei@gmail.com regarding formatDBMSfp with unknown DBMS version
This commit is contained in:
@@ -136,7 +136,7 @@ def formatDBMSfp(versions=None):
|
||||
@rtype: C{str}
|
||||
"""
|
||||
|
||||
if ( not versions or versions == [None] ) and kb.dbmsVersion[0] != "Unknown":
|
||||
if ( not versions or versions == [None] ) and kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown":
|
||||
versions = kb.dbmsVersion
|
||||
|
||||
if isinstance(versions, str):
|
||||
|
||||
Reference in New Issue
Block a user