JoyChou93 / java-sec-code

Java web common vulnerabilities and security code which is base on springboot and spring security
2.42k stars 645 forks source link

sqli的url有点小问题,应当是jdbc/vuln?username= #46

Closed FeatherStark closed 3 years ago

FeatherStark commented 3 years ago

https://github.com/JoyChou93/java-sec-code/blob/master/src/main/java/org/joychou/controller/SQLI.java#L46

应当是http://localhost:8080/sqli/jdbc/vuln?username=joychou

源代码:

    /**
     * Vuln Code.
     * http://localhost:8080/sqli/jdbc/vul?username=joychou
     *
     * @param username username
     */
    @RequestMapping("/jdbc/vuln")
JoyChou93 commented 3 years ago

谢谢提醒,欢迎提交Pull Requests。