mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
improvement toward proper implementation of OR-based injection by usage of "negative logic" mechanism
This commit is contained in:
@@ -327,6 +327,7 @@ def checkSqlInjection(place, parameter, value):
|
||||
# Useful to set kb.matchRatio at first based on
|
||||
# the False response content
|
||||
kb.matchRatio = None
|
||||
kb.negativeLogic = (where == PAYLOAD.WHERE.NEGATIVE)
|
||||
Request.queryPage(genCmpPayload(), place, raise404=False)
|
||||
|
||||
# Perform the test's True request
|
||||
|
||||
Reference in New Issue
Block a user