added one more time request payload to confirm test results

This commit is contained in:
Miroslav Stampar 2010-12-17 07:53:58 +00:00
parent e3fa3b0e8e
commit 323af45ce4

View File

@ -340,6 +340,10 @@ def checkSqlInjection(place, parameter, value):
# Perform the test's request # Perform the test's request
trueResult = Request.queryPage(reqPayload, place, timeBasedCompare=True) trueResult = Request.queryPage(reqPayload, place, timeBasedCompare=True)
if trueResult:
# Confirm test's results
trueResult = Request.queryPage(reqPayload, place, timeBasedCompare=True)
if trueResult: if trueResult:
infoMsg = "%s parameter '%s' is '%s' injectable " % (place, parameter, title) infoMsg = "%s parameter '%s' is '%s' injectable " % (place, parameter, title)
logger.info(infoMsg) logger.info(infoMsg)