Modified the logo again

git-svn-id: http://webgoat.googlecode.com/svn/trunk@84 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
sherif.fathy 2007-01-25 02:08:28 +00:00
parent e0354c1e25
commit 9db0e6eeb3
15 changed files with 47 additions and 15 deletions

View File

@ -11,6 +11,7 @@ import org.apache.ecs.Element;
import org.apache.ecs.ElementContainer; import org.apache.ecs.ElementContainer;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.H2; import org.apache.ecs.html.H2;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.PRE; import org.apache.ecs.html.PRE;
import org.apache.ecs.html.Span; import org.apache.ecs.html.Span;
import org.apache.ecs.html.Div; import org.apache.ecs.html.Div;
@ -64,6 +65,8 @@ public class BackDoors extends LessonAdapter
private final static String SELECT_ST = "select userid, password, ssn, salary from employee where userid="; private final static String SELECT_ST = "select userid, password, ssn, salary from employee where userid=";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
protected Element createContent(WebSession s) protected Element createContent(WebSession s)
{ {
@ -259,7 +262,7 @@ public class BackDoors extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }

View File

@ -14,6 +14,7 @@ import org.apache.ecs.html.A;
import org.apache.ecs.html.B; import org.apache.ecs.html.B;
import org.apache.ecs.html.H1; import org.apache.ecs.html.H1;
import org.apache.ecs.html.HR; import org.apache.ecs.html.HR;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.P; import org.apache.ecs.html.P;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
@ -68,6 +69,8 @@ public class CSRF extends LessonAdapter {
private static Connection connection = null; private static Connection connection = null;
private static int count = 1; private static int count = 1;
private final static int USER_COL = 4; // Added by Chuck Willis - used to show user who posted message private final static int USER_COL = 4; // Added by Chuck Willis - used to show user who posted message
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
/** /**
* Adds a feature to the Message attribute of the MessageBoardScreen object * Adds a feature to the Message attribute of the MessageBoardScreen object
@ -325,7 +328,7 @@ public class CSRF extends LessonAdapter {
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -9,6 +9,7 @@ import org.apache.ecs.ElementContainer;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.BR; import org.apache.ecs.html.BR;
import org.apache.ecs.html.H1; import org.apache.ecs.html.H1;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
import org.apache.ecs.html.TR; import org.apache.ecs.html.TR;
@ -55,6 +56,8 @@ public class DOMInjection extends LessonAdapter
private final static String KEY = "key"; private final static String KEY = "key";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
protected Element createContent(WebSession s) protected Element createContent(WebSession s)
{ {
@ -152,7 +155,7 @@ public class DOMInjection extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }

View File

@ -8,6 +8,7 @@ import org.apache.ecs.ElementContainer;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.BR; import org.apache.ecs.html.BR;
import org.apache.ecs.html.H1; import org.apache.ecs.html.H1;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
import org.apache.ecs.html.TR; import org.apache.ecs.html.TR;
@ -52,6 +53,8 @@ public class ForcedBrowsing extends LessonAdapter
private final static String SUCCEEDED = "succeeded"; private final static String SUCCEEDED = "succeeded";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
/** /**
* Description of the Method * Description of the Method
@ -153,6 +156,6 @@ public class ForcedBrowsing extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -55,6 +55,8 @@ public class HttpSplitting extends LessonAdapter
private static String STAGE = "stage"; private static String STAGE = "stage";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
/** /**
* Description of the Method * Description of the Method
@ -289,7 +291,7 @@ public class HttpSplitting extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -7,6 +7,7 @@ import org.apache.ecs.ElementContainer;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.Div; import org.apache.ecs.html.Div;
import org.apache.ecs.html.Form; import org.apache.ecs.html.Form;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Table; import org.apache.ecs.html.Table;
import org.apache.ecs.html.TR; import org.apache.ecs.html.TR;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
@ -59,6 +60,8 @@ public class JSONInjection extends LessonAdapter
private final static String TRAVEL_TO = "travelTo"; private final static String TRAVEL_TO = "travelTo";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
public void handleRequest(WebSession s) public void handleRequest(WebSession s)
{ {
@ -272,7 +275,7 @@ public class JSONInjection extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
protected Category getDefaultCategory() protected Category getDefaultCategory()

View File

@ -56,8 +56,6 @@ public abstract class LessonAdapter extends AbstractLesson
final static IMG WEBGOAT_LOGO = new IMG("images/logos/WebGoat.jpg").setAlt( final static IMG WEBGOAT_LOGO = new IMG("images/logos/WebGoat.jpg").setAlt(
"WebGoat Logo").setBorder(0).setHspace(0).setVspace(0); "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 * Description of the Method

View File

@ -9,6 +9,7 @@ import org.apache.ecs.Element;
import org.apache.ecs.ElementContainer; import org.apache.ecs.ElementContainer;
import org.apache.ecs.HtmlColor; import org.apache.ecs.HtmlColor;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.PRE; import org.apache.ecs.html.PRE;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
@ -57,6 +58,8 @@ public class LogSpoofing extends LessonAdapter
private static final String PASSWORD = "password"; private static final String PASSWORD = "password";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
protected Element createContent(WebSession s) protected Element createContent(WebSession s)
{ {
@ -166,6 +169,6 @@ public class LogSpoofing extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -2,6 +2,7 @@ package org.owasp.webgoat.lessons;
import org.apache.ecs.Element; import org.apache.ecs.Element;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.IMG;
import org.owasp.webgoat.session.WebSession; import org.owasp.webgoat.session.WebSession;
@ -39,6 +40,8 @@ import org.owasp.webgoat.session.WebSession;
*/ */
public class NewLesson extends LessonAdapter public class NewLesson extends LessonAdapter
{ {
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
/** /**
* Description of the Method * Description of the Method
@ -86,6 +89,6 @@ public class NewLesson extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -12,6 +12,7 @@ import org.apache.ecs.html.Div;
import org.apache.ecs.html.Form; import org.apache.ecs.html.Form;
import org.apache.ecs.html.H1; import org.apache.ecs.html.H1;
import org.apache.ecs.html.H3; import org.apache.ecs.html.H3;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.PRE; import org.apache.ecs.html.PRE;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
@ -59,6 +60,8 @@ public class SilentTransactions extends LessonAdapter
private final static Double CURRENT_BALANCE = 11987.09; private final static Double CURRENT_BALANCE = 11987.09;
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
public void handleRequest(WebSession s) public void handleRequest(WebSession s)
{ {
@ -306,7 +309,7 @@ public class SilentTransactions extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }
} }

View File

@ -13,6 +13,7 @@ import org.apache.ecs.html.BR;
import org.apache.ecs.html.Form; import org.apache.ecs.html.Form;
import org.apache.ecs.html.H1; import org.apache.ecs.html.H1;
import org.apache.ecs.html.H3; import org.apache.ecs.html.H3;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
import org.apache.ecs.html.TR; import org.apache.ecs.html.TR;
@ -63,6 +64,8 @@ public class XMLInjection extends LessonAdapter
public static HashMap rewardsMap = new HashMap(); public static HashMap rewardsMap = new HashMap();
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
protected static HashMap init() protected static HashMap init()
{ {
@ -321,7 +324,7 @@ public class XMLInjection extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }

View File

@ -20,6 +20,7 @@ import javax.xml.xpath.XPathExpressionException;
import org.apache.ecs.Element; import org.apache.ecs.Element;
import org.apache.ecs.ElementContainer; import org.apache.ecs.ElementContainer;
import org.apache.ecs.StringElement; import org.apache.ecs.StringElement;
import org.apache.ecs.html.IMG;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.P; import org.apache.ecs.html.P;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
@ -77,6 +78,8 @@ public class XPATHInjection extends LessonAdapter
private final static String PASSWORD = "Password"; private final static String PASSWORD = "Password";
private final static IMG MAC_LOGO = new IMG("images/logos/mac_Logo.gif").setAlt(
"Macadamian Technologies").setBorder(0).setHspace(0).setVspace(0);
protected Element createContent(WebSession s) protected Element createContent(WebSession s)
{ {
@ -214,7 +217,7 @@ public class XPATHInjection extends LessonAdapter
public Element getCredits() public Element getCredits()
{ {
return super.getCustomCredits("Created by Sherif Koussa - Macadamian Technologies", AOC_LOGO); return super.getCustomCredits("Created by Sherif Koussa ", MAC_LOGO);
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -51,7 +51,9 @@
<td height="25" valign="bottom"><div align="center"><span class="style1">Documentation Contributer</span></div></td> <td height="25" valign="bottom"><div align="center"><span class="style1">Documentation Contributer</span></div></td>
</tr> </tr>
<tr> <tr>
<td><div align="center" class="style2">Sherif Koussa<br /></div> <td><div align="center" class="style2">Sherif Koussa<br />
(http://www.macadamian.com)<br />
</div>
</td> </td>
<td><div align="center" class="style2">Robert Sullivan<br /> <td><div align="center" class="style2">Robert Sullivan<br />
(http://www.unitedhealthgroup.com/) </div></td> (http://www.unitedhealthgroup.com/) </div></td>
@ -59,7 +61,7 @@
<tr> <tr>
<td><div align="center" class="style2">OWASP Autumn of Code<br /> <td><div align="center" class="style2">OWASP Autumn of Code<br />
(http://www.owasp.org/) </div></td> (http://www.owasp.org/) </div></td>
<td><div align="center" class="style2">Sherif Koussa<br /></div> <td><div align="center" class="style2">Sherif Koussa<br />(http://www.macadamian.com)<br /></div>
</td> </td>
</tr> </tr>
<tr> <tr>