':param vuln: The vulnerability to exploit
:return: A shell object that allows the user to dump
the full XML using an xpath injection vulnerability.'

def _generate_shell(self, vuln):

    (vuln_verified, is_error_resp) = self._verify_vuln(vuln)
    if vuln_verified:
        shell_obj = XPathReader(vuln, self._uri_opener, self.worker_pool, self.STR_DELIM, self.TRUE_COND, is_error_resp)
        return shell_obj
    else:
        return None
