Delete even more comments
parent
9628415ca2
commit
ae84c8ee30
|
@ -192,7 +192,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
return nil
|
||||
end
|
||||
|
||||
#answer = extract_object(return_value, 1)
|
||||
answer = extract_object(return_value.value[0])
|
||||
|
||||
if answer.nil?
|
||||
|
@ -202,7 +201,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
case answer
|
||||
when 'javax.management.remote.rmi.RMIServerImpl_Stub'
|
||||
#mbean_server = extract_unicast_ref(StringIO.new(return_value.contents[2].contents))
|
||||
mbean_server = extract_unicast_ref(StringIO.new(return_value.value[1].contents))
|
||||
else
|
||||
vprint_error("#{peer} - JMXRMI discovery returned unexpected object #{answer}")
|
||||
|
|
Loading…
Reference in New Issue