mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fix the nrpe-enum portrule. It was returning a function, thus always
true.
This commit is contained in:
parent
47030f71db
commit
21113fdfa9
1 changed files with 1 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue