Minor patch

This commit is contained in:
Miroslav Stampar 2015-07-10 01:33:53 +02:00
parent 02470ea683
commit 9ff115ce71

View File

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