'Notify the client of the connection that a vulnerability was found.
Arguments:
type: A nogotofail.mitm.util.vuln.* to notify the client of.
Returns if the client was notified successfully.'

def vuln_notify(self, type):

    if (not self.app_blame):
        return False
    if (self._applications is None):
        return False
    (info, apps) = self._applications
    destination = (self.hostname if self.hostname else self.server_addr)
    return self.app_blame.vuln_notify_async(self.client_addr, destination, self.server_port, self.id, type, apps, self._on_vuln_notify_result)
