mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
second step toward negative logic support (ported to detection phase too) - works well with --string, --regexp and --code now
This commit is contained in:
@@ -36,7 +36,7 @@ def comparison(page, headers, code=None, getRatioValue=False, pageLength=None):
|
||||
seqMatcher.set_seq1(kb.pageTemplate)
|
||||
|
||||
def _(condition):
|
||||
#condition = not condition if kb.negativeLogic else condition
|
||||
condition = not condition if kb.negativeLogic else condition
|
||||
return condition if not getRatioValue else (MAX_RATIO if condition else MIN_RATIO)
|
||||
|
||||
if any([conf.string, conf.regexp]):
|
||||
|
||||
Reference in New Issue
Block a user