File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from 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 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments