V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ivmm
V2EX  ›  问与答

这段代码是什么加密的?

  •  
  •   ivmm · 2015-08-19 20:08:23 +08:00 · 3147 次点击
    这是一个创建于 3389 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 iplaysfot 的书签解禁一直在用,这次看下代码,结果表示看不懂
    javascript:(function ()%7Bvar%20_0x320a%3D%5B%22%5Cx62%5Cx6F%5Cx64%5Cx79%22%2C%22%5Cx6F%5Cx6E%5Cx73%5Cx65%5Cx6C%5Cx65%5Cx63%5Cx74%5Cx73%5Cx74%5Cx61%5Cx72%5Cx74%22%2C%22%5Cx6F%5Cx6E%5Cx63%5Cx6F%5Cx70%5Cx79%22%2C%22%5Cx6F%5Cx6E%5Cx70%5Cx61%5Cx73%5Cx74%5Cx65%22%2C%22%5Cx6F%5Cx6E%5Cx6B%5Cx65%5Cx79%5Cx64%5Cx6F%5Cx77%5Cx6E%22%2C%22%5Cx6F%5Cx6E%5Cx63%5Cx6F%5Cx6E%5Cx74%5Cx65%5Cx78%5Cx74%5Cx6D%5Cx65%5Cx6E%5Cx75%22%2C%22%5Cx6F%5Cx6E%5Cx6D%5Cx6F%5Cx75%5Cx73%5Cx65%5Cx6D%5Cx6F%5Cx76%5Cx65%22%2C%22%5Cx6F%5Cx6E%5Cx64%5Cx72%5Cx61%5Cx67%5Cx73%5Cx74%5Cx61%5Cx72%5Cx74%22%2C%22%5Cx6F%5Cx6E%5Cx6D%5Cx6F%5Cx75%5Cx73%5Cx65%5Cx64%5Cx6F%5Cx77%5Cx6E%22%2C%22%5Cx77%5Cx72%5Cx61%5Cx70%5Cx70%5Cx65%5Cx64%5Cx4A%5Cx53%5Cx4F%5Cx62%5Cx6A%5Cx65%5Cx63%5Cx74%22%2C%22%5Cx2A%22%2C%22%5Cx67%5Cx65%5Cx74%5Cx45%5Cx6C%5Cx65%5Cx6D%5Cx65%5Cx6E%5Cx74%5Cx73%5Cx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320a%5B1%5D%5D%3Dbd%5B_0x320a%5B7%5D%5D%3Ddoc%5B_0x320a%5B1%5D%5D%3Ddoc%5B_0x320a%5B2%5D%5D%3Ddoc%5B_0x320a%5B3%5D%5D%3Ddoc%5B_0x320a%5B4%5D%5D%3Ddoc%5B_0x320a%5B5%5D%5D%3Dnull%3Bdoc%5B_0x320a%5B1%5D%5D%3Ddoc%5B_0x320a%5B5%5D%5D%3Ddoc%5B_0x320a%5B8%5D%5D%3Ddoc%5B_0x320a%5B4%5D%5D%3Dfunction%20 ()%7Breturn%20true%3B%7D%20%3Bwith (document%5B_0x320a%5B9%5D%5D%7C%7Cdocument )%7Bonmouseup%3Dnull%3Bonmousedown%3Dnull%3Boncontextmenu%3Dnull%3B%7D%20%3Bvar%20arAllElements%3Ddocument%5B_0x320a%5B11%5D%5D (_0x320a%5B10%5D )%3Bfor (var%20i%3DarAllElements%5B_0x320a%5B12%5D%5D-1%3Bi%3E%3D0%3Bi--)%7Bvar%20elmOne%3DarAllElements%5Bi%5D%3Bwith (elmOne%5B_0x320a%5B9%5D%5D%7C%7CelmOne )%7Bonmouseup%3Dnull%3Bonmousedown%3Dnull%3B%7D%20%3B%7D%20%3Balert (unescape (_0x320a%5B13%5D )%2B_0x320a%5B14%5D%2Bunescape (_0x320a%5B15%5D )%2B_0x320a%5B16%5D )%3Bbd%5B_0x320a%5B18%5D%5D%5B_0x320a%5B17%5D%5D%3D_0x320a%5B19%5D%3Bbd%5B_0x320a%5B18%5D%5D%5B_0x320a%5B20%5D%5D%3D_0x320a%5B21%5D%7D )()

    7 条回复    2015-08-19 20:45:50 +08:00
    v2kid
        1
    v2kid  
       2015-08-19 20:18:21 +08:00
    urlencode
    ivmm
        2
    ivmm  
    OP
       2015-08-19 20:19:32 +08:00
    @v2kid 解码以后是
    ```
    javascript:(function (){var _0x320a=["\x62\x6F\x64\x79","\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x6F\x6E\x63\x6F\x70\x79","\x6F\x6E\x70\x61\x73\x74\x65","\x6F\x6E\x6B\x65\x79\x64\x6F\x77\x6E","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x6F\x6E\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x6F\x6E\x64\x72\x61\x67\x73\x74\x61\x72\x74","\x6F\x6E\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x77\x72\x61\x70\x70\x65\x64\x4A\x53\x4F\x62\x6A\x65\x63\x74","\x2A","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x6C\x65\x6E\x67\x74\x68","\x25\x75\x35\x44\x46\x32\x25\x75\x38\x39\x45\x33\x25\x75\x39\x36\x36\x34\x25\x75\x35\x39\x30\x44\x25\x75\x35\x32\x33\x36\x25\x75\x34\x45\x30\x45\x25\x75\x35\x33\x46\x33\x25\x75\x39\x35\x32\x45\x25\x75\x39\x36\x35\x30\x25\x75\x35\x32\x33\x36\x25\x75\x46\x46\x30\x31","\x0D","\x25\x75\x36\x36\x46\x34\x25\x75\x35\x39\x31\x41\x25\x75\x37\x43\x42\x45\x25\x75\x35\x46\x36\x39\x25\x75\x35\x42\x39\x45\x25\x75\x37\x35\x32\x38\x25\x75\x35\x45\x39\x34\x25\x75\x37\x35\x32\x38\x25\x75\x46\x46\x30\x43\x25\x75\x38\x42\x46\x37\x25\x75\x35\x31\x37\x33\x25\x75\x36\x43\x45\x38\x25\x75\x33\x30\x30\x45\x25\x75\x35\x46\x30\x32\x25\x75\x36\x42\x32\x31\x25\x75\x35\x31\x34\x33\x25\x75\x38\x46\x36\x46\x25\x75\x34\x45\x46\x36\x25\x75\x34\x45\x31\x36\x25\x75\x37\x35\x34\x43\x25\x75\x33\x30\x30\x46","\x0D\x77\x77\x77\x2E\x69\x50\x6C\x61\x79\x53\x6F\x66\x74\x2E\x63\x6F\x6D","\x77\x65\x62\x6B\x69\x74\x55\x73\x65\x72\x53\x65\x6C\x65\x63\x74","\x73\x74\x79\x6C\x65","\x61\x75\x74\x6F\x21\x69\x6D\x70\x6F\x72\x74\x61\x6E\x74","\x4D\x6F\x7A\x55\x73\x65\x72\x53\x65\x6C\x65\x63\x74","\x6E\x6F\x72\x6D\x61\x6C\x21\x69\x6D\x70\x6F\x72\x74\x61\x6E\x74"];var doc=document;var bd=doc[_0x320a[0]];bd[_0x320a[1]]=bd[_0x320a[2]]=bd[_0x320a[3]]=bd[_0x320a[4]]=bd[_0x320a[5]]=bd[_0x320a[6]]=bd[_0x320a[1]]=bd[_0x320a[7]]=doc[_0x320a[1]]=doc[_0x320a[2]]=doc[_0x320a[3]]=doc[_0x320a[4]]=doc[_0x320a[5]]=null;doc[_0x320a[1]]=doc[_0x320a[5]]=doc[_0x320a[8]]=doc[_0x320a[4]]=function (){return true;} ;with (document[_0x320a[9]]||document ){onmouseup=null;onmousedown=null;oncontextmenu=null;} ;var arAllElements=document[_0x320a[11]] (_0x320a[10] );for (var i=arAllElements[_0x320a[12]]-1;i>=0;i--){var elmOne=arAllElements[i];with (elmOne[_0x320a[9]]||elmOne ){onmouseup=null;onmousedown=null;} ;} ;alert (unescape (_0x320a[13] ) _0x320a[14] unescape (_0x320a[15] ) _0x320a[16] );bd[_0x320a[18]][_0x320a[17]]=_0x320a[19];bd[_0x320a[18]][_0x320a[20]]=_0x320a[21]} )()```
    alect
        3
    alect  
       2015-08-19 20:24:35 +08:00
    接楼上,被二次加密了。。再次解密后为


    javascript:(function (){var _0x320a=["body","onselectstart","oncopy","onpaste","onkeydown","oncontextmenu","onmousemove","ondragstart","onmousedown","wrappedJSObject","*","getElementsByTagName","length","%u5DF2%u89E3%u9664%u590D%u5236%u4E0E%u53F3%u952E%u9650%u5236%uFF01","
    ","%u66F4%u591A%u7CBE%u5F69%u5B9E%u7528%u5E94%u7528%uFF0C%u8BF7%u5173%u6CE8%u300E%u5F02%u6B21%u5143%u8F6F%u4EF6%u4E16%u754C%u300F","
    www.iPlaySoft.com","webkitUserSelect","style","auto!important","MozUserSelect","normal!important"];var doc=document;var bd=doc[_0x320a[0]];bd[_0x320a[1]]=bd[_0x320a[2]]=bd[_0x320a[3]]=bd[_0x320a[4]]=bd[_0x320a[5]]=bd[_0x320a[6]]=bd[_0x320a[1]]=bd[_0x320a[7]]=doc[_0x320a[1]]=doc[_0x320a[2]]=doc[_0x320a[3]]=doc[_0x320a[4]]=doc[_0x320a[5]]=null;doc[_0x320a[1]]=doc[_0x320a[5]]=doc[_0x320a[8]]=doc[_0x320a[4]]=function (){return true;} ;with (document[_0x320a[9]]||document ){onmouseup=null;onmousedown=null;oncontextmenu=null;} ;var arAllElements=document[_0x320a[11]] (_0x320a[10] );for (var i=arAllElements[_0x320a[12]]-1;i>=0;i--){var elmOne=arAllElements[i];with (elmOne[_0x320a[9]]||elmOne ){onmouseup=null;onmousedown=null;} ;} ;alert (unescape (_0x320a[13] )+_0x320a[14]+unescape (_0x320a[15] )+_0x320a[16] );bd[_0x320a[18]][_0x320a[17]]=_0x320a[19];bd[_0x320a[18]][_0x320a[20]]=_0x320a[21]} )()
    ivmm
        4
    ivmm  
    OP
       2015-08-19 20:25:41 +08:00
    @alect 第二个加密是什么
    ivmm
        5
    ivmm  
    OP
       2015-08-19 20:26:40 +08:00
    @alect 感觉还有加密
    alect
        6
    alect  
       2015-08-19 20:44:15 +08:00
    %u5DF2%u89E3%u9664%u590D%u5236%u4E0E%u53F3%u952E%u9650%u5236%uFF01
    这些个字符去掉%U 还原为字节, unicode 再转为 GBK 就是汉字了
    第二个加密可以用 http://ddecode.com/hexdecoder/?results=d05496fe066ea262c0468f89747cd04c 解开,这个是页面可以看到解密后的结果了。此外还有加密,不过都是比较简单的了。
    alect
        7
    alect  
       2015-08-19 20:45:50 +08:00
    javascript:(function (){var _0x320a=["body","onselectstart","oncopy","onpaste","onkeydown","oncontextmenu","onmousemove","ondragstart","onmousedown","wrappedJSObject","*","getElementsByTagName","length","已解除复制与右键限制!","
    ","更多精彩实用应用,请关注『异次元软件世界』","
    www.iPlaySoft.com","webkitUserSelect","style","auto!important","MozUserSelect","normal!important"];var doc=document;var bd=doc[_0x320a[0]];bd[_0x320a[1]]=bd[_0x320a[2]]=bd[_0x320a[3]]=bd[_0x320a[4]]=bd[_0x320a[5]]=bd[_0x320a[6]]=bd[_0x320a[1]]=bd[_0x320a[7]]=doc[_0x320a[1]]=doc[_0x320a[2]]=doc[_0x320a[3]]=doc[_0x320a[4]]=doc[_0x320a[5]]=null;doc[_0x320a[1]]=doc[_0x320a[5]]=doc[_0x320a[8]]=doc[_0x320a[4]]=function (){return true;} ;with (document[_0x320a[9]]||document ){onmouseup=null;onmousedown=null;oncontextmenu=null;} ;var arAllElements=document[_0x320a[11]] (_0x320a[10] );for (var i=arAllElements[_0x320a[12]]-1;i>=0;i--){var elmOne=arAllElements[i];with (elmOne[_0x320a[9]]||elmOne ){onmouseup=null;onmousedown=null;} ;} ;alert (unescape (_0x320a[13] )+_0x320a[14]+unescape (_0x320a[15] )+_0x320a[16] );bd[_0x320a[18]][_0x320a[17]]=_0x320a[19];bd[_0x320a[18]][_0x320a[20]]=_0x320a[21]} )()
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5447 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:29 · PVG 17:29 · LAX 01:29 · JFK 04:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.