'This command verifies a vuln. This is really hard work! :P
:return : True if vuln can be exploited.'

def _verify_vuln(self, vuln_obj):

    mutant = vuln_obj.get_mutant()
    if (not isinstance(mutant, (QSMutant, PostDataMutant))):
        msg = "The    SQL    injection    vulnerability    at    %s    can    not    be    exploited    by    w3af's    sqlmap    wrapper    because    it    can    only    handle    query    string    and    url-encoded    post    data    parameters."
        om.out.console((msg % (mutant.get_url(),)))
        return False
    orig_value = mutant.get_token().get_original_value()
    parameter_values = {orig_value, '1'}
    for pvalue in parameter_values:
        mutant = copy.deepcopy(mutant)
        mutant.set_token_value(pvalue)
        self._sqlmap = None
        post_data = (mutant.get_data() or None)
        target = Target(mutant.get_uri(), post_data)
        try:
            sqlmap = SQLMapWrapper(target, self._uri_opener)
        except TypeError:
            issue_url = 'https://github.com/andresriancho/w3af/issues/6439'
            msg = "w3af's    sqlmap    wrapper    has    some    limitations,    and    you    just    found    one    of    them.    For    more    information    please    visit    %s    ."
            om.out.console((msg % issue_url))
            return False
        try:
            is_vuln = sqlmap.is_vulnerable()
        except:
            sqlmap.cleanup()
            if ((sqlmap.last_stdout is None) or (sqlmap.last_stderr is None)):
                return False
            taint_error = 'provided    tainted    parameter'
            if (not ((taint_error in sqlmap.last_stdout) or (taint_error in sqlmap.last_stderr))):
                return False
            issue_url = 'https://github.com/andresriancho/w3af/issues/1989'
            msg = "w3af's    sqlmap    wrapper    has    some    limitations,    and    you    just    found    one    of    them.    For    more    information    please    visit    %s    and    add    the    steps    required    to    reproduce    this    issue    which    will    help    us    debug    and    fix    it."
            om.out.console((msg % issue_url))
            return False
        if is_vuln:
            self._sqlmap = sqlmap
            return True
        else:
            sqlmap.cleanup()
    return False
