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