1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-14 03:39:02 +00:00

Updates to rmi-dumpregistry.nse and rmi.lua from Martin Holst Swende.

This commit is contained in:
david
2010-11-23 17:45:58 +00:00
parent f3641ee649
commit 21d0324c5b
2 changed files with 143 additions and 112 deletions

View File

@@ -13,6 +13,7 @@ It also gives information about where the objects are located, (marked with @<ip
Some apps give away the classpath, which this scripts catches in so-called "Custom data".
]]
---
-- @usage nmap --script "rmi-dumpregistry.nse" -p 1098 <host>
-- @output
-- PORT STATE SERVICE REASON
@@ -25,7 +26,7 @@ Some apps give away the classpath, which this scripts catches in so-called "Cust
-- | java.rmi.server.RemoteStub
-- | extends
-- |_ java.rmi.server.RemoteObject
--
-- @output
-- PORT STATE SERVICE REASON
-- 1099/tcp open rmi syn-ack
@@ -132,8 +133,8 @@ Some apps give away the classpath, which this scripts catches in so-called "Cust
-- | file:/C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jsse.jar
-- | file:/C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/oscache.jar
-- |_ file:/C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/
--
--
--@version 0.5
author = "Martin Holst Swende"
@@ -147,7 +148,7 @@ portrule = shortport.port_or_service({1098, 1099, 1090, 8901, 8902, 8903}, {"rmi
-- Some lazy shortcuts
local function dbg(str,...)
stdnse.print_debug("RMI-DUMPREG:"..str, unpack(arg))
stdnse.print_debug(3,"RMI-DUMPREG:"..str, unpack(arg))
end
local function dbg_err(str, ... )