mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
minor update for special cases of union testing results
This commit is contained in:
parent
ae53ad4c30
commit
1823c116bb
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user