Renamed to sqlinjection
This commit is contained in:
		| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.lessons.Category; | ||||
| import org.owasp.webgoat.container.lessons.Lesson; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import lombok.extern.slf4j.Slf4j; | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,13 +20,13 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentHints; | ||||
| import org.owasp.webgoat.container.assignments.AttackResult; | ||||
| import org.owasp.webgoat.lessons.sql_injection.introduction.SqlInjectionLesson5a; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.introduction.SqlInjectionLesson5a; | ||||
| import org.springframework.web.bind.annotation.PostMapping; | ||||
| import org.springframework.web.bind.annotation.RequestParam; | ||||
| import org.springframework.web.bind.annotation.ResponseBody; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.advanced; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.advanced; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.container.assignments.AttackResult; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.lessons.Category; | ||||
| import org.owasp.webgoat.container.lessons.Lesson; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -21,7 +21,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Getter; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import lombok.extern.slf4j.Slf4j; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentHints; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import lombok.extern.slf4j.Slf4j; | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| @ -20,7 +20,7 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.lessons.Category; | ||||
| import org.owasp.webgoat.container.lessons.Lesson; | ||||
| @ -21,12 +21,12 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentHints; | ||||
| import org.owasp.webgoat.container.assignments.AttackResult; | ||||
| import org.owasp.webgoat.lessons.sql_injection.advanced.SqlInjectionLesson6a; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.advanced.SqlInjectionLesson6a; | ||||
| import org.springframework.web.bind.annotation.PostMapping; | ||||
| import org.springframework.web.bind.annotation.RequestParam; | ||||
| import org.springframework.web.bind.annotation.ResponseBody; | ||||
| @ -21,12 +21,12 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||
| import org.owasp.webgoat.container.assignments.AssignmentHints; | ||||
| import org.owasp.webgoat.container.assignments.AttackResult; | ||||
| import org.owasp.webgoat.lessons.sql_injection.advanced.SqlInjectionLesson6a; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.advanced.SqlInjectionLesson6a; | ||||
| import org.springframework.web.bind.annotation.PostMapping; | ||||
| import org.springframework.web.bind.annotation.RequestParam; | ||||
| import org.springframework.web.bind.annotation.ResponseBody; | ||||
| @ -5,12 +5,12 @@ | ||||
| 
 | ||||
| <!--Page 1--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_plan.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_plan.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!--Page 2--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content1.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content1.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -34,7 +34,7 @@ | ||||
| 
 | ||||
| <!--Page 3--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content2.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content2.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -58,7 +58,7 @@ | ||||
| 
 | ||||
| <!--Page 4--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content3.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content3.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -82,7 +82,7 @@ | ||||
| 
 | ||||
| <!--Page 5--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content4.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content4.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -106,7 +106,7 @@ | ||||
| 
 | ||||
| <!--Page 6--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content5_before.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content5_before.adoc"></div> | ||||
|     <div> | ||||
|         <label for="username-preview">Username:</label> | ||||
|         <input id="preview-input" type="text" name="username" val=""/> | ||||
| @ -123,22 +123,22 @@ | ||||
|             }); | ||||
|         </script> | ||||
|     </div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content5_after.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content5_after.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!--Page 7--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content6.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content6.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!--Page 8--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content7.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content7.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!--Page 9--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content11.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content11.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -183,7 +183,7 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content12.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content12.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -211,7 +211,7 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content8.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content8.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -239,7 +239,7 @@ | ||||
| 
 | ||||
| <!--Page 10--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content9.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content9.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -267,7 +267,7 @@ | ||||
| 
 | ||||
| <!--Page 11--> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_introduction_content10.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_introduction_content10.adoc"></div> | ||||
| 
 | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
| @ -5,17 +5,17 @@ | ||||
| 
 | ||||
| <!-- 1 --> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjectionAdvanced_plan.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjectionAdvanced_plan.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!-- 2 --> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content6.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content6.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <!-- 3 --> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content6a.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content6a.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -51,10 +51,10 @@ | ||||
| 
 | ||||
| <!-- 4 --> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content6c.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content6c.adoc"></div> | ||||
| </div> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_challenge.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_challenge.adoc"></div> | ||||
|     <link rel="stylesheet" type="text/css" th:href="@{/lesson_css/challenge.css}"/> | ||||
|     <script th:src="@{/lesson_js/challenge.js}" language="JavaScript"></script> | ||||
|     <div class="attack-container"> | ||||
| @ -162,7 +162,7 @@ | ||||
|     <link rel="stylesheet" type="text/css" th:href="@{/css/quiz.css}"/> | ||||
|     <script th:src="@{/js/quiz.js}" language="JavaScript"></script> | ||||
|     <link rel="import" type="application/json" th:href="@{/lesson_js/questions.json}"/> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_quiz.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_quiz.adoc"></div> | ||||
|         <div class="attack-container"> | ||||
|             <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|             <div class="container-fluid"> | ||||
| @ -4,23 +4,23 @@ | ||||
| <link rel="stylesheet" type="text/css" th:href="@{/lesson_css/assignments.css}"/> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content7.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content7.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content8.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content8.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content9.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content9.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content10.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content10.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_jdbc_completion.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_jdbc_completion.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" method="POST" name="form" action="/WebGoat/SqlInjectionMitigations/attack10a"> | ||||
| @ -40,7 +40,7 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_jdbc_newcode.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_jdbc_newcode.adoc"></div> | ||||
|     <div class="attack-container" style="border: none !important; height: 100%; min-height: 300px;"> | ||||
|         <form id="codesubmit" style="height: 100%; min-height: 300px;" class="attack-form" accept-charset="UNKNOWN" method="POST" name="form" action="/WebGoat/SqlInjectionMitigations/attack10b"> | ||||
|             <div> | ||||
| @ -60,14 +60,14 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content11.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content11.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content12.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content12.adoc"></div> | ||||
| </div> | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content12a.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content12a.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -90,7 +90,7 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content12b.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content12b.adoc"></div> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
|         <form class="attack-form" accept-charset="UNKNOWN" | ||||
| @ -114,11 +114,11 @@ | ||||
| 
 | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content13.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content13.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_order_by.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_order_by.adoc"></div> | ||||
|     <script th:src="@{/lesson_js/assignment13.js}" language="JavaScript"></script> | ||||
|     <div class="attack-container"> | ||||
|         <div class="assignment-success"><i class="fa fa-2 fa-check hidden" aria-hidden="true"></i></div> | ||||
| @ -191,7 +191,7 @@ | ||||
| </div> | ||||
| 
 | ||||
| <div class="lesson-page-wrapper"> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sql_injection/documentation/SqlInjection_content14.adoc"></div> | ||||
|     <div class="adoc-content" th:replace="doc:lessons/sqlinjection/documentation/SqlInjection_content14.adoc"></div> | ||||
| </div> | ||||
| 
 | ||||
| </html> | ||||
| @ -20,11 +20,11 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection; | ||||
| package org.owasp.webgoat.lessons.sqlinjection; | ||||
| 
 | ||||
| import org.junit.jupiter.api.BeforeEach; | ||||
| import org.owasp.webgoat.container.plugins.LessonTest; | ||||
| import org.owasp.webgoat.lessons.sql_injection.introduction.SqlInjection; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.introduction.SqlInjection; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.test.web.servlet.setup.MockMvcBuilders; | ||||
| 
 | ||||
| @ -20,11 +20,11 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -20,12 +20,12 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.hamcrest.CoreMatchers; | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -20,14 +20,14 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.hamcrest.CoreMatchers; | ||||
| import org.junit.jupiter.api.AfterEach; | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.container.LessonDataSource; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| @ -20,12 +20,12 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Disabled; | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -20,10 +20,10 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| import static org.hamcrest.Matchers.containsString; | ||||
| @ -20,11 +20,11 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -20,11 +20,11 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -20,11 +20,11 @@ | ||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||
|  */ | ||||
| 
 | ||||
| package org.owasp.webgoat.lessons.sql_injection.introduction; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.introduction; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -1,8 +1,8 @@ | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -1,8 +1,8 @@ | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
| @ -1,8 +1,8 @@ | ||||
| package org.owasp.webgoat.lessons.sql_injection.mitigation; | ||||
| package org.owasp.webgoat.lessons.sqlinjection.mitigation; | ||||
| 
 | ||||
| import org.junit.jupiter.api.Test; | ||||
| import org.junit.jupiter.api.extension.ExtendWith; | ||||
| import org.owasp.webgoat.lessons.sql_injection.SqlLessonTest; | ||||
| import org.owasp.webgoat.lessons.sqlinjection.SqlLessonTest; | ||||
| import org.springframework.test.context.junit.jupiter.SpringExtension; | ||||
| import org.springframework.test.web.servlet.request.MockMvcRequestBuilders; | ||||
| 
 | ||||
		Reference in New Issue
	
	Block a user