版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hxxjxw/article/details/85054699
xss.php
能实现一个简单弹窗
<html> <head> xss test</head> <body> <script> alert("xss")</script> <meta http-equiv="refresh" content="0;"> <ifframe src=http://www.baidu.com width=0 height=0></ifframe> </body> </html>
php需要以服务器端脚本方式运行
将xss.php放到wampserver的www目录下,然后直接localhost/xss.php即可运行
运行结果