mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Bug fix for escaping in SQLite 3
This commit is contained in:
@@ -17,7 +17,7 @@ class Syntax(GenericSyntax):
|
||||
@staticmethod
|
||||
def escape(expression, quote=True):
|
||||
def escaper(value):
|
||||
return "X'%s'" % binascii.hexlify(value)
|
||||
return "CAST(X'%s' AS TEXT)" % binascii.hexlify(value)
|
||||
|
||||
retVal = expression
|
||||
|
||||
|
||||
Reference in New Issue
Block a user