Exploit databaseDownload repository ZIP
GH-d101f99a49695f168192a4a15c84f52b
wshon/spring-framework-rce
Sources for CVE-2022-22965
88 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
wshon/spring-framework-rceRevision d8c514ac3580
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/main/java/com/wshon/spring/framework/rce/ServletInitializer.java
Java · 447 bytespackage com.wshon.spring.framework.rce;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
public class ServletInitializer extends SpringBootServletInitializer {
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(SpringFrameworkRceApplication.class);
}
}