mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
imporant fix for boolean expression which return [None]
This commit is contained in:
parent
7539881ffa
commit
d9af01d73d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user