mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
improvement toward proper implementation of OR-based injection by usage of "negative logic" mechanism
This commit is contained in:
parent
ce4c697bbd
commit
637a8d8273
5 changed files with 23 additions and 16 deletions
|
|
@ -2386,6 +2386,7 @@ def initTechnique(technique=None):
|
|||
if data:
|
||||
kb.pageTemplate, kb.errorIsNone = getPageTemplate(data.templatePayload, kb.injection.place)
|
||||
kb.matchRatio = data.matchRatio
|
||||
kb.negativeLogic = (technique == PAYLOAD.TECHNIQUE.BOOLEAN) and (data.where == PAYLOAD.WHERE.NEGATIVE)
|
||||
|
||||
# Restoring stored conf options
|
||||
for key, value in kb.injection.conf.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue