':param vuln: The vuln to exploit.
:return: The shell object based on the vulnerability that was passed as
parameter.'

def _generate_shell(self, vuln):

    strategy = self._verify_vuln(vuln)
    if strategy:
        shell_obj = OSCommandingShell(strategy, self._uri_opener, self.worker_pool)
        return shell_obj
    else:
        return None
