mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Bug fix for escaping in SQLite 3
This commit is contained in:
parent
e836629215
commit
353c1cb63b
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class Syntax(GenericSyntax):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def escape(expression, quote=True):
|
def escape(expression, quote=True):
|
||||||
def escaper(value):
|
def escaper(value):
|
||||||
return "X'%s'" % binascii.hexlify(value)
|
return "CAST(X'%s' AS TEXT)" % binascii.hexlify(value)
|
||||||
|
|
||||||
retVal = expression
|
retVal = expression
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue