diff --git a/lib/core/settings.py b/lib/core/settings.py index 6830f33ff..24c489cfb 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.8.14" +VERSION = "1.3.8.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/colorama/ansitowin32.py b/thirdparty/colorama/ansitowin32.py index c8c721a13..eae181017 100644 --- a/thirdparty/colorama/ansitowin32.py +++ b/thirdparty/colorama/ansitowin32.py @@ -184,6 +184,8 @@ class AnsiToWin32(object): if not (err.errno == 0 and retry > 0): raise self._write(text, retry-1) + except UnicodeError: + self.wrapped.write('?') def convert_ansi(self, paramstring, command): if self.convert: