diff --git a/lib/core/option.py b/lib/core/option.py index 3318e09bd..a533ed951 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -914,8 +914,8 @@ def _setTamperingFunctions(): try: module = __import__(filename[:-3].encode(sys.getfilesystemencoding())) - except (ImportError, SyntaxError), msg: - raise SqlmapSyntaxException("cannot import tamper script '%s' (%s)" % (filename[:-3], msg)) + except (ImportError, SyntaxError), ex: + raise SqlmapSyntaxException("cannot import tamper script '%s' (%s)" % (filename[:-3], getSafeExString(ex))) priority = PRIORITY.NORMAL if not hasattr(module, '__priority__') else module.__priority__ diff --git a/lib/core/settings.py b/lib/core/settings.py index 52a53f7d7..d5eb0cb76 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.40" +VERSION = "1.0.6.41" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")