Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef59a36

Browse files
committed
Fix for broken build
1 parent 1087396 commit ef59a36

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.1.26"
21+
VERSION = "1.4.1.27"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/dbms/monetdb/syntax.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,4 @@ def escape(expression, quote=True):
2424
def escaper(value):
2525
return "||".join("CODE(%d)" % _ for _ in getOrds(value))
2626

27-
retVal = expression
28-
29-
if isDBMSVersionAtLeast("11.70"):
30-
excluded = {}
31-
for _ in re.findall(r"DBINFO\([^)]+\)", expression):
32-
excluded[_] = randomStr()
33-
expression = expression.replace(_, excluded[_])
34-
35-
retVal = Syntax._escape(expression, quote, escaper)
36-
37-
for _ in excluded.items():
38-
retVal = retVal.replace(_[1], _[0])
39-
40-
return retVal
27+
return Syntax._escape(expression, quote, escaper)

0 commit comments

Comments
 (0)