def METHOD_NAME(dork):
    pushValue(kb.choices.redirect)
    kb.choices.redirect = REDIRECTION.YES
    try:
        return _search(dork)
    except SqlmapBaseException as ex:
        if conf.proxyList:
            logger.critical(getSafeExString(ex))
            warnMsg = "changing proxy"
            logger.warning(warnMsg)
            conf.proxy = None
            setHTTPHandlers()
            return METHOD_NAME(dork)
        else:
            raise
    finally:
        kb.choices.redirect = popValue()