mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Unescaping is renamed to escaping
This commit is contained in:
@@ -54,7 +54,7 @@ from lib.core.convert import unicodeencode
|
||||
from lib.core.convert import utf8encode
|
||||
from lib.core.decorators import cachedmethod
|
||||
from lib.core.dicts import DBMS_DICT
|
||||
from lib.core.dicts import DEPRECATED_HINTS
|
||||
from lib.core.dicts import DEPRECATED_OPTIONS
|
||||
from lib.core.dicts import SQL_STATEMENTS
|
||||
from lib.core.enums import ADJUST_TIME_DELAY
|
||||
from lib.core.enums import CHARSET_TYPE
|
||||
@@ -84,7 +84,6 @@ from lib.core.settings import DBMS_DIRECTORY_DICT
|
||||
from lib.core.settings import DEFAULT_COOKIE_DELIMITER
|
||||
from lib.core.settings import DEFAULT_GET_POST_DELIMITER
|
||||
from lib.core.settings import DEFAULT_MSSQL_SCHEMA
|
||||
from lib.core.settings import DEPRECATED_OPTIONS
|
||||
from lib.core.settings import DESCRIPTION
|
||||
from lib.core.settings import DUMMY_SQL_INJECTION_CHARS
|
||||
from lib.core.settings import DUMMY_USER_INJECTION
|
||||
@@ -3055,8 +3054,8 @@ def checkDeprecatedOptions(args):
|
||||
for _ in args:
|
||||
if _ in DEPRECATED_OPTIONS:
|
||||
errMsg = "switch/option '%s' is deprecated" % _
|
||||
if _ in DEPRECATED_HINTS:
|
||||
errMsg += " (hint: %s)" % DEPRECATED_HINTS[_]
|
||||
if DEPRECATED_OPTIONS[_]:
|
||||
errMsg += " (hint: %s)" % DEPRECATED_OPTIONS[_]
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
def evaluateCode(code, variables=None):
|
||||
|
||||
Reference in New Issue
Block a user