diff --git a/lib/core/settings.py b/lib/core/settings.py index c1248418b..58f3aa456 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.3.6.14" +VERSION = "1.3.6.15" 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) diff --git a/thirdparty/ansistrm/ansistrm.py b/thirdparty/ansistrm/ansistrm.py index 028ec3718..739169dde 100644 --- a/thirdparty/ansistrm/ansistrm.py +++ b/thirdparty/ansistrm/ansistrm.py @@ -158,6 +158,7 @@ class ColorizingStreamHandler(logging.StreamHandler): if params and message: match = re.search(r"\A(\s+)", message) prefix = match.group(1) if match else "" + message = message[len(prefix):] match = re.search(r"\[([A-Z ]+)\]", message) # log level if match: