mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
minor update
This commit is contained in:
parent
e73a147fb5
commit
847b648e4a
|
@ -42,9 +42,8 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where
|
||||||
"""
|
"""
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
||||||
items = []
|
|
||||||
ratios = []
|
|
||||||
pushValue(kb.errorIsNone)
|
pushValue(kb.errorIsNone)
|
||||||
|
items, ratios = [], []
|
||||||
kb.errorIsNone = False
|
kb.errorIsNone = False
|
||||||
|
|
||||||
min_, max_ = None, None
|
min_, max_ = None, None
|
||||||
|
@ -64,7 +63,7 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where
|
||||||
lower, upper = average(ratios) - UNION_STDEV_COEFF * deviation, average(ratios) + UNION_STDEV_COEFF * deviation
|
lower, upper = average(ratios) - UNION_STDEV_COEFF * deviation, average(ratios) + UNION_STDEV_COEFF * deviation
|
||||||
|
|
||||||
minItem, maxItem = None, None
|
minItem, maxItem = None, None
|
||||||
for item in ratios:
|
for item in items:
|
||||||
if item[1] == min_:
|
if item[1] == min_:
|
||||||
minItem = item
|
minItem = item
|
||||||
elif item[1] == max_:
|
elif item[1] == max_:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user