Skip to content

Commit f399105

Browse files
committed
Merge pull request #38 from rot0x1a/DOMXSS-doStage3-fix
DOMXSS lesson now advances to stage 4 if doStage3 goes into it's second ...
2 parents 7979b29 + b2a6f25 commit f399105

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)