pkey / java-goof

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Goof

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.

Build and run Todolist MVC

(from the original README)

Note that to run locally, you need JDK 8.

  1. Check out the project source code from github : git clone https://github.com/snyk/java-goof.git
  2. Open a terminal and run the following command from root directory : mvn install
  3. 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)
  4. Browse the following URL : localhost:8080/
  5. You can register a new account or login using the following credentials : foo@bar.org / foobar

Running with docker-compose

docker-compose up --build
docker-compose down

License

This repo is available released under the MIT License.

java-goof

About


Languages

Language:Java 60.3%Language:HTML 32.5%Language:CSS 4.1%Language:Lua 1.2%Language:Shell 1.1%Language:TSQL 0.4%Language:Python 0.2%Language:Dockerfile 0.1%