【漏洞复现】SpringBlade menu/list SQL注入漏洞
    1.WebConfig
 
package com.jmj.gulimall.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class GulimallWebConfig implements WebMvcConfigurer {
    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        /**
         * 视图解析器自动解析转发
         */
        registry.addViewController("/login.html")
                .setViewName("login");
        registry.addViewController("/reg.html")
                .setViewName("reg");
    }
}
 
2.记录一下阿里云 OSS怎么设置生命周期让文件过期删除
 
