rogan.dawes
e27aaccb45
Make multi-stage lessons show the individual stages in the menu
...
While we are about it, make AbstractLesson.getLink() include
the category (i.e. menu), so that the menu selection script
will still work.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@183 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-18 13:29:53 +00:00
rogan.dawes
77ab0c5406
Update stage completion message
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@182 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-18 13:29:33 +00:00
rogan.dawes
184eaae260
Update the messages issued when a stage is completed.
...
We provide an automatic message on completion, which is easy to override.
Simply call setMessage() AFTER calling setStageComplete().
git-svn-id: http://webgoat.googlecode.com/svn/trunk@180 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-18 13:29:07 +00:00
rogan.dawes
ab0423cb78
Update the stage descriptions and instructions
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@179 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-18 13:28:24 +00:00
rogan.dawes
ad7f4aec68
Re-add Aspect credits for various lessons
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@178 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-18 13:28:02 +00:00
rogan.dawes
5f5e2e829a
The return type fix got lost.
...
I don't know how to get back to the point in the SVN history
to fix this so that the build will actually work. I guess
I'd better just apply it here.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@177 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 13:40:01 +00:00
rogan.dawes
d1fe861a75
Add a DB Cross Site Scripting lesson
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@173 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:56:13 +00:00
rogan.dawes
bc2faede19
Add a new DBSQLInjection lesson
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@171 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:55:23 +00:00
rogan.dawes
4665256674
Construct a message automatically when we complete a stage
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@168 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:54:15 +00:00
rogan.dawes
7dee412ee1
Fix WebServices lessons to maintain a reference to WebgoatContext
...
Since the webservices lessons are also created automatically by
Axis, which obviously does not have a reference to WebgoatContext,
and wouldn't call setWebgoatContext even if it did, we need to ensure
that each lesson created can still get to WebgoatContext.
Do this by maintaining a static reference to WebgoatContext that
all instances of the class can use.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@165 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:53:36 +00:00
rogan.dawes
76f654e820
Make sure that the underlying GoatHillsFinancial lesson remains hidden
...
Naturally, we want derived classes to be visible automatically
git-svn-id: http://webgoat.googlecode.com/svn/trunk@164 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:53:18 +00:00
rogan.dawes
f9a5a3700b
Minor cleanups to address warnings
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@162 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:52:44 +00:00
rogan.dawes
402fe9d95c
Updated stage descriptions to avoid duplication
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@159 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:51:53 +00:00
rogan.dawes
2bda4a81f3
Migrate the labs to direct/Random access stages
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@158 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:51:29 +00:00
rogan.dawes
f5e56c7081
Extract the stage-related code from LessonTracker into SequentialLessonTracker
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@157 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 12:50:32 +00:00
rogan.dawes
02560a2510
Move LessonAction and DefaultLessonAction to the GoatHillsFinancial package, since it is only ever used there
...
Also update the signature of DefaultLessonAction's constructor to take a GoatHillsFinancial,
rather than an AbstractLesson
git-svn-id: http://webgoat.googlecode.com/svn/trunk@156 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-11 10:38:55 +00:00
rogan.dawes
6abdcbf640
Migrate other lessons to extending GoatHillsFinancial
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@155 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:57:54 +00:00
rogan.dawes
a71b6af562
Fix thinko. Each LAB nees to use its own local LessonActions when defined
...
Each lesson simply overrides registerActions(classname) to do the necessary.
Also delete Actions which already exist in the base class package
git-svn-id: http://webgoat.googlecode.com/svn/trunk@154 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:57:24 +00:00
rogan.dawes
ac43a1c3cb
Update solutions to match minor changes to the underlying lesson
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@153 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:57:02 +00:00
rogan.dawes
1153caa7ff
Extend GoatHillsFinancial, and remove duplicated inherited methods
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@152 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:56:38 +00:00
rogan.dawes
2c8ad02968
Remove unused method
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@151 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:56:18 +00:00
rogan.dawes
a1d52a73e0
Introduce the GoatHillsFinancial "lesson"
...
This "lesson" is to be used as a base for the rest of the
LAB lessons. This should help to reduce the amount of
duplication across the lessons.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@150 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:56:00 +00:00
rogan.dawes
0bdc36b2f6
Remove duplication of isAuthorizedForEmployee
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@149 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:55:10 +00:00
rogan.dawes
a8119f6982
Move Lesson specific checks out of DefaultLessonAction
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@148 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:54:55 +00:00
rogan.dawes
3dc1a04d62
Update the various lessons to specify their stage count
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@147 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:54:35 +00:00
rogan.dawes
51cc4fb0b4
Take a simple approach to add direct stage access.
...
Make it a numerical stage indicator. This allows the person to skip a stage
if they choose to, but it will effectively be marked as completed.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@145 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:53:54 +00:00
rogan.dawes
e6fcd4176c
Make it possible to return per-stage hints
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@144 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:53:34 +00:00
rogan.dawes
d39975c299
Minor fixes - unused imports and generics
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@143 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:52:09 +00:00
rogan.dawes
eaf12c706c
Create WebgoatContext in HammerHead, rather than WebSession
...
Now webgoatContext should effectively be a singleton, shared across
all WebSession instances. WebSession now initialises from WebgoatContext.
WebSession methods that refer to static "site wide" properties are deeted
and references to them updated to point to WebgoatContext
git-svn-id: http://webgoat.googlecode.com/svn/trunk@141 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:51:26 +00:00
rogan.dawes
53487970f6
Unify DatabaseUtilities.makeConnection()
...
Remove the hack to support Web services lessons that do not have a WebSession
Now that they have their own reference to WebgoatContext, they do not need one
git-svn-id: http://webgoat.googlecode.com/svn/trunk@140 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:51:01 +00:00
rogan.dawes
ada66dae10
Pass webgoatContext to AbstractLesson, so all lessons can know their environment
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@139 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:50:36 +00:00
rogan.dawes
294580983d
Remove methods tagged DELETE_ME
...
Also remove associated imports which are no longer used
git-svn-id: http://webgoat.googlecode.com/svn/trunk@131 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:48:43 +00:00
rogan.dawes
52f23a20f4
Move maintanance of lesson categories from AbstractLesson into Category class
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@130 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:48:20 +00:00
rogan.dawes
747319aab5
Move definition of standard Categories to Category class
...
Also update all the referring classes
git-svn-id: http://webgoat.googlecode.com/svn/trunk@129 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:48:02 +00:00
esheri3
e19c3353e7
Added a catch block for the "ParameterNotFoundException". Failure to catch this exception lead to an error message when the DOS lesson is viewed.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@125 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-04-05 16:14:39 +00:00
mayhew64
e2e98574b5
Detailed new lesson instructions
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@120 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-03-19 19:07:00 +00:00
mayhew64
34fca43216
New Phishing Lesson
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@119 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-03-19 17:47:37 +00:00
sherif.fathy
30b00f969f
git-svn-id: http://webgoat.googlecode.com/svn/trunk@117 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-26 03:43:30 +00:00
mayhew64
a2abbfaf1e
Changed tag case. removed unused import
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@116 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-25 18:39:38 +00:00
mayhew64
d8680dcfc3
Removed credit from New Lesson. Removed extra "." from start page
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@115 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-22 01:09:43 +00:00
mayhew64
81582162d3
Modified intro text to be consistent in size with new logos. Modified credits in BlindSqlInjection.java.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@114 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-06 15:32:12 +00:00
esheri3
6dc383b7b4
Modified all "Aspect" lessons to include the Aspect logo. The logo links to http://aspectsecurity.com . Moved the "OWASP" logo and added an Aspect logo on the main.jsp page. Adjusted the padding of the "warning" text to prevent "Start" button overlap.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@112 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-02 17:56:23 +00:00
esheri3
e735aea7b0
Modified getCustomCredits() to utilize "Element" instead of "IMG". This allows for more flexible control over the lovely credits.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@111 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-02 15:23:43 +00:00
esheri3
dda693f0ff
Modified final hint to point to the correct mapping (/conf instead of /config). Minor code syntax cleanup
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@110 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-02-02 15:04:37 +00:00
mayhew64
e748aa0e90
Changed mac_Logo.gif to macadamian.gif. Added forced browsing servlet to the appropriate web.xml files. Enhanced readme files
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@109 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-31 15:44:38 +00:00
mayhew64
ca46354077
Minor Cleanup of imports and user guide url
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@105 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-30 23:36:21 +00:00
esheri3
404e3f8b19
Changed title to "How to Perform Cross Site Tracing (XST) Attacks"
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@103 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-26 19:47:54 +00:00
esheri3
dce06730f9
minor grammar fix.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@101 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-26 19:36:52 +00:00
esheri3
ccd2f8cc33
added the Aspect logo
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@100 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-26 19:15:20 +00:00
esheri3
af66f4ff00
Minor grammar fixes.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@98 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-25 20:41:41 +00:00