Test speed up in case of boolean based blind

This commit is contained in:
Miroslav Stampar 2015-07-10 00:37:59 +02:00
parent 3a5cc98976
commit ca2f63c672

View File

@ -426,7 +426,7 @@ def checkSqlInjection(place, parameter, value):
trueResult = Request.queryPage(reqPayload, place, raise404=False)
truePage = threadData.lastComparisonPage or ""
if trueResult:
if trueResult and truePage != falsePage:
falseResult = Request.queryPage(genCmpPayload(), place, raise404=False)
# Perform the test's False request