sqlmap/plugins/dbms/mckoi/syntax.py

19 lines
446 B
Python
Raw Normal View History

2020-01-23 01:41:06 +03:00
#!/usr/bin/env python
"""
2020-12-31 13:46:27 +03:00
Copyright (c) 2006-2021 sqlmap developers (http://sqlmap.org/)
2020-01-23 01:41:06 +03:00
See the file 'LICENSE' for copying permission
"""
from plugins.generic.syntax import Syntax as GenericSyntax
class Syntax(GenericSyntax):
@staticmethod
def escape(expression, quote=True):
"""
2021-05-27 13:29:40 +03:00
>>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar"
2020-01-23 01:41:06 +03:00
True
"""
return expression