Add TravisCI build badge, cleanup README file

This commit is contained in:
Doug Morato 2015-08-19 20:07:31 -04:00 committed by Nanne Baars
parent 1f63e93d47
commit 4815eecaea

View File

@ -1,9 +1,15 @@
# WebGoat: A deliberately insecure Web Application
[![Build Status](https://travis-ci.org/WebGoat/WebGoat.svg)](https://travis-ci.org/WebGoat/WebGoat)
# Important Information
Thank you for downloading WebGoat! This is the WebGoat Lesson Server version.
The lessons need to be installed separately by following the instructions in the For
Developers section below.
WebGoat is a deliberately insecure web application maintained by [OWASP](http://www.owasp.org/) designed to teach web application security lessons.
This program is a demonstration of common server-side application flaws. The
exercises are intended to be used by people to learn about application security and
penetration testing techniques.
@ -13,8 +19,9 @@ penetration testing techniques.
* [Source Code](https://github.com/WebGoat/WebGoat)
* [Easy-Run Download **TBD**](https://github.com/WebGoat/WebGoat/releases/**TBD**)
* [Wiki](https://github.com/WebGoat/WebGoat/wiki)
* [Contact Info - Direct to Bruce Mayhew](webgoat@owasp.org)
* [Mailing List - WebGoat Community - For most questions](owasp-webgoat@lists.owasp.org)
* [FAQ (old info):](http://code.google.com/p/webgoat/wiki/FAQ)
* [Project Leader - Direct to Bruce Mayhew](mailto:webgoat@owasp.org)
* [Mailing List - WebGoat Community - For most questions](mailto:owasp-webgoat@lists.owasp.org)
**WARNING 1:** *While running this program your machine will be extremely
vulnerable to attack. You should to disconnect from the Internet while using
@ -47,21 +54,24 @@ Java VM >= 1.6 installed ( JDK 1.7 recommended)
2. Run it using java:
> java -jar WebGoat-6.0-exec-war.jar
```Shell
$ java -jar WebGoat-6.0-exec-war.jar
```
3. Then navigate in your browser to: (http://localhost:8080/WebGoat)
4. If you would like to change the port or other options, use:
> java -jar WebGoat-6.0-exec-war.jar --help
```Shell
$ java -jar WebGoat-6.0-exec-war.jar --help
```
# For Developers
Follow these instructions if you wish to run Webgoat and modify the source code as well.
**Prerequisites:**
/
* Java >= 1.6 ( JDK 1.7 recommended )
* Maven > 2.0.9
* Your favorite IDE, with Maven awareness: Netbeans/IntelliJ/Eclipse with m2e installed.
@ -74,38 +84,42 @@ Follow these instructions if you wish to run Webgoat and modify the source code
Using a command shell/window:
> mvn clean package
```Shell
$ mvn clean package
```
Before you can run the project you need to build some lessons. First clone https://github.com/WebGoat/WebGoat-Lessons and run:
Before you can run the project you need to build some lessons first clone https://github.com/WebGoat/WebGoat-Lessons and run:
> cd WebGoat-Lessons
> mvn package
Now copy the lessons into the WebGoat plugin_lessons folder:
> cp target/plugins/*.jar WebGoat/webgoat-container/target/webgoat-container-6.1.0/plugin_lessons/
```Shell
$ cd WebGoat-Lessons
$ mvn package
$ cp target/plugins/*.jar WebGoat/webgoat-container/target/webgoat-container-6.1.0/plugin_lessons/
```
Then you can run the project with one of the steps below (From the WebGoat folder not WebGoat-Lessons):
1. Maven-Tomcat Plugin
using a command shell/window:
> mvn -pl webgoat-container tomcat7:run-war
```Shell
$ mvn -pl webgoat-container tomcat7:run-war
```
Browse to http://localhost:8080/WebGoat
Maven will run the project in an embedded tomcat.
2. Java JAR
the package phase also builds an executable jar file. You can run it using:
> cd webgoat-container/target
> java -jar WebGoat-6.0-exec-war.jar
```Shell
$ cd target
$ java -jar WebGoat-6.0-exec-war.jar http://localhost:8080/WebGoat
```
Browse to http://localhost:8080/WebGoat
3. Tomcat the package phase also builds a war file. You can deploy it using:
3. The package phase also builds a war file. You can deploy it using:
> cp target/WebGoat-6.0-exec-war.war <tomcat>/webapps/
```Shell
$ cp target/WebGoat-6.0-exec-war.war <tomcat>/webapps/
```