1311 Commits

Author SHA1 Message Date
mayhew64@gmail.com
d5c884a891 Fixed new lesson instructions location to match new file structure
git-svn-id: http://webgoat.googlecode.com/svn/trunk@416 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 18:45:30 +00:00
mayhew64@gmail.com
c3908e8700 More readme tweaks, fixed the delete command in the SQL Server startup
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@413 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 04:04:25 +00:00
mayhew64@gmail.com
5ec55cbe2c More readme tweaks, fixed the delete command in the SQL Server startup
git-svn-id: http://webgoat.googlecode.com/svn/trunk@413 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 04:04:25 +00:00
mayhew64@gmail.com
0f3cc19b11 Slight mods to add unzip and click to run instructions
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@412 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 03:58:29 +00:00
mayhew64@gmail.com
4f37069f0c Slight mods to add unzip and click to run instructions
git-svn-id: http://webgoat.googlecode.com/svn/trunk@412 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 03:58:29 +00:00
mayhew64@gmail.com
e78ea07b3f Minor changes to missing internationalization text and startup scripts. Removed internationalization choices for lessons that don't support it
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@411 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 03:34:14 +00:00
mayhew64@gmail.com
442e8a6cce Minor changes to missing internationalization text and startup scripts. Removed internationalization choices for lessons that don't support it
git-svn-id: http://webgoat.googlecode.com/svn/trunk@411 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-11 03:34:14 +00:00
mayhew64@gmail.com
d48519d1ec Fixed some broken formatting on screen layout, added the Malicious code to the hidden lessons until real lessons can be built
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@410 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 03:58:08 +00:00
mayhew64@gmail.com
5db533f9ee Fixed some broken formatting on screen layout, added the Malicious code to the hidden lessons until real lessons can be built
git-svn-id: http://webgoat.googlecode.com/svn/trunk@410 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 03:58:08 +00:00
mayhew64@gmail.com
5394b0d8a1 General cleanup of lesson, removed sub credit from csrf lesson, add cam credit as lesson contributor
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@409 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 01:49:41 +00:00
mayhew64@gmail.com
12a4e91285 General cleanup of lesson, removed sub credit from csrf lesson, add cam credit as lesson contributor
git-svn-id: http://webgoat.googlecode.com/svn/trunk@409 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 01:49:41 +00:00
mayhew64@gmail.com
c35169291b Added some detail to the readme and moved some docs that are no longer relevant to the attic.
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@408 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 01:07:55 +00:00
mayhew64@gmail.com
c3a50177b0 Added some detail to the readme and moved some docs that are no longer relevant to the attic.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@408 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-09 01:07:55 +00:00
ch.ko123
34abecdbe5 added configuration for starting Tomcat from Maven
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@407 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-08 16:43:00 +00:00
ch.ko123
b68b671a3d added configuration for starting Tomcat from Maven
git-svn-id: http://webgoat.googlecode.com/svn/trunk@407 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-08 16:43:00 +00:00
ch.ko123
98fe279dc7 moved scripts to main/scrips and remaining stuff to doc
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@406 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 21:03:36 +00:00
ch.ko123
86df73d16d moved scripts to main/scrips and remaining stuff to doc
git-svn-id: http://webgoat.googlecode.com/svn/trunk@406 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 21:03:36 +00:00
ch.ko123
c46d490726 removed jars, as dependencies are now pulled from the maven repo
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@405 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 20:30:23 +00:00
ch.ko123
dcc7476e27 removed jars, as dependencies are now pulled from the maven repo
git-svn-id: http://webgoat.googlecode.com/svn/trunk@405 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 20:30:23 +00:00
ch.ko123
b1d23b4140 make webgoat run on tomcat 5.5 again
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@404 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 20:00:55 +00:00
ch.ko123
11845f60de make webgoat run on tomcat 5.5 again
git-svn-id: http://webgoat.googlecode.com/svn/trunk@404 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-05 20:00:55 +00:00
ch.ko123
a4e0b6b101 added paragraph about tomcat to README.txt
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@403 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-02 22:40:20 +00:00
ch.ko123
35ecb109cf added paragraph about tomcat to README.txt
git-svn-id: http://webgoat.googlecode.com/svn/trunk@403 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-02 22:40:20 +00:00
ch.ko123
01bf6ea303 added wtp configuration to pom
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@402 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-02 22:20:12 +00:00
ch.ko123
792d66e189 added wtp configuration to pom
git-svn-id: http://webgoat.googlecode.com/svn/trunk@402 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-02 22:20:12 +00:00
ch.ko123
01e5cf37d9 moved doco
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@401 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 21:12:40 +00:00
ch.ko123
751e4c404a moved doco
git-svn-id: http://webgoat.googlecode.com/svn/trunk@401 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 21:12:40 +00:00
ch.ko123
68ba7cab13 moved doc folder
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@400 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 20:06:23 +00:00
ch.ko123
692461b7a6 moved doc folder
git-svn-id: http://webgoat.googlecode.com/svn/trunk@400 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 20:06:23 +00:00
ch.ko123
5b56b4f15d updated readme
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@399 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 19:44:33 +00:00
ch.ko123
03768fa4f7 updated readme
git-svn-id: http://webgoat.googlecode.com/svn/trunk@399 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 19:44:33 +00:00
ch.ko123
aa49ad4cd6 removed xml-apis from pon
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@398 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 18:45:25 +00:00
ch.ko123
7a19763a09 removed xml-apis from pon
git-svn-id: http://webgoat.googlecode.com/svn/trunk@398 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 18:45:25 +00:00
ch.ko123
7d2327dfd9 README.txt for Maven build added
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@397 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 16:01:47 +00:00
ch.ko123
123a2d764f README.txt for Maven build added
git-svn-id: http://webgoat.googlecode.com/svn/trunk@397 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 16:01:47 +00:00
ch.ko123
e3d3946862 moved property files to src/main/resources
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@396 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 15:08:35 +00:00
ch.ko123
87f09e5c92 moved property files to src/main/resources
git-svn-id: http://webgoat.googlecode.com/svn/trunk@396 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 15:08:35 +00:00
ch.ko123
adad8cf836 added resources dir, removed catalina.jar which is only a build dependency
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@395 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 12:51:57 +00:00
ch.ko123
16ad95bc8e added resources dir, removed catalina.jar which is only a build dependency
git-svn-id: http://webgoat.googlecode.com/svn/trunk@395 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 12:51:57 +00:00
ch.ko123
5119e65791 renamed main->src regarding to Maven conventions
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@394 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:54:43 +00:00
ch.ko123
e5730814c8 renamed main->src regarding to Maven conventions
git-svn-id: http://webgoat.googlecode.com/svn/trunk@394 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:54:43 +00:00
ch.ko123
c1f2360a35 renamed project->main regarding to Maven conventions
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@393 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:16:30 +00:00
ch.ko123
95643f4b2b renamed project->main regarding to Maven conventions
git-svn-id: http://webgoat.googlecode.com/svn/trunk@393 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:16:30 +00:00
ch.ko123
f99fad493c renamed JavaSource -> java, WebContent -> webapp regarding to Maven convention
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@392 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:04:59 +00:00
ch.ko123
791341000c renamed JavaSource -> java, WebContent -> webapp regarding to Maven convention
git-svn-id: http://webgoat.googlecode.com/svn/trunk@392 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 11:04:59 +00:00
ch.ko123
6cc4a44d86 restored setAdmin method removed in r389 to make the trunk compile again
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@391 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 10:39:29 +00:00
ch.ko123
bb15524a7a restored setAdmin method removed in r389 to make the trunk compile again
git-svn-id: http://webgoat.googlecode.com/svn/trunk@391 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-11-01 10:39:29 +00:00
chuck@securityfoundry.com
1c02094545 Added 3 new lessons. Some strings are in the properties files, but not all. Modified CreateDB.java in order to create a new salaries table used by the new SQL injection lessons.
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@390 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-10-30 04:53:19 +00:00
chuck@securityfoundry.com
e15957ad68 Added 3 new lessons. Some strings are in the properties files, but not all. Modified CreateDB.java in order to create a new salaries table used by the new SQL injection lessons.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@390 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-10-30 04:53:19 +00:00
mjawurek
1dc6c799a7 A first attempt at internationalization of WebGoat. For complete internationalization WebGoat needs two things:
1. Every text passage/label that appears in lessons must independent of the current language set for WebGoat.
2. Every lesson plan and solutions must be translated for each supported language.
Number 1 is achieved by using webgoat/util/WebgoatI18N.java and by having every output routed through this piece of code. You no longer say hints.add("Lesson Hint 1"); or ....addElement("Shopping Cart")) but you in the lesson you say hints.add(WebGoatI18N.get("Lesson Hint1")) or ....addElement(WebGoatI18N.get("Shopping Cart"). Then WebGoatI18N looks up the corresponding string for the language set as the current lanuage and returns it.
Number 2 is achieved by having subdirectories in lesson_plans corresponding to every language. That means, a lesson that has been translated to Spanish and German will be found in lesson_plans/English and lesson_plans/Spanish and lesson_plans/German.

This is how WebGoat finds out about available languages: in Course.java in loadResources() it looks for lesson plans.
Unlike before, now a lesson plan can be found multiple times in different "language" directories. So for every directory the lesson plan is found in, WebGoat associates this language with the lesson and also lets WebGoatI18N load the appropriate WebGoatLabels_$LANGAUGE$.properties file which contains the translations of labels.
So this is what you have to do for a new language:
First of all, you have to copy and translate every lesson plan that you need in the new language, and then you also have to create a WebGoatLabels_$LANGUAGE$.properties file with that labels that will be used in these lessons. Atm WebGoat crashes throws an exception when a label is missing but this can be sorted out quickly. 

git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@389 4033779f-a91e-0410-96ef-6bf7bf53c507
2009-10-26 15:58:15 +00:00