Skip to content

Commit b2a6f25

Browse files
author
rot0x1a
committed
DOMXSS lesson now advances to stage 4 if doStage3 goes into it's second acceptable solution block.
1 parent b835711 commit b2a6f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/owasp/webgoat/lessons/DOMXSS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected Element doStage3(WebSession s) throws Exception
9999
&& attackString.toString().toLowerCase().indexOf("onload") != -1
100100
&& attackString.toString().toLowerCase().indexOf("alert") != -1)
101101
{
102-
getLessonTracker(s).setStage(3);
102+
getLessonTracker(s).setStage(4);
103103
s.setMessage("Stage 3 completed. ");
104104
}
105105
else

0 commit comments

Comments
 (0)