forked from p15670423/monkey
Small bugfix in web_rce get_open_service_ports
This commit is contained in:
parent
3124f1eb5e
commit
85d832938d
|
@ -126,7 +126,9 @@ class WebRCE(HostExploiter):
|
|||
candidate_services = {}
|
||||
candidate_services.update({
|
||||
service: self.host.services[service] for service in self.host.services if
|
||||
(self.host.services[service] and self.host.services[service]['name'] in names)
|
||||
(self.host.services[service] and
|
||||
'name' in self.host.services[service] and
|
||||
self.host.services[service]['name'] in names)
|
||||
})
|
||||
|
||||
valid_ports = [(port, candidate_services['tcp-' + str(port)]['data'][1]) for port in port_list if
|
||||
|
|
Loading…
Reference in New Issue