环境准备:
git
maven
jdk
tomcat
然后进入正文:
下载webgoat门户
cd ~/webgoat
git clone https://github.com/WebGoat/WebGoat.git git clone https://github.com/WebGoat/WebGoat-Lessons.git
cd WebGoat
git checkout 7.1
mvn clean compile install
cd ..
下载webgoat课程
cd WebGoat-Lessons
git checkout develop
mvn package
(linux)   cp target/plugins/*.jar ../WebGoat/webgoat-container/src/main/webapp/plugin_lessons/

打war包
cd WebGoat
mvn package
cp webgoat-container/target/webgoat-container-7.1-SNAPSHOT.war <your_tomcat_directory>/webapps/
注意:tomcat要用7.X版本,8.X有问题。
启动tomcat即可。

 

相关文章:

  • 2021-08-19
  • 2021-07-05
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-08-17
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2021-04-03
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
相关资源
相似解决方案