rogan.dawes
3c2e63636c
Provide a user-accessible mechanism for skipping stages
...
Initially, this is only available when in debug mode
i.e. add &debug=true to the URL or set the flag in web.xml
git-svn-id: http://webgoat.googlecode.com/svn/trunk@146 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:54:12 +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
661d8bcf62
Various type safety fixes (converting to generics)
...
This appears to have fixed a possible bug, so is a good thing
git-svn-id: http://webgoat.googlecode.com/svn/trunk@142 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:51:40 +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
1849197784
Move database specific items into WebgoatContext
...
Update DatabaseUtilities to use a webgoatContext to create a Connection
git-svn-id: http://webgoat.googlecode.com/svn/trunk@138 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:50:13 +00:00
rogan.dawes
c4d24dff3a
Start process of moving shared data to a single place
...
Shared fields like the database connection details will be
stored in a new class WebgoatContext.
For the moment, we create this object anew each time, but
we will eventually create it once, and pass it to the
constructor of WebSession, to provide initial values for
each user.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@137 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:49:57 +00:00
rogan.dawes
c3a5ec5ca8
Eliminate references to insance variable
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@136 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:49:41 +00:00
rogan.dawes
db2f11578a
Replace casting with a suitable generic
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@135 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:49:28 +00:00
rogan.dawes
4cae9985f6
Fix a NullPointerException in DatabaseUtilities.writeTable
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@134 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:49:15 +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
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
rogan.dawes
5f67544b24
Add mechanism to close DB connections
...
Oracle ends up refusing connections if we don't close them
git-svn-id: http://webgoat.googlecode.com/svn/trunk@128 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:46:17 +00:00
rogan.dawes
6f5e7c37f7
Add infrastructure to enable setting of username and password for DB access
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@127 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-07-10 11:46:01 +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
265c56b302
Fixed a bug which caused the RoleBasedAccessControl_i class to be instantiated and inserted into the navigation menu.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@78 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-23 19:11:32 +00:00
esheri3
1ad2fd45d3
Fixed bug preventing the source from being displayed. Basic code clean-up as well.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@77 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-23 18:56:42 +00:00
esheri3
7cd01d8656
The old Course object used some insane recursion, causing my JVM to spike at 100%. Furthermore, it increased the WebGoat initial startup time to roughly 1:30-2:00 minutes (for me). In order to address the disk access overhead (the current greatest impacter of performance), we now cache the file names before parsing the lessons and their resources.
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@72 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-22 22:25:50 +00:00
mayhew64
8b51818508
Changed remaining contact information to reference an email address I receive (webgoat@g2-inc.com)
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@61 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-16 18:29:06 +00:00
mayhew64
fd9b60f98e
Added some files required to build OWASP release.
...
Modified License text and format to reflect GPL license.
Reformatted most of the code.
git-svn-id: http://webgoat.googlecode.com/svn/trunk@60 4033779f-a91e-0410-96ef-6bf7bf53c507
2007-01-16 14:56:40 +00:00
sherif.fathy
80a2add2d7
- This patch fixes Forced Browsing lesson by removing any custom coding for WebSession and HammerHead.java
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@34 4033779f-a91e-0410-96ef-6bf7bf53c507
2006-12-04 04:35:04 +00:00
mayhew64
e5b3b00b0f
General cleanup of warnings, fixed a few method scope issues and incorrect use of static references to categories
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@30 4033779f-a91e-0410-96ef-6bf7bf53c507
2006-11-03 23:55:08 +00:00
sherif.fathy
fae3c3f047
patch to fix a last minute typo and an unwanted import statement
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@29 4033779f-a91e-0410-96ef-6bf7bf53c507
2006-11-03 02:50:12 +00:00
sherif.fathy
6a59cd6e6e
git-svn-id: http://webgoat.googlecode.com/svn/trunk@28 4033779f-a91e-0410-96ef-6bf7bf53c507
2006-11-03 01:14:36 +00:00
mayhew64
a8ce18c72e
Moved remotely
...
git-svn-id: http://webgoat.googlecode.com/svn/trunk@8 4033779f-a91e-0410-96ef-6bf7bf53c507
2006-09-30 13:25:59 +00:00