- This patch fixes Forced Browsing lesson by removing any custom coding for WebSession and HammerHead.java

git-svn-id: http://webgoat.googlecode.com/svn/trunk@34 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
sherif.fathy
2006-12-04 04:35:04 +00:00
parent 51d40b7b22
commit 80a2add2d7
4 changed files with 53 additions and 32 deletions

View File

@ -226,8 +226,6 @@ public class WebSession
private boolean completedHackableAdmin = false;
private boolean completedHackableConfig = false;
private int currentMenu;
/**
@ -726,16 +724,6 @@ public class WebSession
return ( completedHackableAdmin );
}
/**
* Has the user ever hacked the hackable config URL
*
* @return The hackable config value
*/
public boolean completedHackableConfig()
{
return ( completedHackableConfig );
}
/**
* Gets the authenticated attribute of the WebSession object
*
@ -1114,14 +1102,6 @@ public class WebSession
completedHackableAdmin = true;
}
}
public void setHasHackableConfig ( String url)
{
if ( url.indexOf("config") >= 0)
{
completedHackableConfig = true;
}
}
/**
* @return Returns the isDebug.