def match_closed_filtered(self, host, portno): host_ports = host.get_ports() return HostSearch.match_port(host_ports, portno, "closed|filtered")
def match_open(self, host, portno): host_ports = host.get_ports() return HostSearch.match_port(host_ports, portno, "open")
def match_open_filtered(self, host, portno): host_ports = host.get_ports() return HostSearch.match_port(host_ports, portno, "open|filtered")
def match_service(self, host, service): return HostSearch.match_service(host, service)
def match_os(self, host, os): return HostSearch.match_os(host, os)
def match_target(self, host, name): return HostSearch.match_target(host, name)
def match_hostname(self, host, hostname): return HostSearch.match_hostname(host, hostname)