Skip to content

Java web common vulnerabilities and security code which is base on springboot and spring security

Notifications You must be signed in to change notification settings

Lonely-night/java-sec-code

Repository files navigation

Java Security Code

Usage

Tomcat

  1. 生成war包 mvn clean package
  2. 将target目录的war包,cp到Tomcat的webapps目录
  3. 重启Tomcat应用
http://localhost:8080/java-sec-code-1.0.0/rce/exec?cmd=whoami

返回

Viarus

IDEA

如果想在IDEA中直接运运行,需要进行两个操作:

  1. 覆盖适配IDEA的pom.xml mv pom.xml.idea pom.xml
  2. 覆盖适配IDEA的Application.java文件 mv Application.java.idea Application.java

About

Java web common vulnerabilities and security code which is base on springboot and spring security

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 95.7%
  • HTML 3.1%
  • CSS 1.2%