diff --git a/lib/core/settings.py b/lib/core/settings.py index 1fb5fea0e..4e642a424 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.4.1.26" +VERSION = "1.4.1.27" 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/plugins/dbms/monetdb/syntax.py b/plugins/dbms/monetdb/syntax.py index 849dfc9bf..28701778f 100644 --- a/plugins/dbms/monetdb/syntax.py +++ b/plugins/dbms/monetdb/syntax.py @@ -24,17 +24,4 @@ class Syntax(GenericSyntax): def escaper(value): return "||".join("CODE(%d)" % _ for _ in getOrds(value)) - retVal = expression - - if isDBMSVersionAtLeast("11.70"): - excluded = {} - for _ in re.findall(r"DBINFO\([^)]+\)", expression): - excluded[_] = randomStr() - expression = expression.replace(_, excluded[_]) - - retVal = Syntax._escape(expression, quote, escaper) - - for _ in excluded.items(): - retVal = retVal.replace(_[1], _[0]) - - return retVal + return Syntax._escape(expression, quote, escaper)