'If \'vuln\' is an exploitable vulnerability then map it to its
exploits
:param vuln_id: Potential vulnerability id'

def _map_exploits_to_vuln(self, vuln_id):

    exploits = (self._get_exploits(vuln_id) or [])
    if (not exploits):
        for exploit in self._exploit_instances:
            if exploit.can_exploit(vuln_id):
                exploits.append(exploit.get_name())
        if exploits:
            self.exploit_vulns[str(vuln_id)] = exploits
