mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Update for an Issue #352
This commit is contained in:
@@ -16,6 +16,11 @@ class Syntax(GenericSyntax):
|
||||
|
||||
@staticmethod
|
||||
def escape(expression, quote=True):
|
||||
"""
|
||||
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar")
|
||||
'SELECT 0x6162636465666768 FROM foobar'
|
||||
"""
|
||||
|
||||
def escaper(value):
|
||||
retVal = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user