Minor nits
git-svn-id: http://webgoat.googlecode.com/svn/trunk@51 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
59c2427f0d
commit
cd4e6a3b95
@ -128,9 +128,8 @@ public class HttpOnly extends LessonAdapter {
|
||||
*/
|
||||
protected List getHints()
|
||||
{
|
||||
List hints = new ArrayList();
|
||||
|
||||
|
||||
List<String> hints = new ArrayList<String>();
|
||||
hints.add( "Read the directions and try out the buttons." );
|
||||
return hints;
|
||||
}
|
||||
|
||||
|
@ -192,7 +192,7 @@ public class HttpSplitting extends LessonAdapter {
|
||||
hints.add( "Use CR (%0d) and LF (%0a) for a new line" );
|
||||
hints.add( "The Content-Length: 0 will tell the server that the first request is over." );
|
||||
hints.add( "A 200 OK message looks like this: HTTP/1.1 200 OK" );
|
||||
hints.add( "Try language=?foobar%0d%0aContent-Length:%200%0d%0a%0d%0aHTTP/1.1%20200%20OK%0d%0aContent-Type:%20text/html%0d%0aContent-Length:%2019%0d%0a%0d%0a<html>hahahahaha</html>" );
|
||||
hints.add( "Try: language=?foobar%0d%0aContent-Length:%200%0d%0a%0d%0aHTTP/1.1%20200%20OK%0d%0aContent-Type:%20text/html%0d%0aContent-Length:%2047%0d%0a%0d%0a<html>Insert undesireable content here</html>" );
|
||||
return hints;
|
||||
|
||||
}
|
||||
|
@ -104,7 +104,8 @@ public class LogSpoofing extends LessonAdapter {
|
||||
List<String> hints = new ArrayList<String>();
|
||||
hints.add( "Try to fool the humane eye by using new lines." );
|
||||
hints.add( "Use CR (%0d) and LF (%0a) for a new line." );
|
||||
hints.add( "Try: fooledYa%0d%0aLogin Succeeded for username: admin" );
|
||||
hints.add( "Try: Smith%0d%0aLogin Succeeded for username: admin" );
|
||||
hints.add( "Try: Smith%0d%0aLogin Succeeded for username: admin<script>alert(document.cookie)</script>" );
|
||||
|
||||
return hints;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user