This commit is contained in:
Miroslav Stampar 2010-10-19 18:34:57 +00:00
parent 415524bd5a
commit 7927e97007

View File

@ -371,7 +371,7 @@ def __goError(expression, resumeValue=True):
return output return output
def getValue(expression, blind=True, inband=True, error=False, fromUser=False, expected=None, batch=False, unpack=True, sort=True, resumeValue=True, charsetType=None, firstChar=None, lastChar=None, dump=False, suppressOutput=False): def getValue(expression, blind=True, inband=True, error=True, fromUser=False, expected=None, batch=False, unpack=True, sort=True, resumeValue=True, charsetType=None, firstChar=None, lastChar=None, dump=False, suppressOutput=False):
""" """
Called each time sqlmap inject a SQL query on the SQL injection Called each time sqlmap inject a SQL query on the SQL injection
affected parameter. It can call a function to retrieve the output affected parameter. It can call a function to retrieve the output
@ -392,7 +392,7 @@ def getValue(expression, blind=True, inband=True, error=False, fromUser=False, e
expression = expression.replace("DISTINCT ", "") expression = expression.replace("DISTINCT ", "")
if error or conf.errorTest: if error and conf.errorTest:
value = __goError(expression) value = __goError(expression)
if not value: if not value: