Rename and updates

This commit is contained in:
HD Moore 2012-04-25 12:09:23 -05:00
parent 03117ffa95
commit 2a5a80a485
1 changed files with 6 additions and 5 deletions

View File

@ -21,8 +21,8 @@ class Metasploit3 < Msf::Auxiliary
super( super(
'Name' => 'Java RMI Server Endpoint Scanner', 'Name' => 'Java RMI Server Endpoint Scanner',
'Version' => '$Revision$', 'Version' => '$Revision$',
'Description' => 'Detect RMI endpoints', 'Description' => 'Detect Java RMI endpoints',
'Author' => 'hdm', 'Authors' => ['mihi', 'hdm'],
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'References' => 'References' =>
[ [
@ -47,12 +47,13 @@ class Metasploit3 < Msf::Auxiliary
if res and res =~ /^\x4e..([^\x00]+)\x00\x00/ if res and res =~ /^\x4e..([^\x00]+)\x00\x00/
info = $1 info = $1
print_good("#{rhost}:#{rport} RMI Endpoint: #{info}") print_good("#{rhost}:#{rport} Java RMI Endpoint Detected (identified us as '#{info}')")
report_service(:host => rhost, :port => rport, :name => "rmi", :info => info) report_service(:host => rhost, :port => rport, :name => "rmi", :info => "Java RMI Endpoint (identified us as #{info})")
report_vuln( report_vuln(
:host => rhost, :host => rhost,
:name => self.fullname, :name => self.fullname,
:info => "Identified RMI Endpoint: #{info}", :port => rport,
:info => "Identified Java RMI Endpoint",
:refs => self.references :refs => self.references
) )
end end