From e565fa1fad0fb1bad0c3556c497f429a34b855ad Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 18 Jun 2019 23:16:53 +0200 Subject: [PATCH] Dirty fix for #3766 --- lib/core/settings.py | 2 +- lib/utils/hash.py | 1 + thirdparty/ansistrm/ansistrm.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 7ce51ffef..71caafc04 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.48" +VERSION = "1.3.6.49" 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/lib/utils/hash.py b/lib/utils/hash.py index d392e919f..3991ddaaa 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -78,6 +78,7 @@ from lib.core.enums import HASH from lib.core.enums import MKSTEMP_PREFIX from lib.core.exception import SqlmapDataException from lib.core.exception import SqlmapUserQuitException +from lib.core.patch import resolveCrossReferences from lib.core.settings import COMMON_PASSWORD_SUFFIXES from lib.core.settings import COMMON_USER_COLUMNS from lib.core.settings import DEV_EMAIL_ADDRESS diff --git a/thirdparty/ansistrm/ansistrm.py b/thirdparty/ansistrm/ansistrm.py index 739169dde..67efbf178 100644 --- a/thirdparty/ansistrm/ansistrm.py +++ b/thirdparty/ansistrm/ansistrm.py @@ -21,7 +21,7 @@ if IS_WIN: ctypes.windll.kernel32.SetConsoleTextAttribute.restype = ctypes.wintypes.BOOL def stdoutEncode(data): # Cross-referenced function - raise NotImplementedError + return data class ColorizingStreamHandler(logging.StreamHandler): # color names to indices