Nothing to see here, please move along. Chances are this guy isn't going to be here much longer.
I tried to install Webgoat on Back|Track:
I installed jdk1.6.0_03 but :
Can i do not use a later version of jdk?bt ~ # cd /root/Desktop/WebGoat-5.0
bt WebGoat-5.0 # sh webgoat.sh start8080
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Open h**p://127.0.0.1:8080/WebGoat/attack
Username: guest
Password: guest
Or try h**p://guest:guest@127.0.0.1:8080/WebGoat/attack
tail: cannot open `./tomcat/logs/catalina.out' for reading: No such file or directory
tail: no files remaining
bt WebGoat-5.0 # export JAVA_HOME=/usr/local/jdk1.6.0_03
bt WebGoat-5.0 # sh webgoat.sh start8080
The JVM in $JAVA_HOME isn't version 1.5.
bt WebGoat-5.0 #
Thanks
Nothing to see here, please move along. Chances are this guy isn't going to be here much longer.
A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.
I downloaded WebGoat 5.1
There are Webgoat.bat files, but no webgoat.sh file.
Really there is no webgoat.sh file.
I promise.
Same download works fine on XP.
I downloaded the file twice, with same result.
[FONT="System"][COLOR="DarkSlateBlue"][B]I am not arrogant, just better than you.[/B][/COLOR][/FONT]
Maybe it would be smarter to direct your questions to webgoat support.
for the old post:
just delete all that check code and put an export link to where your java install is. my java was in "usr/lib/jvm/java-1.5.0-sun"
here is the relevant part from the .sh
#! /bin/sh
SYSTEM=`uname -s`
CATALINA_HOME=./tomcat
PATH=${PATH}:./tomcat/bin
export CATALINA_HOME PATH
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/
chmod +x ./$CATALINA_HOME/bin/*.sh
for the new post:
From hxxp://code.google.com/p/webgoat/
Linux Note
The webgoat.sh file for the Linux can be found at hxxp://webgoat.googlecode.com/svn/tags/webgoat-5.1/main/webgoat.sh