mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
aligned Firebird to recent DB2 string escaping syntax fix
This commit is contained in:
parent
4526e31485
commit
a4b0b98f8f
|
@ -16,6 +16,9 @@ class Syntax(GenericSyntax):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def escape(expression, quote=True):
|
def escape(expression, quote=True):
|
||||||
if isDBMSVersionAtLeast('2.1'):
|
if isDBMSVersionAtLeast('2.1'):
|
||||||
|
if expression == u"'''":
|
||||||
|
return "ASCII_CHAR(%d)" % (ord("'"))
|
||||||
|
|
||||||
if quote:
|
if quote:
|
||||||
while True:
|
while True:
|
||||||
index = expression.find("'")
|
index = expression.find("'")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user