mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Implementation for Issue #92
This commit is contained in:
parent
bb8cd788e1
commit
07a85874fe
4 changed files with 13 additions and 2 deletions
|
|
@ -63,7 +63,9 @@ optDict = {
|
|||
"dbms": "string",
|
||||
"os": "string",
|
||||
"invalidBignum": "boolean",
|
||||
"invalidLogical": "boolean",
|
||||
"invalidLogical": "boolean",
|
||||
"noCast": "boolean",
|
||||
"noUnescape": "boolean",
|
||||
"prefix": "string",
|
||||
"suffix": "string",
|
||||
"skip": "string",
|
||||
|
|
|
|||
|
|
@ -6,13 +6,14 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
from lib.core.common import Backend
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
from lib.core.datatype import AttribDict
|
||||
from lib.core.settings import EXCLUDE_UNESCAPE
|
||||
|
||||
class Unescaper(AttribDict):
|
||||
def unescape(self, expression, quote=True, dbms=None):
|
||||
if not kb.unescape:
|
||||
if not kb.unescape or conf.noUnescape:
|
||||
return expression
|
||||
|
||||
if expression is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue