mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +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:
parent
b0a49d2ad1
commit
010c8200e8
2 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue