mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Fix for Issue #57
This commit is contained in:
parent
23fb753759
commit
7ad6697446
|
@ -343,11 +343,11 @@ def checkSqlInjection(place, parameter, value):
|
|||
kb.matchRatio = None
|
||||
kb.negativeLogic = (where == PAYLOAD.WHERE.NEGATIVE)
|
||||
Request.queryPage(genCmpPayload(), place, raise404=False)
|
||||
falsePage = threadData.lastComparisonPage
|
||||
falsePage = threadData.lastComparisonPage or ""
|
||||
|
||||
# Perform the test's True request
|
||||
trueResult = Request.queryPage(reqPayload, place, raise404=False)
|
||||
truePage = threadData.lastComparisonPage
|
||||
truePage = threadData.lastComparisonPage or ""
|
||||
|
||||
if trueResult:
|
||||
falseResult = Request.queryPage(genCmpPayload(), place, raise404=False)
|
||||
|
|
Loading…
Reference in New Issue
Block a user