Exploit databaseDownload repository ZIP
GH-d7cbe6fb5f210736ae454daf05ee7b2d
dicanio/cve-2021-44228-docker-example
Sources for CVE-2021-44228
246 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files1
dicanio/cve-2021-44228-docker-exampleRevision 7443c53fd5eb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
receiver/src/main/java/foo/bar/cve202144228evilreceiver/api/ReceiveEndpoint.java
Java · 668 bytespackage foo.bar.cve202144228evilreceiver.api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.ws.rs.core.Response;
import static javax.ws.rs.core.Response.Status.OK;
@RequestMapping("/receiver")
@RestController
@Slf4j
public class ReceiveEndpoint {
@PostMapping
public Response receive(@RequestBody String body) {
log.warn("Request Body: " + body);
return Response.status(OK).build();
}
}