Skip to content

Commit 2d4d705

Browse files
committed
Added explanation
1 parent 84d81d4 commit 2d4d705

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xss/src/main/webapp/index.jsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<body>
99
<h1>Cross-Site Scripting (XSS)</h1>
1010

11+
<p>Use &lt;script&gt;alert(document.cookie)&lt;/script&gt; as input to simulate a Cross-Site Scripting attack.</p>
12+
1113
<form action="unprotected" id="unprotectedForm" method="post">
1214
<fieldset>
1315
<legend>Unprotected</legend>

0 commit comments

Comments
 (0)