mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 11:59:03 +00:00
Standardize on the name rmiregistry for port 1099/tcp.
This is the name used in nmap-services. It affects nmap-service-probes and rmi-dumpregistry.nse. The inconsistency was noted by Gabriel Lawrence.
This commit is contained in:
@@ -18,8 +18,8 @@ Some apps give away the classpath, which this scripts catches in so-called "Cust
|
||||
---
|
||||
-- @usage nmap --script "rmi-dumpregistry.nse" -p 1098 <host>
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 1099/tcp open rmi syn-ack
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 1099/tcp open rmiregistry syn-ack
|
||||
-- | rmi-dumpregistry:
|
||||
-- | jmxrmi
|
||||
-- | javax.management.remote.rmi.RMIServerImpl_Stub
|
||||
@@ -30,8 +30,8 @@ Some apps give away the classpath, which this scripts catches in so-called "Cust
|
||||
-- |_ java.rmi.server.RemoteObject
|
||||
--
|
||||
-- @output
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 1099/tcp open rmi syn-ack
|
||||
-- PORT STATE SERVICE REASON
|
||||
-- 1099/tcp open rmiregistry syn-ack
|
||||
-- | rmi-dumpregistry:
|
||||
-- | cfassembler/default
|
||||
-- | coldfusion.flex.rmi.DataServicesCFProxyServer_Stub
|
||||
@@ -145,7 +145,7 @@ categories = {"default", "discovery", "safe"}
|
||||
|
||||
require "shortport"
|
||||
require "rmi"
|
||||
portrule = shortport.port_or_service({1098, 1099, 1090, 8901, 8902, 8903}, {"rmi"})
|
||||
portrule = shortport.port_or_service({1098, 1099, 1090, 8901, 8902, 8903}, {"rmiregistry"})
|
||||
|
||||
-- Some lazy shortcuts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user