Skip to content

Commit 6d4476d

Browse files
Updated to 5.4
git-svn-id: http://webgoat.googlecode.com/svn/trunk@469 4033779f-a91e-0410-96ef-6bf7bf53c507
1 parent ea013b0 commit 6d4476d

File tree

1 file changed

+92
-31
lines changed

1 file changed

+92
-31
lines changed

webgoat/README.txt

Lines changed: 92 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
********** WebGoat 5.3
2-
********** November/10/2000
1+
**********
2+
********** WebGoat 5.4
3+
********** April/27/2012
34
**********
45
**
5-
** Source Code: http://code.google.com/p/webgoat
6-
** Download: http://sourceforge.net/project/showfiles.php?group_id=64424&package_id=61824
7-
** Download: http://code.google.com/p/webgoat/downloads/list (Does not have Developer release)
8-
** User Guide: http://www.owasp.org/index.php/WebGoat_User_and_Install_Guide_Table_of_Contents
6+
** Home Page: http://code.google.com/p/webgoat
97
** Home Page: http://www.owasp.org/index.php/Category:OWASP_WebGoat_Project
8+
** Source Code: http://code.google.com/p/webgoat/source/checkout
9+
** Download: http://code.google.com/p/webgoat/downloads/list
10+
** Download: http://sourceforge.net/project/showfiles.php?group_id=64424&package_id=61824 (older stuff)
11+
** User Guide: http://www.owasp.org/index.php/WebGoat_User_and_Install_Guide_Table_of_Contents
12+
** Wiki: http://code.google.com/p/webgoat/w/list
13+
** FAQ: http://code.google.com/p/webgoat/wiki/FAQ
1014
** Contact Info: [email protected] (Direct to Bruce Mayhew)
1115
** Mailing List: [email protected] (WebGoat Community - For most questions)
1216
**
@@ -35,9 +39,9 @@ You can find more information about WebGoat at:
3539
http://code.google.com/p/webgoat
3640

3741

38-
--------------
39-
Prerequisites (Skip to Option 3 for unzip and click to run configruation):
40-
--------------
42+
----------------------------------------------------------------------------------------
43+
Prerequisites for Developers (Skip to Option 3 for unzip and click to run configruation)
44+
----------------------------------------------------------------------------------------
4145

4246
These tools must be installed independent of the webgoat download.
4347
- Java 1.6
@@ -48,16 +52,17 @@ These tools must be installed independent of the webgoat download.
4852
In Ubuntu it can be installed with:
4953
> apt-get install maven2
5054
- WebGoat source code
51-
WebGoat source code can be downloaded at: http://webgoat.googlecode.com/svn/trunk/
52-
Use an svn client (ex: Tortoise svn) to checkout the code.
55+
WebGoat source code can be downloaded at:
56+
http://code.google.com/p/webgoat/source/checkout
57+
Use an svn client (ex: Tortoise svn) to checkout the code in the trunk.
5358

5459

5560

56-
--------------------
57-
Building the project
58-
--------------------
61+
---------------------------------
62+
Building the project (Developers)
63+
---------------------------------
5964

60-
Using the cmd shell:
65+
Using a command shell/window:
6166

6267
> cd webgoat
6368
> mvn compile
@@ -69,9 +74,9 @@ delete artifacts from previous build:
6974
> mvn clean
7075

7176

72-
----------------------------------
73-
Building the Eclipse project files
74-
----------------------------------
77+
-----------------------------------------------
78+
Building the Eclipse project files (Developers)
79+
-----------------------------------------------
7580

7681
> mvn eclipse:clean
7782
> mvn eclipse:eclipse
@@ -85,11 +90,11 @@ This folder is located in your username root folder, the same folder where "my d
8590
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables
8691

8792

88-
---------------------------------------------------
89-
Option 1: Run the project on Tomcat within Eclipse
90-
---------------------------------------------------
93+
-------------------------------------------------------------------
94+
Option 1: (Developers) Run the project on Tomcat within Eclipse
95+
-------------------------------------------------------------------
9196

92-
Install a local Tomcat server
97+
Install a local Tomcat server (We use Tomcat 7)
9398
1. Download and unzip Apache Tomcat from http://tomcat.apache.org.
9499
2. Adapt the conf/tomcat-users.xml file of your Tomcat server:
95100
<?xml version="1.0" encoding="UTF-8"?>
@@ -115,21 +120,77 @@ Install a local Tomcat server
115120
3. Right Click on the webgoat project within eclipse -> Run As -> Run on server
116121

117122
Point your browser to http://localhost:8080/webgoat/attack
123+
** Note - When running in eclipse, the default url will be lowercase "webgoat"
118124

119125

120-
----------------------------------------------
121-
Option 2: Run the project on Tomcat with Maven
122-
----------------------------------------------
126+
-----------------------------------------------------------
127+
Option 2: (Developers) Run the project on Tomcat with Maven
128+
-----------------------------------------------------------
123129

124130
1. mvn tomcat:run-war
125-
2. http://localhost:8080/webgoat/attack
131+
2. http://localhost:8080/WebGoat/attack
126132

127133

128-
--------------------------------------------------------
129-
Option 3: Run from the WebGoat 5.3 Standard distribution
130-
--------------------------------------------------------
131-
1. Download the WebGoat-OWASP_Standard-X.X.zip file from http://code.google.com/p/webgoat/downloads/list
134+
------------------------------------------------------------------
135+
Option 3: Run from the WebGoat 5.X Standard distribution (Windows)
136+
------------------------------------------------------------------
137+
138+
1. Download the WebGoat-5.X-OWASP_Standard_Win32.zip file from:
139+
- http://code.google.com/p/webgoat/downloads/list
132140
2. Unzip the file
133141
3. Double click webgoat.bat
134-
4. Browse to http://localhost/webgoat/attack
142+
4. Browse to http://localhost/WebGoat/attack
143+
144+
** Note: if you receive a bind address error use:
135145

146+
3. Double click webgoat8080.bat
147+
4. Browse to http://localhost:8080/WebGoat/attack
148+
149+
150+
------------------------------------------------------------------
151+
Option 4: Run from the WebGoat 5.X Standard distribution (Ubuntu)
152+
------------------------------------------------------------------
153+
154+
1. Download the WebGoat-5.X-OWASP_Standard_Ubuntu32.zip file from:
155+
- http://code.google.com/p/webgoat/downloads/list
156+
2. Unzip the file
157+
3. run sudu ./webgoat.sh start80
158+
4. Browse to http://localhost/WebGoat/attack
159+
160+
** Note: if you receive a bind address or privilege error:
161+
162+
3. run ./webgoat.sh start8080
163+
4. Browse to http://localhost:8080/WebGoat/attack
164+
165+
shutdown the server with:
166+
./webgoat.sh stop
167+
168+
------------------------------------------------------------------
169+
Option 5: Using the WebgGoat-5.X.war
170+
------------------------------------------------------------------
171+
172+
Windows:
173+
174+
1. Download and install Java 1.6 and Tomcat 7 if needed
175+
2. Download the WebgGoat-5.X.war and README-5.X file from:
176+
- http://code.google.com/p/webgoat/downloads/list
177+
3. Rename WebgGoat-5.X.war to WebgGoat.war
178+
4. Copy WebGoat.war to <tomcat>/webapps/WebGoat.war
179+
5. Modify the <tomcat>/conf/tomcat-users.xml to add in WebGoat users and roles
180+
- see the FAQ for directions
181+
6. Start the tomcat server (default is usually port 8080)
182+
7. Browse to http://localhost:8080/WebGoat/attack
183+
184+
Ubuntu:
185+
186+
1. Install Java 1.6 and Tomcat 7 if needed
187+
- Install java using: sudo apt-get install openjdk-7-jre
188+
- Download Tomcat 7 from http://tomcat.apache.org/download-70.cgi (core tar.gz)
189+
2. Download the WebgGoat-5.X.war and README-5.X file from:
190+
- http://code.google.com/p/webgoat/downloads/list
191+
3. Rename WebgGoat-5.X.war to WebgGoat.war
192+
4. Copy WebGoat.war to <tomcat>/webapps/WebGoat.war
193+
5. Modify the <tomcat>/conf/tomcat-users.xml to add in WebGoat users and roles
194+
- see the FAQ for directions
195+
6. Start the tomcat server (default is usually port 8080)
196+
7. Browse to http://localhost:8080/WebGoat/attack

0 commit comments

Comments
 (0)