mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
just in case as maybe there will be some boolean expression to check where we won't expect None, but explicitly True/False
This commit is contained in:
parent
4c6e902471
commit
270ae0f080
1 changed files with 2 additions and 2 deletions
|
|
@ -502,5 +502,5 @@ def goStacked(expression, silent=False):
|
|||
|
||||
return payload, page
|
||||
|
||||
def checkBooleanExpression(expression):
|
||||
return getValue(unescaper.unescape(expression), expected=EXPECTED.BOOL, suppressOutput=True, expectingNone=True)
|
||||
def checkBooleanExpression(expression, expectingNone=True):
|
||||
return getValue(unescaper.unescape(expression), expected=EXPECTED.BOOL, suppressOutput=True, expectingNone=expectingNone)
|
||||
|
|
|
|||
Loading…
Reference in a new issue