added paragraph about tomcat to README.txt
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@403 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
01bf6ea303
commit
a4e0b6b101
26
README.txt
26
README.txt
@ -28,3 +28,29 @@ File -> Import -> General -> Existing Projects into Workspace
|
|||||||
Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/repository, otherwise many links to existing jars will be broken.
|
Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/repository, otherwise many links to existing jars will be broken.
|
||||||
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables
|
You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables
|
||||||
|
|
||||||
|
|
||||||
|
Run the project on Tomcat within Eclipse
|
||||||
|
-----------------------------------------
|
||||||
|
1. Install a local Tomcat server
|
||||||
|
2. Open Eclipse -> File -> New -> Other -> Server -> Apache -> Tomcat -> Next
|
||||||
|
-> Insert your Tomcat Installation directory
|
||||||
|
-> Click next and add "webgoat" to the list of configured applications
|
||||||
|
-> Finish
|
||||||
|
3. Adapt the conf/tomcat-users.xml file of your Tomcat server:
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<tomcat-users>
|
||||||
|
<role rolename="webgoat_basic"/>
|
||||||
|
<role rolename="webgoat_admin"/>
|
||||||
|
<role rolename="webgoat_user"/>
|
||||||
|
<role rolename="tomcat"/>
|
||||||
|
<user password="webgoat" roles="webgoat_admin" username="webgoat"/>
|
||||||
|
<user password="basic" roles="webgoat_user,webgoat_basic" username="basic"/>
|
||||||
|
<user password="tomcat" roles="tomcat" username="tomcat"/>
|
||||||
|
<user password="guest" roles="webgoat_user" username="guest"/>
|
||||||
|
</tomcat-users>
|
||||||
|
|
||||||
|
4. Right Click on the webgoat project within eclipse -> Run As -> Run on server
|
||||||
|
5. http://localhost:8080/webgoat/attack
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user