mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +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"
|
||||
elif isinstance(value, int):
|
||||
value = bool(value)
|
||||
elif value == [None]:
|
||||
value = None
|
||||
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user