mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
urllib2 doesn't play well with '\n' when non unescaped chars used
This commit is contained in:
@@ -1724,6 +1724,8 @@ def isDBMSVersionAtLeast(version):
|
||||
value = float(value.replace("<=", ""))
|
||||
elif value.startswith(">"):
|
||||
value = float(value.replace("<", "")) - 0.01
|
||||
else:
|
||||
value = float(value)
|
||||
retVal = value >= version
|
||||
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user