diff --git a/lib/core/common.py b/lib/core/common.py index f6b05d905..346712894 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2265,7 +2265,7 @@ def average(values): """ Computes the arithmetic mean of a list of numbers. - >>> average([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]) + >>> round(average([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]), 1) 0.9 """ @@ -2278,8 +2278,8 @@ def stdev(values): # Reference: http://www.goldb.org/corestats.html - >>> stdev([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]) - 0.06324555320336757 + >>> round(stdev([0.9, 0.9, 0.9, 1.0, 0.8, 0.9]), 3) + 0.063 """ if not values or len(values) < 2: diff --git a/lib/core/settings.py b/lib/core/settings.py index e537d5a30..9ba8d66dc 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty import six # sqlmap version (...) -VERSION = "1.3.5.66" +VERSION = "1.3.5.67" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)