Session Fixation bugfix
MultiLevelLogin2 bugfix git-svn-id: http://webgoat.googlecode.com/svn/trunk@315 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
3e2b49b229
commit
789d72e589
@ -57,18 +57,18 @@ import org.owasp.webgoat.session.WebSession;
|
|||||||
|
|
||||||
public class MultiLevelLogin2 extends LessonAdapter
|
public class MultiLevelLogin2 extends LessonAdapter
|
||||||
{
|
{
|
||||||
private final static String USER = "user";
|
private final static String USER = "user2";
|
||||||
private final static String PASSWORD = "pass";
|
private final static String PASSWORD = "pass2";
|
||||||
private final static String TAN = "tan";
|
private final static String TAN = "tan2";
|
||||||
private final static String HIDDEN_USER = "hidden_user";
|
private final static String HIDDEN_USER = "hidden_user2";
|
||||||
|
|
||||||
private final static String LOGGEDIN = "loggedin";
|
private final static String LOGGEDIN = "loggedin2";
|
||||||
private final static String CORRECTTAN = "correctTan";
|
private final static String CORRECTTAN = "correctTan2";
|
||||||
private final static String CURRENTTAN = "currentTan";
|
private final static String CURRENTTAN = "currentTan2";
|
||||||
private final static String CURRENTTANPOS = "currentTanPos";
|
private final static String CURRENTTANPOS = "currentTanPos2";
|
||||||
|
|
||||||
// needed to see if lesson was successfull
|
// needed to see if lesson was successfull
|
||||||
private final static String LOGGEDINUSER = "loggedInUser";
|
private final static String LOGGEDINUSER = "loggedInUser2";
|
||||||
|
|
||||||
//private String LoggedInUser = "";
|
//private String LoggedInUser = "";
|
||||||
|
|
||||||
|
@ -304,8 +304,8 @@ public class SessionFixation extends SequentialLessonAdapter
|
|||||||
td6.addElement(titleField);
|
td6.addElement(titleField);
|
||||||
|
|
||||||
TextArea mailContent = new TextArea();
|
TextArea mailContent = new TextArea();
|
||||||
mailContent.addAttribute("cols", 60);
|
mailContent.addAttribute("cols", 67);
|
||||||
mailContent.addAttribute("rows", 9);
|
mailContent.addAttribute("rows", 8);
|
||||||
mailContent.addElement(mailText);
|
mailContent.addElement(mailText);
|
||||||
mailContent.setName(MAILCONTENTNAME);
|
mailContent.setName(MAILCONTENTNAME);
|
||||||
td7.addElement(mailContent);
|
td7.addElement(mailContent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user