Lesson overview
This commit is contained in:
		| @ -2,8 +2,8 @@ package org.owasp.webgoat.plugin; | ||||
|  | ||||
| import com.google.common.base.Joiner; | ||||
| import org.apache.commons.lang.exception.ExceptionUtils; | ||||
| import org.owasp.webgoat.lessons.Assignment; | ||||
| import org.owasp.webgoat.lessons.model.AttackResult; | ||||
| import org.owasp.webgoat.endpoints.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.lessons.AttackResult; | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.web.bind.annotation.RequestBody; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| @ -46,7 +46,7 @@ import static org.owasp.webgoat.plugin.SimpleXXE.parseXml; | ||||
|  * @version $Id: $Id | ||||
|  * @since November 18, 2016 | ||||
|  */ | ||||
| public class BlindSendFileAssignment extends Assignment { | ||||
| public class BlindSendFileAssignment extends AssignmentEndpoint { | ||||
|  | ||||
|     @Override | ||||
|     public String getPath() { | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| package org.owasp.webgoat.plugin; | ||||
|  | ||||
| import com.fasterxml.jackson.databind.ObjectMapper; | ||||
| import org.owasp.webgoat.lessons.Assignment; | ||||
| import org.owasp.webgoat.lessons.model.AttackResult; | ||||
| import org.owasp.webgoat.endpoints.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.lessons.AttackResult; | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.web.bind.annotation.RequestBody; | ||||
| import org.springframework.web.bind.annotation.RequestHeader; | ||||
| @ -44,7 +44,7 @@ import static org.owasp.webgoat.plugin.SimpleXXE.parseXml; | ||||
|  * @version $Id: $Id | ||||
|  * @since November 17, 2016 | ||||
|  */ | ||||
| public class ContentTypeAssignment extends Assignment { | ||||
| public class ContentTypeAssignment extends AssignmentEndpoint { | ||||
|  | ||||
|     @Override | ||||
|     public String getPath() { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| package org.owasp.webgoat.plugin; | ||||
|  | ||||
| import lombok.extern.slf4j.Slf4j; | ||||
| import org.owasp.webgoat.lessons.Endpoint; | ||||
| import org.owasp.webgoat.endpoints.Endpoint; | ||||
| import org.springframework.web.bind.annotation.RequestHeader; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| import org.springframework.web.bind.annotation.RequestMethod; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| package org.owasp.webgoat.plugin; | ||||
|  | ||||
| import org.apache.commons.exec.OS; | ||||
| import org.owasp.webgoat.lessons.Assignment; | ||||
| import org.owasp.webgoat.lessons.model.AttackResult; | ||||
| import org.owasp.webgoat.endpoints.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.lessons.AttackResult; | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.web.bind.annotation.RequestBody; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| @ -44,7 +44,7 @@ import java.io.StringReader; | ||||
|  * @version $Id: $Id | ||||
|  * @since November 17, 2016 | ||||
|  */ | ||||
| public class SimpleXXE extends Assignment { | ||||
| public class SimpleXXE extends AssignmentEndpoint { | ||||
|  | ||||
|     private final static String[] DEFAULT_LINUX_DIRECTORIES = {"usr", "opt", "var"}; | ||||
|     private final static String[] DEFAULT_WINDOWS_DIRECTORIES = {"Windows", "Program Files (x86)", "Program Files"}; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user