'Called when a vuln_notify command is sent from the server
Command arguments format is:
connection_id vuln_type server_addr server_port app1 version1, app2 version 2..
connection_id is an opaque blob identifying the connection (currently a uuid4)
vuln_type is one of nogotofail.mitm.util.vuln.*
server_addr and server_port are the remote of the vulnerable connnection.
In addition there are 0 or more applications sent, each a (name, version) tuple as
sent by a response to a tcp_client_id request'

def on_vuln_notify(self, params):

    (id, type, server_addr, server_port) = params[:4]
    remaining = '    '.join(params[4:])
    applications = remaining.split(',    ')
    applications = [Application(*map(urllib.unquote, app.split())) for app in applications]
    if self.vuln_callback:
        self.vuln_callback(id, type, server_addr, server_port, applications)
    return 'OK'
