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