Exploit databaseDownload repository ZIP
GH-b1ca3777a9870148b85b010f66172e31
exp-docs/cve-2020-13933
Sources for CVE-2020-13933
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files4
exp-docs/cve-2020-13933Revision 6438c9d9e526
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/main/java/com/exp/cve/NameController.java
Java · 753 bytespackage com.exp.cve;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class NameController {
/**
* 请求名为 name 的资源(触发身份认证)
* @param name 资源名称
* @return 资源
*/
@GetMapping("/res/{name}")
public String res(@PathVariable String name){
// TODO: any
return "你发现了宝藏:" + name;
}
/**
* 没有请求任何资源(不触发身份认证)
* @return
*/
@GetMapping("/res/")
public String noRes(){
// TODO: any
return "你没有请求任何资源";
}
}