General cleanup of lesson, removed sub credit from csrf lesson, add cam credit as lesson contributor
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@409 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -1,10 +1,6 @@
|
||||
|
||||
package org.owasp.webgoat.lessons;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Statement;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@ -18,16 +14,7 @@ import org.apache.ecs.html.B;
|
||||
import org.apache.ecs.html.BR;
|
||||
import org.apache.ecs.html.Form;
|
||||
import org.apache.ecs.html.H1;
|
||||
import org.apache.ecs.html.HR;
|
||||
import org.apache.ecs.html.IMG;
|
||||
import org.apache.ecs.html.Input;
|
||||
import org.apache.ecs.html.P;
|
||||
import org.apache.ecs.html.TD;
|
||||
import org.apache.ecs.html.TR;
|
||||
import org.apache.ecs.html.Table;
|
||||
import org.apache.ecs.html.TextArea;
|
||||
import org.owasp.webgoat.session.DatabaseUtilities;
|
||||
import org.owasp.webgoat.session.ECSFactory;
|
||||
import org.owasp.webgoat.session.WebSession;
|
||||
import org.owasp.webgoat.util.HtmlEncoder;
|
||||
|
||||
@ -193,8 +180,6 @@ public class CsrfPromptByPass extends CSRF
|
||||
ElementContainer credits = new ElementContainer();
|
||||
credits.addElement(new StringElement("Contributed by "));
|
||||
credits.addElement(partnet);
|
||||
credits.addElement(new BR());
|
||||
credits.addElement(new StringElement("Derived from Sherif Koussa's CSRF Lesson"));
|
||||
return credits;
|
||||
}
|
||||
}
|
||||
|
@ -2,10 +2,6 @@
|
||||
package org.owasp.webgoat.lessons;
|
||||
|
||||
import java.security.SecureRandom;
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Statement;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
@ -20,17 +16,7 @@ import org.apache.ecs.html.B;
|
||||
import org.apache.ecs.html.BR;
|
||||
import org.apache.ecs.html.Form;
|
||||
import org.apache.ecs.html.H1;
|
||||
import org.apache.ecs.html.H2;
|
||||
import org.apache.ecs.html.HR;
|
||||
import org.apache.ecs.html.IMG;
|
||||
import org.apache.ecs.html.Input;
|
||||
import org.apache.ecs.html.P;
|
||||
import org.apache.ecs.html.TD;
|
||||
import org.apache.ecs.html.TR;
|
||||
import org.apache.ecs.html.Table;
|
||||
import org.apache.ecs.html.TextArea;
|
||||
import org.owasp.webgoat.session.DatabaseUtilities;
|
||||
import org.owasp.webgoat.session.ECSFactory;
|
||||
import org.owasp.webgoat.session.WebSession;
|
||||
import org.owasp.webgoat.util.HtmlEncoder;
|
||||
|
||||
@ -174,8 +160,6 @@ public class CsrfTokenByPass extends CsrfPromptByPass
|
||||
ElementContainer credits = new ElementContainer();
|
||||
credits.addElement(new StringElement("Contributed by "));
|
||||
credits.addElement(partnet);
|
||||
credits.addElement(new BR());
|
||||
credits.addElement(new StringElement("Derived from Sherif Koussa's CSRF Lesson"));
|
||||
return credits;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user