mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
@@ -171,14 +171,17 @@ local function split(str, sep)
|
|||||||
return fields
|
return fields
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---This is a customData formatter. In some cases, the RMI library finds "custom
|
||||||
--This is a customData formatter. In some cases, the RMI library finds 'custom data' which belongs to an object.
|
-- data" that belongs to an object. This data is not handled correctly; it is
|
||||||
-- This data is not handled correctly, instead, the data is dumped in the objects customData field (which is a table with strings)
|
-- instead dumped into the object's customData field (which is a table with
|
||||||
-- The RMI library does not do anything more than that - however, here in the land of rmi-dumpregistry land, we may have
|
-- strings).
|
||||||
-- more knowledge about how to interpret that data.
|
-- The RMI library does not do anything more than that. However, here, in the
|
||||||
-- In the wild, coldfusion.flex.rmi.DataServicesCFProxyServer_Stub e.g discloses the classpath in this variable. This method looks at
|
-- land of rmi-dumpregistry, we may have more knowledge about how to interpret
|
||||||
-- the contents of the custom data. if it looks like a class path, we display it as such. This method is passed to the toTable() method
|
-- that data. For example, coldfusion.flex.rmi.DataServicesCFProxyServer_Stub
|
||||||
-- of the returned RMI object.
|
-- discloses the classpath in this variable.
|
||||||
|
-- This method looks at the contents of the custom data and if it looks like
|
||||||
|
-- a class path, we display it as such. This method is passed to the toTable()
|
||||||
|
-- method of the returned RMI object.
|
||||||
-- @return title, data
|
-- @return title, data
|
||||||
function customDataFormatter(className, customData)
|
function customDataFormatter(className, customData)
|
||||||
if customData == nil then return nil end
|
if customData == nil then return nil end
|
||||||
|
|||||||
Reference in New Issue
Block a user