Пример #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)
Пример #8
0
 def match_open_filtered(self, host, portno):
     host_ports = host.get_ports()
     return HostSearch.match_port(host_ports, portno, "open|filtered")
Пример #9
0
 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)