.github
.mvn
config
docker
.gitignore
Dockerfile
Readme.md
index.html
nginx.conf
pom.xml
start.sh
docs
platformQuickStarts
scripts
webgoat-container
webgoat-images
webgoat-integration-tests
webgoat-lessons
webgoat-server
webwolf
.gitignore
.travis.yml
COPYRIGHT.txt
CREATE_RELEASE.MD
LICENSE.txt
README.MD
RELEASE_NOTES.md
buildspec.yml
docker-compose-local.yml
docker-compose-postgres.yml
docker-compose.yml
goat-with-reverseproxy.yaml
mvn-debug
mvnw
mvnw.cmd
pmd-ruleset.xml
pom.xml
project-suppression.xml
* adjustments for arbitrary user support (openshift guideline) * do not create up front .webgoat
13 lines
372 B
Bash
13 lines
372 B
Bash
#!/bin/bash
|
|
|
|
cd /home/webgoat
|
|
service nginx start
|
|
sleep 1
|
|
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webgoat.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webgoat.log &
|
|
|
|
sleep 10
|
|
|
|
java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webwolf.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webwolf.log &
|
|
|
|
tail -300f webgoat.log
|