mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
urllib2 doesn't play well with '\n' when non unescaped chars used
This commit is contained in:
parent
e6c66fa37c
commit
6a24048aa6
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue