File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.3.16 "
22+ VERSION = "1.2.3.17 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -142,14 +142,16 @@ def _orderByTest(cols):
142142
143143 elif abs (max_ - min_ ) >= MIN_STATISTICAL_RANGE :
144144 deviation = stdev (ratios )
145- lower , upper = average (ratios ) - UNION_STDEV_COEFF * deviation , average (ratios ) + UNION_STDEV_COEFF * deviation
146145
147- if min_ < lower :
148- retVal = minItem [ 0 ]
146+ if deviation is not None :
147+ lower , upper = average ( ratios ) - UNION_STDEV_COEFF * deviation , average ( ratios ) + UNION_STDEV_COEFF * deviation
149148
150- if max_ > upper :
151- if retVal is None or abs (max_ - upper ) > abs (min_ - lower ):
152- retVal = maxItem [0 ]
149+ if min_ < lower :
150+ retVal = minItem [0 ]
151+
152+ if max_ > upper :
153+ if retVal is None or abs (max_ - upper ) > abs (min_ - lower ):
154+ retVal = maxItem [0 ]
153155 finally :
154156 kb .errorIsNone = popValue ()
155157
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
46460c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49- a4f32062f445d10c9cb655595beecc78 lib/core/settings.py
49+ 401efa6aae28b56f34420323ac4c2296 lib/core/settings.py
5050d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
515163491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
52523cc852f927833895361973fbcfd156d2 lib/core/target.py
@@ -96,7 +96,7 @@ b84d45fc7349caa714f9769b13d70cab lib/techniques/blind/inference.py
9696627ddc86a5a969e5509c7531c5c27a6c lib/techniques/error/use.py
97971e5532ede194ac9c083891c2f02bca93 lib/techniques/__init__.py
98981e5532ede194ac9c083891c2f02bca93 lib/techniques/union/__init__.py
99- e58ab8029ffb2cc37e42d68747c4da39 lib/techniques/union/test.py
99+ da5a117fb64723e6c815b0e33d50f66a lib/techniques/union/test.py
100100ac67ebbabd06bf9853befc65ad49679e lib/techniques/union/use.py
101101e4146464cf968d4015a52cb8c10e3da5 lib/utils/api.py
10210237dfb641358669f62c2acedff241348b lib/utils/brute.py
You can’t perform that action at this time.
0 commit comments