mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03: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
|
@ -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 New Issue
Block a user