We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8429c commit dfb9941Copy full SHA for dfb9941
modules/exploits/multi/misc/java_jmx_server.rb
@@ -196,7 +196,7 @@ def discover_endpoint
196
ref = send_registry_lookup(name: datastore['JMXRMI'])
197
return nil if ref.nil?
198
199
- unless ref[:object] == 'javax.management.remote.rmi.RMIServerImpl_Stub'
+ unless ref[:object] == 'javax.management.remote.rmi.RMIServer' || ref[:object] == 'javax.management.remote.rmi.RMIServerImpl_Stub'
200
vprint_error("JMXRMI discovery returned unexpected object #{ref[:object]}")
201
return nil
202
end
0 commit comments