Returns a list of vulnerabilities based on t_hosts.id or t_services.id.
        If neither are set then statistical results are added

        :param host_rec: db.t_hosts.id
        :param service_rec: db.t_services.id
        :param hostfilter: Valid hostfilter or None
        :return: [(vulndata) ...] if host_rec or service_rec set
        :return: [(vulndata, vuln_cnt, [vuln_ip, ...], [services ...]) ...] if nothing sent

def list(self, host_rec=None, service_rec=None, hostfilter=None):
        """
        Returns a list of vulnerabilities based on t_hosts.id or t_services.id.
        If neither are set then statistical results are added

        :param host_rec: db.t_hosts.id
        :param service_rec: db.t_services.id
        :param hostfilter: Valid hostfilter or None
        :return: [(vulndata) ...] if host_rec or service_rec set
        :return: [(vulndata, vuln_cnt, [vuln_ip, ...], [services ...]) ...] if nothing sent
        """
        return self.send.vuln_list(host_rec, service_rec, hostfilter)