A vulnerable demo application, initially based on Ben Hassine's TodoMVC.
The goal of this application is to demonstrate through example how to find, exploit and fix vulnerable Maven packages.
This repo is still incomplete, a work in progress to support related presentations.
(from the original README)
Note that to run locally, you need JDK 8.
- Check out the project source code from github :
git clone https://github.com/snyk/java-goof.git
- Open a terminal and run the following command from root directory :
mvn install
- Choose a web framework to test and run it. For example :
cd todolist-web-struts && mvn tomcat7:run
(note: this example currently only copied the Struts demo) - Browse the following URL :
localhost:8080/
- You can register a new account or login using the following credentials : [email protected] / foobar
Note, we run build on and a Tomcat 8.5 image here to support tomcat-rce base image demo.
docker-compose up --build
docker-compose down
TODO
This repo is available released under the MIT License.