This module gathers information from an RMI endpoint running an RMI registry interface. It enumerates the names bound in a registry and looks up each remote reference.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/java_rmi_registry
msf auxiliary(java_rmi_registry) > show actions
...actions...
msf auxiliary(java_rmi_registry) > set ACTION < action-name >
msf auxiliary(java_rmi_registry) > show options
...show and set options...
msf auxiliary(java_rmi_registry) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security