mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
added one more level of MSSQL version check (if first fails for some reason)
This commit is contained in:
parent
07609bfb53
commit
b4450c6ddd
3 changed files with 12 additions and 2 deletions
|
|
@ -468,6 +468,8 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
if isinstance(value, basestring):
|
||||
if value.lower() in ("true", "false"):
|
||||
value = bool(value)
|
||||
elif value.capitalize() == "None":
|
||||
value = None
|
||||
else:
|
||||
value = value != "0"
|
||||
elif isinstance(value, int):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue