mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Cosmetics
This commit is contained in:
parent
86690682c7
commit
cfcee6439e
|
@ -1711,6 +1711,7 @@ def isDBMSVersionAtLeast(version):
|
||||||
|
|
||||||
if kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown" and kb.dbmsVersion[0] != None:
|
if kb.dbmsVersion and kb.dbmsVersion[0] != "Unknown" and kb.dbmsVersion[0] != None:
|
||||||
value = kb.dbmsVersion[0].replace(" ", "")
|
value = kb.dbmsVersion[0].replace(" ", "")
|
||||||
|
|
||||||
if isinstance(value, basestring):
|
if isinstance(value, basestring):
|
||||||
if value.startswith(">="):
|
if value.startswith(">="):
|
||||||
value = float(value.replace(">=", ""))
|
value = float(value.replace(">=", ""))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user