forked from WebGoat/WebGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
657 changed files
with
10,935 additions
and
76,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
/.externalToolBuilders/ | ||
.project | ||
*/target/* | ||
*.pmd | ||
mongo-data/* | ||
.classpath | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
This file is part of WebGoat, an Open Web Application Security Project utility. For details, please see http://www.owasp.org/ | ||
|
||
Copyright (c) 2002 - $today.year Bruce Mayhew | ||
|
||
This program is free software; you can redistribute it and/or modify it under the terms of the | ||
GNU General Public License as published by the Free Software Foundation; either version 2 of the | ||
License, or (at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | ||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
|
||
You should have received a copy of the GNU General Public License along with this program; if | ||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
02111-1307, USA. | ||
|
||
Getting Source ============== | ||
|
||
Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# WebGoat release notes | ||
|
||
## Version 8.1.0 | ||
|
||
### New functionality | ||
|
||
- Added new lessons for cryptography and path-traversal | ||
- Extra content added to the XXE lesson | ||
- Explanation of the assignments will be part of WebGoat, in this release we added detailed descriptions on how to solve the XXE lesson. In the upcoming releases new explanations will be added. If you want to contribute please create a pull request on Github. | ||
- Docker improvements + docker stack for complete container with nginx | ||
- Included JWT token decoding and generation, since jwt.io does not support None anymore | ||
|
||
### Bug fixes | ||
|
||
- [#743 - Character encoding errors](https://github.com/WebGoat/WebGoat/issues/743) | ||
- [#811 - Flag submission fails](https://github.com/WebGoat/WebGoat/issues/811) | ||
- [#810 - Scoreboard for challenges shows csrf users](https://github.com/WebGoat/WebGoat/issues/810) | ||
- [#788 - strange copy in constructor](https://github.com/WebGoat/WebGoat/issues/788) | ||
- [#760 - Execution of standalone jar fails (Flyway migration step](https://github.com/WebGoat/WebGoat/issues/760) | ||
- [#766 - Unclear objective of vulnerable components practical assignment](https://github.com/WebGoat/WebGoat/issues/766) | ||
- [#708 - Seems like the home directory of WebGoat always use @project.version@](https://github.com/WebGoat/WebGoat/issues/708) | ||
- [#719 - WebGoat: 'Contact Us' email link in header is not correctly set](https://github.com/WebGoat/WebGoat/issues/719) | ||
- [#715 - Reset lesson doesn't reset the "HTML lesson" => forms stay succesful](https://github.com/WebGoat/WebGoat/issues/715) | ||
- [#725 - Vulnerable Components lesson 12 broken due to too new dependency](https://github.com/WebGoat/WebGoat/issues/725) | ||
- [#716 - On M26 @project.version@ is not "interpreted" #7](https://github.com/WebGoat/WebGoat/issues/716) | ||
- [#721 couldn't be able to run CSRF lesson 3: Receive Whitelabel Error Page](https://github.com/WebGoat/WebGoat/issues/721) | ||
- [#724 - Dead link in VulnerableComponents lesson 11](https://github.com/WebGoat/WebGoat/issues/724) | ||
|
||
## Contributors | ||
|
||
Special thanks to the following contributors providing us with a pull request: | ||
|
||
- Satoshi SAKAO | ||
- Philippe Lafoucrière | ||
- Cotonne | ||
- Tiago Mussi | ||
- thegoodcrumpets | ||
- Atharva Vaidya | ||
- torleif | ||
- August Detlefsen | ||
- Choe Hyeong Jin | ||
|
||
And everyone who provided feedback through Github. | ||
|
||
|
||
Team WebGoat | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
version: '2.1' | ||
version: '3' | ||
|
||
services: | ||
webgoat: | ||
image: webgoat/webgoat-8.0 | ||
environment: | ||
- WEBWOLF_HOST=webwolf | ||
- WEBWOLF_PORT=9090 | ||
- TZ=Europe/Amsterdam | ||
ports: | ||
- "8080:8080" | ||
- "9001:9001" | ||
volumes: | ||
- .:/home/webgoat/.webgoat | ||
working_dir: /home/webgoat | ||
webwolf: | ||
image: webgoat/webwolf | ||
ports: | ||
- "9090:9090" | ||
command: --spring.datasource.url=jdbc:hsqldb:hsql://webgoat:9001/webgoat --server.address=0.0.0.0 | ||
command: --spring.datasource.url=jdbc:hsqldb:hsql://webgoat:9001/webgoat --server.address=0.0.0.0 | ||
depends_on: | ||
- webgoat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM openjdk:11.0.1-jre-slim-stretch | ||
|
||
ARG webgoat_version=v8.0.0-SNAPSHOT | ||
ENV webgoat_version_env=${webgoat_version} | ||
|
||
RUN apt-get update && apt-get install | ||
RUN useradd --home-dir /home/webgoat --create-home -U webgoat | ||
RUN apt-get -y install apt-utils nginx | ||
|
||
USER webgoat | ||
RUN cd /home/webgoat/; mkdir -p .webgoat-${webgoat_version} | ||
|
||
COPY nginx.conf /etc/nginx/nginx.conf | ||
COPY index.html /usr/share/nginx/html/ | ||
COPY webgoat-server-${webgoat_version}.jar /home/webgoat/webgoat.jar | ||
COPY webwolf-${webgoat_version}.jar /home/webgoat/webwolf.jar | ||
COPY start.sh /home/webgoat | ||
|
||
EXPOSE 8080 | ||
EXPOSE 9090 | ||
|
||
ENV WEBGOAT_PORT 8080 | ||
ENV WEBGOAT_SSLENABLED false | ||
|
||
ENV GOATURL https://127.0.0.1:$WEBGOAT_PORT | ||
ENV WOLFURL http://127.0.0.1:9090 | ||
|
||
|
||
WORKDIR /home/webgoat | ||
ENTRYPOINT /bin/bash /home/webgoat/start.sh $webgoat_version_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Docker all-in-one image | ||
|
||
## Docker build | ||
|
||
docker build --no-cache --build-arg webgoat_version=v8.0.0-SNAPSHOT -t webgoat/goatandwolf:latest . | ||
|
||
## Docker run | ||
|
||
docker run -d -p 80:8888 -p 8080:8080 -p 9090:9090 -e TZ=Europe/Amsterdam webgoat/goatandwolf:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<body> | ||
<h1>OWASP WebGoat Training tools</h1> | ||
<p> | ||
Use the following links to access the WebGoat and WebWolf applications. | ||
Register a user using WebGoat. The same user can access WebWolf. | ||
</p> | ||
|
||
<h2>Use without special host name entries</h2> | ||
|
||
<table> | ||
<tr> | ||
<td>WebGoat URL</td> | ||
<td><a href="http://127.0.0.1:8080/WebGoat" target="_blank">http://127.0.0.1:8080/WebGoat</a></td> | ||
</tr> | ||
<tr> | ||
<td>WebWolf URL</td> | ||
<td><a href="http://127.0.0.1:9090/WebWolf" target="_blank">http://127.0.0.1:9090/WebWolf</a></td> | ||
</tr> | ||
<table> | ||
|
||
<h2>Use with www.webgoat.local and www.webwolf.local</h2> | ||
<p> | ||
Add the following entries to your local <b><i>hosts</i></b> file on Windows (c:\Windows\System32\drivers\etc\hosts) or Linux (/etc/hosts) | ||
|
||
<pre> | ||
127.0.0.1 www.webgoat.local www.webwolf.local | ||
</pre> | ||
Then use the following URL's: | ||
</p> | ||
<table> | ||
<tr> | ||
<td>WebGoat URL</td> | ||
<td><a href="http://www.webgoat.local/WebGoat" target="_blank">http://www.webgoat.local/WebGoat</a></td> | ||
</tr> | ||
<tr> | ||
<td>WebWolf URL</td> | ||
<td><a href="http://www.webwolf.local/WebWolf" target="_blank">http://www.webwolf.local/WebWolf</a></td> | ||
</tr> | ||
<table> | ||
</body> | ||
</html> |
Oops, something went wrong.