mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
one more update
This commit is contained in:
parent
25a3a64327
commit
1cd483f42f
|
@ -478,10 +478,10 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
||||||
value = value.strip()
|
value = value.strip()
|
||||||
if value.lower() in ("true", "false"):
|
if value.lower() in ("true", "false"):
|
||||||
value = bool(value)
|
value = bool(value)
|
||||||
elif value.capitalize() == "None":
|
|
||||||
value = None
|
|
||||||
elif value in ("1", "-1"):
|
elif value in ("1", "-1"):
|
||||||
value = True
|
value = True
|
||||||
|
elif value in ("0"):
|
||||||
|
value = False
|
||||||
else:
|
else:
|
||||||
value = None
|
value = None
|
||||||
elif isinstance(value, int):
|
elif isinstance(value, int):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user