Outcommented lines in XSS Lessons 3 that were causing erros
This commit is contained in:
parent
63502d6328
commit
cfce7763f0
@ -37,8 +37,8 @@ public class CrossSiteScriptingLesson3 extends AssignmentEndpoint {
|
|||||||
|
|
||||||
//check html string for regex
|
//check html string for regex
|
||||||
//check for c:out && escapeXml="true" && !request.getParameter
|
//check for c:out && escapeXml="true" && !request.getParameter
|
||||||
Document doc = Jsoup.parse(editor);
|
//Document doc = Jsoup.parse(editor);
|
||||||
Element e = doc.getElementById();
|
//Element e = doc.getElementById();
|
||||||
|
|
||||||
System.out.println(editor);
|
System.out.println(editor);
|
||||||
if (editor.contains("c:out") && editor.contains("escapeXml=\"true\"") && editor.contains("value=\"${last_name}\"") && editor.contains("value=\"${first_name}\"")) {
|
if (editor.contains("c:out") && editor.contains("escapeXml=\"true\"") && editor.contains("value=\"${last_name}\"") && editor.contains("value=\"${first_name}\"")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user