Added the AoC logo

git-svn-id: http://webgoat.googlecode.com/svn/trunk@80 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
sherif.fathy 2007-01-24 05:10:43 +00:00
parent 5188039079
commit 38e9a8967b
13 changed files with 38 additions and 29 deletions

View File

@ -50,6 +50,8 @@ import org.owasp.webgoat.session.WebSession;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
*/
public class BackDoors extends LessonAdapter
{
@ -257,7 +259,7 @@ public class BackDoors extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}

View File

@ -52,6 +52,9 @@ import org.owasp.webgoat.util.HtmlEncoder;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
*/
public class CSRF extends LessonAdapter {
@ -320,8 +323,9 @@ public class CSRF extends LessonAdapter {
return nameroot;
}
public Element getCredits() {
return new StringElement("Created by Sherif Koussa");
}
public Element getCredits()
{
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -44,7 +44,7 @@ import org.owasp.webgoat.session.WebSession;
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://code.google.com/p/webgoat">WebGoat</a>
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created October 28, 2006
*/
@ -152,7 +152,7 @@ public class DOMInjection extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
@ -175,10 +175,8 @@ public class DOMInjection extends LessonAdapter
List<String> hints = new ArrayList<String>();
hints.add("This page is using XMLHTTP to comunicate with the server.");
hints
.add("Try to find a way to inject the DOM to enable the Activate button.");
hints
.add("Intercept the reply and replace the body with document.forms[0].SUBMIT.disabled = false;");
hints.add("Try to find a way to inject the DOM to enable the Activate button.");
hints.add("Intercept the reply and replace the body with document.forms[0].SUBMIT.disabled = false;");
return hints;
}

View File

@ -43,6 +43,7 @@ import org.owasp.webgoat.session.WebSession;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created November 02, 2006
*/
@ -152,6 +153,6 @@ public class ForcedBrowsing extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -41,8 +41,8 @@ import org.owasp.webgoat.session.WebSession;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author sherif@macadamian.com
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created September 30, 2006
*/
@ -289,7 +289,7 @@ public class HttpSplitting extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -45,8 +45,8 @@ import java.util.ArrayList;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author sherif@macadamian.com
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created December 25, 2006
*/
@ -270,9 +270,10 @@ public class JSONInjection extends LessonAdapter
return ec;
}
public Element getCredits() {
return new StringElement("Created by Sherif Koussa");
}
public Element getCredits()
{
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
protected Category getDefaultCategory()
{

View File

@ -56,6 +56,8 @@ public abstract class LessonAdapter extends AbstractLesson
final static IMG WEBGOAT_LOGO = new IMG("images/logos/WebGoat.jpg").setAlt(
"WebGoat Logo").setBorder(0).setHspace(0).setVspace(0);
final static IMG AOC_LOGO = new IMG("images/logos/AOC_Logo.jpg").setAlt(
"OWASP Autumn of Code").setBorder(0).setHspace(0).setVspace(0);
/**
* Description of the Method

View File

@ -166,6 +166,6 @@ public class LogSpoofing extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -33,8 +33,8 @@ import org.owasp.webgoat.session.WebSession;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://code.google.com/p/webgoat">WebGoat</a>
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created October 28, 2003
*/
public class NewLesson extends LessonAdapter
@ -86,6 +86,6 @@ public class NewLesson extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -48,7 +48,7 @@ import org.owasp.webgoat.session.WebSession;
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://code.google.com/p/webgoat">WebGoat</a>
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created December 26, 2006
*/
@ -306,7 +306,7 @@ public class SilentTransactions extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}
}

View File

@ -51,6 +51,8 @@ import org.owasp.webgoat.session.WebSession;
* for free software projects.
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
*/
public class XMLInjection extends LessonAdapter
{
@ -319,8 +321,7 @@ public class XMLInjection extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}

View File

@ -64,7 +64,7 @@ import org.owasp.webgoat.session.ECSFactory;
*
* For details, please see http://code.google.com/p/webgoat/
*
* @author Sherif Koussa <a href="http://code.google.com/p/webgoat">WebGoat</a>
* @author Sherif Koussa <a href="http://www.macadamian.com">Macadamian Technologies.</a>
* @created November 28, 2006
*/
@ -214,7 +214,7 @@ public class XPATHInjection extends LessonAdapter
public Element getCredits()
{
return new StringElement("Created by Sherif Koussa");
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB