Exploit databaseDownload repository ZIP
GH-04c409692735cc746534849d57d499ab
baihliu/ruoyi-4.2-shiro-721-docker-poc
Sources for CVE-2019-12422
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
baihliu/ruoyi-4.2-shiro-721-docker-pocRevision 1db748e65648
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
RuoYi-4.2/ruoyi-admin/src/main/java/com/ruoyi/web/controller/tool/SwaggerController.java
Java · 652 bytespackage com.ruoyi.web.controller.tool;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import com.ruoyi.common.core.controller.BaseController;
/**
* swagger 接口
*
* @author ruoyi
*/
@Controller
@RequestMapping("/tool/swagger")
public class SwaggerController extends BaseController
{
@RequiresPermissions("tool:swagger:view")
@GetMapping()
public String index()
{
return redirect("/swagger-ui.html");
}
}