XSS弹窗

作者: 陈望_ning | 来源:发表于2019-05-27 18:06 被阅读0次

1.xss的过滤方式

image

2.xss的各类事件的用法

image image image

iframe事件

image
将javascript的字符a转换为html的转义(10进制形式)
image
将javascript全部转换为html的转义(10进制形式)
image
data:text/html事件的使用(base64编码)

  ![image](https://img.haomeiwen.com/i15439302/bdcf80254a193c2b.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](https://img.haomeiwen.com/i15439302/6137f160bf2f7de9.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
image

data:text/html事件能够弹出xss的方法

image
用src链接弹窗的方式
image image
html5中的实体编码

    &NewLine和&colon是html5新的实体编码,表示换行和冒号。
image

3.xss的变形方法

image
   ![image](https://img.haomeiwen.com/i15439302/b570520edcf024d8.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
image

autofocus弹窗

image

onfocus弹窗

image

圆括号过滤

image image image

img标签逃逸绕过

image image

style标签的使用

image

comment标签的使用

image

4.xss编码的转换绕过

image image

用字符转换10进制ascii的方式

image
    用url编码转换&#,以便url上使用
image image

String.fromCharCode的使用

image

字符转16进制

image

5.xss的修复和防御

image image

6.xss的搭建平台

image

相关文章

  • XSS弹窗

    1.xss的过滤方式 2.xss的各类事件的用法 iframe事件 data:text/html事件能够弹出xss...

  • 某网站写日记的标题处存在XSS

    某网站写日记的标题处存在XSS 在标题处插入XSS代码: alert(1) 点击预览,即可看到弹窗: 在标题处引入...

  • 只能够弹窗的xss

    由于存在XSS的地方有字数限制,不能引入远程JS文件,因此只能实现弹窗。 某周刊网 注册会员时存在XSS 在姓名出...

  • 与Web相关的 JavaScript 函数

    1、在页面中弹窗显示字符 image.png 2、网页跳转 3、页面cookie值 4、xss 获取cookie ...

  • XSS攻击的原理及剖析

    0×01 前言: alert('xss') 前面加个">来闭合input标签。所以应该得到的结果为 成功弹窗了,我...

  • weBug 4.0 第10关 存储型xss

    先找输入点,直接滑到最下面,有一个留言。直接测试 alert(/xss/) 。提交后弹窗。依旧构造 alert(d...

  • 跨站攻击脚本-XSS

    XSS: Cross Site Scripting XSS 概念 XSS 分类 反射型xss攻击图示 XSS 攻击...

  • XSS payload.

    alert('XSS') alert("XSS") alert('XSS') alert("XSS") S...

  • test

    alert('xss')alert('xss') alert('xss')

  • Django中xss和静态文件的引用(十二)

    一、xss(跨域脚本攻击)的基本介绍 1、xss分类: 反射型xss 存储型xss 2、xss的概念 XSS攻击全...

网友评论

      本文标题:XSS弹窗

      本文链接:https://www.haomeiwen.com/subject/viahtctx.html