Results 1 to 5 of 5

Thread: Webgoat install

  1. #1
    st0rmy_w4ters
    Guest

    Question Webgoat install

    I tried to install Webgoat on Back|Track:
    I installed jdk1.6.0_03 but :
    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 #
    Can i do not use a later version of jdk?
    Thanks

  2. #2
    Senior Member streaker69's Avatar
    Join Date
    Jan 2010
    Location
    Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
    Posts
    3,535

    Default

    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.

  3. #3
    Junior Member
    Join Date
    Jul 2007
    Posts
    56

    Default

    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]

  4. #4
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    Maybe it would be smarter to direct your questions to webgoat support.

  5. #5

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •