(args)
Checks for deprecated options
Checks for deprecated options
Checks for deprecated options
def checkDeprecatedOptions(args):
    """
    Checks for deprecated options
    """

    for _ in args:
        if _ in DEPRECATED_OPTIONS:
            errMsg = "switch/option '%s' is deprecated" % _
            if DEPRECATED_OPTIONS[_]:
                errMsg += " (hint: %s)" % DEPRECATED_OPTIONS[_]
            raise SqlmapSyntaxException(errMsg)
def checkDeprecatedOptions ( args ) : for _ in args : if _ in DEPRECATED_OPTIONS : errMsg = "switch/option '%s' is deprecated" % _ if DEPRECATED_OPTIONS [ _ ] : errMsg += " (hint: %s)" % DEPRECATED_OPTIONS [ _ ] raise SqlmapSyntaxException ( errMsg )