示例#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_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open|filtered")
示例#3
0
 def match_open(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open")
 def match_closed_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "closed|filtered")
 def match_open_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open|filtered")
 def match_open(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open")