yaml-payload icon indicating copy to clipboard operation
yaml-payload copied to clipboard

Demo used a deprecated Java version to build executable that no longer works with modern Java versions

Open gunzf0x opened this issue 10 months ago • 0 comments

Just to add a note. If you follow the steps from the main page it will build the file using more modern Java versions. If you try to execute it you might find an error: artsploit/AwesomeScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0.

To fix this, just try to build the file with that deprecated version:

javac -source 8 -target 8 src/artsploit/AwesomeScriptEngineFactory.java

and then just follow the steps as the original post explained.

gunzf0x avatar Apr 24 '24 03:04 gunzf0x