mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00: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:
@@ -556,9 +556,9 @@ def checkFalsePositives(injection):
|
|||||||
retVal = None
|
retVal = None
|
||||||
elif checkBooleanExpression("%d=%d" % (randInt1, randInt2)):
|
elif checkBooleanExpression("%d=%d" % (randInt1, randInt2)):
|
||||||
retVal = None
|
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
|
retVal = None
|
||||||
elif checkBooleanExpression("(%d+%d)=(%d-%d)" % (randInt1, randInt2, randInt1, randInt2)):
|
elif checkBooleanExpression("%d=%d" % (randInt2, randInt1)):
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
||||||
if retVal is None:
|
if retVal is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user