mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
minor update for special cases of union testing results
This commit is contained in:
@@ -86,8 +86,10 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where
|
|||||||
|
|
||||||
if min_ < lower:
|
if min_ < lower:
|
||||||
retVal = minItem[0]
|
retVal = minItem[0]
|
||||||
elif max_ > upper:
|
|
||||||
retVal = maxItem[0]
|
if max_ > upper:
|
||||||
|
if retVal is None or abs(max_ - upper) > abs(min_ - lower):
|
||||||
|
retVal = maxItem[0]
|
||||||
|
|
||||||
kb.errorIsNone = popValue()
|
kb.errorIsNone = popValue()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user