Exploit database

GH-d101f99a49695f168192a4a15c84f52b

wshon/spring-framework-rce

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-22965

88 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files3

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 bytes
package 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);
    }

}