1
- ********** WebGoat 5.3
2
- ********** November/10/2000
1
+ **********
2
+ ********** WebGoat 5.4
3
+ ********** April/27/2012
3
4
**********
4
5
**
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
9
7
** 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
10
14
** Contact Info:
[email protected] (Direct to Bruce Mayhew)
11
15
** Mailing List:
[email protected] (WebGoat Community - For most questions)
12
16
**
@@ -35,9 +39,9 @@ You can find more information about WebGoat at:
35
39
http://code.google.com/p/webgoat
36
40
37
41
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
+ ----------------------------------------------------------------------------------------
41
45
42
46
These tools must be installed independent of the webgoat download.
43
47
- Java 1.6
@@ -48,16 +52,17 @@ These tools must be installed independent of the webgoat download.
48
52
In Ubuntu it can be installed with:
49
53
> apt-get install maven2
50
54
- 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.
53
58
54
59
55
60
56
- --------------------
57
- Building the project
58
- --------------------
61
+ ---------------------------------
62
+ Building the project (Developers)
63
+ ---------------------------------
59
64
60
- Using the cmd shell:
65
+ Using a command shell/window :
61
66
62
67
> cd webgoat
63
68
> mvn compile
@@ -69,9 +74,9 @@ delete artifacts from previous build:
69
74
> mvn clean
70
75
71
76
72
- ----------------------------------
73
- Building the Eclipse project files
74
- ----------------------------------
77
+ -----------------------------------------------
78
+ Building the Eclipse project files (Developers)
79
+ -----------------------------------------------
75
80
76
81
> mvn eclipse:clean
77
82
> mvn eclipse:eclipse
@@ -85,11 +90,11 @@ This folder is located in your username root folder, the same folder where "my d
85
90
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables
86
91
87
92
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
+ -------------------------------------------------------------------
91
96
92
- Install a local Tomcat server
97
+ Install a local Tomcat server (We use Tomcat 7)
93
98
1. Download and unzip Apache Tomcat from http://tomcat.apache.org.
94
99
2. Adapt the conf/tomcat-users.xml file of your Tomcat server:
95
100
<?xml version="1.0" encoding="UTF-8"?>
@@ -115,21 +120,77 @@ Install a local Tomcat server
115
120
3. Right Click on the webgoat project within eclipse -> Run As -> Run on server
116
121
117
122
Point your browser to http://localhost:8080/webgoat/attack
123
+ ** Note - When running in eclipse, the default url will be lowercase "webgoat"
118
124
119
125
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
+ -----------------------------------------------------------
123
129
124
130
1. mvn tomcat:run-war
125
- 2. http://localhost:8080/webgoat /attack
131
+ 2. http://localhost:8080/WebGoat /attack
126
132
127
133
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
132
140
2. Unzip the file
133
141
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:
135
145
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