webgoat
main
project
JavaSource
WebContent
META-INF
WEB-INF
css
database
images
javascript
lesson_plans
AccessControlMatrix.html
BackDoors.html
BasicAuthentication.html
BlindSqlInjection.html
BufferOverflow.html
CSRF.html
ChallengeScreen.html
CommandInjection.html
CrossSiteScripting.html
DOMInjection.html
DOS_Login.html
Encoding.html
FailOpenAuthentication.html
ForcedBrowsing.html
ForgotPassword.html
HiddenFieldTampering.html
HtmlClues.html
HttpBasics.html
HttpOnly.html
HttpSplitting.html
JSONInjection.html
JavaScriptValidation.html
Lesson_Plan_Template.html
LogSpoofing.html
NewLesson.html
PathBasedAccessControl.html
ReflectedXSS.html
RemoteAdminFlaw.html
RoleBasedAccessControl.html
SilentTransactions.html
SoapRequest.html
SqlNumericInjection.html
SqlStringInjection.html
StoredXss.html
ThreadSafetyProblem.html
TraceXSS.html
UncheckedEmail.html
WSDLScanning.html
WeakAuthenticationCookie.html
WeakSessionID.html
WelcomeScreeen.html
WsSAXInjection.html
WsSqlInjection.html
XMLInjection.html
XPATHInjection.html
lesson_template
lessons
users
main.jsp
sideWindow.jsp
webgoat.jsp
webgoat_challenge.jsp
doc
build.xml
HOW TO create the WebGoat workspace.txt
WAR Installation Instructions.txt
build.xml
eclipse.bat
readme.txt
webgoat.bat
webgoat.sh
webgoat_8080.bat
webscarab.bat
26 lines
1.5 KiB
HTML
26 lines
1.5 KiB
HTML
<div align="Center">
|
|
<p><b>Lesson Plan Title:</b> How to Add a New WebGoat Lesson </p>
|
|
</div>
|
|
|
|
<p><b>Concept / Topic To Teach:</b> </p>
|
|
<!-- Start Instructions -->
|
|
Adding lessons to WebGoat is very easy. If you have an idea that would be suitable<br>
|
|
for a new lesson, follow these few simple instructions to implement it:<br><br>
|
|
* Download the source code from <a href="http://sourceforge.net/project/showfiles.php?group_id=64424&package_id=61824">here.</a><br><br>
|
|
* Setup framework: follow the simple instructions in "HOW TO create the WebGoat workspace.txt" that comes with the project.<br><br>
|
|
* You need to add two files for each new lesson: <br>
|
|
- YourLesson.java to org.owasp.webgoat.lessons<br>
|
|
- YourLesson.html to WebContent/lesson_plans<br><br>
|
|
* YourLesson class implmenet LessonAdapter and override the following methods:<br>
|
|
- createContent: Use the <a href="http://jakarta.apache.org/site/downloads/downloads_ecs.cgi">ECS package</a> to develop HTML presented to the user.<br>
|
|
- getCategory: Returns the category for which this lesson belongs (XSS, Injection flaws..etc)<br>
|
|
- getHints: List of hints you would like to pass on to the users to point them to right direction.<br>
|
|
- getTitle: The title for your new lesson.<br>
|
|
- getCredits: Your name goes here.<br><br>
|
|
|
|
<!-- Stop Instructions -->
|
|
<br>
|
|
|
|
<p><b>General Goal(s):</b> </p>
|
|
The user should be able to learn how to add a new lesson.
|