Changed the layout of the lesson. The congratulation sentence is now displayed in "red". See WEB-46
This commit is contained in:
parent
91029ed3a6
commit
8ae120404f
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,2 +1,14 @@
|
||||
/nb-configuration.xml
|
||||
/nbactions.xml
|
||||
/nbactions.xml
|
||||
/target/
|
||||
/.classpath
|
||||
/.project
|
||||
/.settings/.jsdtscope
|
||||
/.settings/org.eclipse.jdt.core.prefs
|
||||
/.settings/org.eclipse.m2e.core.prefs
|
||||
/.settings/org.eclipse.wst.common.component
|
||||
/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
|
||||
/.settings/org.eclipse.wst.common.project.facet.core.xml
|
||||
/.settings/org.eclipse.wst.jsdt.ui.superType.container
|
||||
/.settings/org.eclipse.wst.jsdt.ui.superType.name
|
||||
/.settings/org.eclipse.wst.validation.prefs
|
||||
|
@ -2,9 +2,11 @@ package org.owasp.webgoat.lessons;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ecs.Element;
|
||||
import org.apache.ecs.ElementContainer;
|
||||
import org.apache.ecs.StringElement;
|
||||
import org.apache.ecs.html.BR;
|
||||
import org.apache.ecs.html.Input;
|
||||
import org.owasp.webgoat.session.ECSFactory;
|
||||
import org.owasp.webgoat.session.WebSession;
|
||||
@ -58,6 +60,7 @@ public class HttpBasics extends LessonAdapter {
|
||||
|
||||
StringBuffer person = null;
|
||||
try {
|
||||
ec.addElement(new BR());
|
||||
ec.addElement(new StringElement(WebGoatI18N.get("EnterYourName") + ": "));
|
||||
|
||||
person = new StringBuffer(s.getParser().getStringParameter(PERSON, ""));
|
||||
|
@ -794,4 +794,9 @@ fieldset[disabled] .btn-warning.active {
|
||||
padding: 3px;
|
||||
max-width: 200px;
|
||||
font-size: x-small;
|
||||
}
|
||||
|
||||
.info {
|
||||
color:#e84c3d;
|
||||
font-weight: bold;
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
<p>
|
||||
<b>How HTTP works:</b>
|
||||
</p>
|
||||
All HTTP transactions follow the same general format. Each client request and server response has three parts: the request or response line, a header section, and the entity body. The client initiates a transaction as follows: <br>
|
||||
All HTTP transactions follow the same general format. Each client request and server response has three parts: the request or response line, a header section and the entity body. The client initiates a transaction as follows: <br>
|
||||
<br>
|
||||
The client contacts the server and sends a document request <br>
|
||||
</div>
|
||||
@ -20,8 +20,8 @@ All HTTP transactions follow the same general format. Each client request and se
|
||||
After sending the request and headers, the client may send additional data. This data is mostly used by CGI programs using the POST method.<br>
|
||||
<p><b>General Goal(s):</b> </p>
|
||||
<!-- Start Instructions -->
|
||||
Enter your name in the input field below and press "go" to submit. The server will accept the request, reverse the input, and display it back to the user, illustrating the basics of handling an HTTP request.
|
||||
Enter your name in the input field below and press "Go!" to submit. The server will accept the request, reverse the input and display it back to the user, illustrating the basics of handling an HTTP request.
|
||||
<br/><br/>
|
||||
The user should become familiar with the features of WebGoat by manipulating the above
|
||||
buttons to view hints, show the HTTP request parameters, the HTTP request cookies, and the Java source code. You may also try using WebScarab for the first time.
|
||||
buttons to view hints, show the HTTP request parameters, the HTTP request cookies, and the Java source code. You may also try using OWASP Zed Attack Proxy for the first time.
|
||||
<!-- Stop Instructions -->
|
Loading…
x
Reference in New Issue
Block a user