mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-27 09:11:55 +00:00
update regarding expectingNone in fingerprinting mode to cancel drop down to other techniques available
This commit is contained in:
parent
e32fa9df43
commit
e6c66fa37c
10 changed files with 43 additions and 49 deletions
|
|
@ -97,10 +97,6 @@ def __goInferenceFields(expression, expressionFields, expressionFieldsList, payl
|
|||
return outputs
|
||||
|
||||
def __goBooleanProxy(expression, resumeValue=True):
|
||||
|
||||
pushValue(conf.verbose)
|
||||
conf.verbose = 0
|
||||
|
||||
vector = kb.injection.data[kb.technique].vector
|
||||
|
||||
kb.pageTemplate = getPageTemplate(kb.injection.data[kb.technique].templatePayload, kb.injection.place)
|
||||
|
|
@ -118,8 +114,6 @@ def __goBooleanProxy(expression, resumeValue=True):
|
|||
if not output:
|
||||
output = Request.queryPage(payload)
|
||||
|
||||
conf.verbose = popValue()
|
||||
|
||||
return output
|
||||
|
||||
|
||||
|
|
@ -404,7 +398,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
(if selected).
|
||||
"""
|
||||
|
||||
if suppressOutput:
|
||||
if suppressOutput or expected == EXPECTED.BOOL:
|
||||
pushValue(conf.verbose)
|
||||
conf.verbose = 0
|
||||
|
||||
|
|
@ -478,7 +472,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse
|
|||
errMsg += "leveraged to retrieve queries output"
|
||||
raise sqlmapNotVulnerableException, errMsg
|
||||
finally:
|
||||
if suppressOutput:
|
||||
if suppressOutput or expected == EXPECTED.BOOL:
|
||||
conf.verbose = popValue()
|
||||
|
||||
if value and expected == EXPECTED.BOOL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue