@@ -314,7 +314,7 @@ def __goInferenceProxy(expression, fromUser=False, expected=None, batch=False, r
314314
315315 return returnValue
316316
317- def __goInband (expression , expected = None , sort = True , resumeValue = True , unpack = True ):
317+ def __goInband (expression , expected = None , sort = True , resumeValue = True , unpack = True , dump = False ):
318318 """
319319 Retrieve the output of a SQL query taking advantage of an inband SQL
320320 injection vulnerability on the affected parameter.
@@ -336,14 +336,14 @@ def __goInband(expression, expected=None, sort=True, resumeValue=True, unpack=Tr
336336 partial = True
337337
338338 if not output :
339- output = unionUse (expression , resetCounter = True , unpack = unpack )
339+ output = unionUse (expression , resetCounter = True , unpack = unpack , dump = dump )
340340
341341 if output :
342342 data = parseUnionPage (output , expression , partial , condition , sort )
343343
344344 return data
345345
346- def getValue (expression , blind = True , inband = True , fromUser = False , expected = None , batch = False , unpack = True , sort = True , resumeValue = True , charsetType = None , firstChar = None , lastChar = None ):
346+ def getValue (expression , blind = True , inband = True , fromUser = False , expected = None , batch = False , unpack = True , sort = True , resumeValue = True , charsetType = None , firstChar = None , lastChar = None , dump = False ):
347347 """
348348 Called each time sqlmap inject a SQL query on the SQL injection
349349 affected parameter. It can call a function to retrieve the output
@@ -361,7 +361,7 @@ def getValue(expression, blind=True, inband=True, fromUser=False, expected=None,
361361 expression = expression .replace ("DISTINCT " , "" )
362362
363363 if inband and kb .unionPosition :
364- value = __goInband (expression , expected , sort , resumeValue , unpack )
364+ value = __goInband (expression , expected , sort , resumeValue , unpack , dump )
365365
366366 if not value :
367367 warnMsg = "for some reasons it was not possible to retrieve "
0 commit comments