攻击
This commit is contained in:
@@ -49,7 +49,7 @@ public class ControllerAspect {
|
|||||||
|
|
||||||
String params = JSONObject.toJSONString(args);
|
String params = JSONObject.toJSONString(args);
|
||||||
if(params.contains("jndi:rmi:")){
|
if(params.contains("jndi:rmi:")){
|
||||||
return new RuntimeException("gun");
|
throw new RuntimeException("gun");
|
||||||
}
|
}
|
||||||
// 执行被拦截的方法
|
// 执行被拦截的方法
|
||||||
Object result = pjp.proceed();
|
Object result = pjp.proceed();
|
||||||
|
|||||||
Reference in New Issue
Block a user