Example #1
0
 def match_closed_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "closed|filtered")
Example #2
0
 def match_open(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open")
Example #3
0
 def match_open_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open|filtered")
Example #4
0
 def match_service(self, host, service):
     return HostSearch.match_service(host, service)
Example #5
0
 def match_os(self, host, os):
     return HostSearch.match_os(host, os)
Example #6
0
 def match_target(self, host, name):
     return HostSearch.match_target(host, name)
Example #7
0
 def match_hostname(self, host, hostname):
     return HostSearch.match_hostname(host, hostname)
 def match_open_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open|filtered")
 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_os(self, host, os):
     return HostSearch.match_os(host, os)
 def match_service(self, host, service):
     return HostSearch.match_service(host, service)
 def match_hostname(self, host, hostname):
     return HostSearch.match_hostname(host, hostname)
 def match_target(self, host, name):
     return HostSearch.match_target(host, name)