mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 19:39:07 +00:00
Fix the nrpe-enum portrule. It was returning a function, thus always
true.
This commit is contained in:
@@ -197,9 +197,7 @@ local nrpe_check = function(host, port, cmd)
|
||||
return true, nrpe_read(resp)
|
||||
end
|
||||
|
||||
portrule = function(host, port)
|
||||
return shortport.port_or_service(5666, "nrpe")
|
||||
end
|
||||
portrule = shortport.port_or_service(5666, "nrpe")
|
||||
|
||||
action = function(host, port)
|
||||
-- Get script arguments.
|
||||
|
||||
Reference in New Issue
Block a user