mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
minor update of false positive check (in considerable amount of cases minus char is filtered/used for other means)
This commit is contained in:
parent
440b7efe55
commit
8c32b3653b
|
@ -556,9 +556,9 @@ def checkFalsePositives(injection):
|
|||
retVal = None
|
||||
elif checkBooleanExpression("%d=%d" % (randInt1, randInt2)):
|
||||
retVal = None
|
||||
elif not checkBooleanExpression("%d=(%d-%d)" % (abs(randInt1 - randInt2), max(randInt1, randInt2), min(randInt1, randInt2))):
|
||||
if not checkBooleanExpression("%d=(%d+%d)" % (randInt1 + randInt2, randInt1, randInt2)):
|
||||
retVal = None
|
||||
elif checkBooleanExpression("(%d+%d)=(%d-%d)" % (randInt1, randInt2, randInt1, randInt2)):
|
||||
elif checkBooleanExpression("%d=%d" % (randInt2, randInt1)):
|
||||
retVal = None
|
||||
|
||||
if retVal is None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user