diff --git a/lib/core/settings.py b/lib/core/settings.py index b1021d4a5..a806f3acb 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.1" +VERSION = "1.0.6.2" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/lib/request/connect.py b/lib/request/connect.py index 8ae70a800..d589af495 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -989,7 +989,7 @@ class Connect(object): while True: try: - compiler.parse(conf.evalCode.replace(';', '\n')) + compiler.parse(unicodeencode(conf.evalCode.replace(';', '\n'))) except SyntaxError, ex: original = replacement = ex.text.strip() for _ in re.findall(r"[A-Za-z_]+", original)[::-1]: