mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
imporant fix for boolean expression which return [None]
This commit is contained in:
@@ -483,6 +483,8 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||||||
value = value != "0"
|
value = value != "0"
|
||||||
elif isinstance(value, int):
|
elif isinstance(value, int):
|
||||||
value = bool(value)
|
value = bool(value)
|
||||||
|
elif value == [None]:
|
||||||
|
value = None
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user