1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Align portrule with script rmi-dumpregistry. Closes #1531

This commit is contained in:
nnposter
2019-03-28 14:19:45 +00:00
parent 0b47abe713
commit 538141539e

View File

@@ -42,12 +42,7 @@ categories = {
}; };
portrule = shortport.port_or_service({1098, 1099, 1090, 8901, 8902, 8903}, {"java-rmi", "rmiregistry"})
portrule = shortport.port_or_service({
1099
}, {
"rmiregistry", "java-rmi"
});
action = function (host, port) action = function (host, port)
local registry = rmi.Registry:new(host, port); local registry = rmi.Registry:new(host, port);