mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
21 lines
467 B
Python
21 lines
467 B
Python
#!/usr/bin/env python
|
|
|
|
"""
|
|
$Id$
|
|
|
|
Copyright (c) 2006-2010 sqlmap developers (http://sqlmap.sourceforge.net/)
|
|
See the file 'doc/COPYING' for copying permission
|
|
"""
|
|
|
|
from lib.core.data import kb
|
|
from lib.core.datatype import advancedDict
|
|
|
|
class Unescaper(advancedDict):
|
|
def __init__(self):
|
|
pass
|
|
|
|
def unescape(self, expression, quote=True):
|
|
return self[kb.dbms if kb.dbms else kb.misc.testedDbms](expression, quote=quote)
|
|
|
|
unescaper = Unescaper()
|