如何编写这样的脚本?

时间:2020-01-24 17:46:48

标签: hex decode

你好,我正在互联网上冲浪,问自己如何人们可以编写或阅读这种代码? 我的意思是这些代码是原始的。以及如何解码它们。

    var
    _0xb157=[_0x5cb4[0],_0x5cb4[1],_0x5cb4[2],_0x5cb4[3],_0x5cb4[4],_0x5cb4[5],_0x5cb4[6],_0x5cb4[7],
_0x5cb4[8],_0x5cb4[9],_0x5cb4[10],_0x5cb4[11],_0x5cb4[12],_0x5cb4[13],_0x5cb4[14],_0x5cb4[15],_0x5cb4[16],_0x5cb4[17],_0x5cb4[18],_0x5cb4[19],_0x5cb4[20],_0x5cb4[21],_0x5cb4[22],_0x5cb4[23],_0x5cb4[24],_0x5cb4[25],_0x5cb4[26],_0x5cb4[27],_0x5cb4[28],_0x5cb4[29],_0x5cb4[30],_0x5cb4[31],_0x5cb4[32],_0x5cb4[33],_0x5cb4[34],_0x5cb4[35],_0x5cb4[36],_0x5cb4[37]];(function(_0xba39x2,_0xba39x3){var _0xba39x4=function(_0xba39x5){while(--_0xba39x5){_0xba39x2[_0x5cb4[39]](_0xba39x2[_0x5cb4[38]]())}};_0xba39x4(++_0xba39x3)}(_0xb157,0x14b));var _0x5aae=function(_0xba39x7,_0xba39x8){_0xba39x7= _0xba39x7- 0x0;var _0xba39x9=_0xb157[_0xba39x7];return _0xba39x9};var _0xd595=[_0x5cb4[40],_0x5cb4[41],_0x5aae(_0x5cb4[15]),_0x5aae(_0x5cb4[16]),_0x5aae(_0x5cb4[17]),_0x5aae(_0x5cb4[42]),_0x5aae(_0x5cb4[43]),_0x5cb4[44],_0x5aae(_0x5cb4[18]),_0x5cb4[45],_0x5aae(_0x5cb4[20]),_0x5aae(_0x5cb4[21]),_0x5aae(_0x5cb4[23]),_0x5cb4[46],_0x5aae(_0x5cb4[47]),_0x5aae(_0x5cb4[22]),_0x5cb4[38],_0x5cb4[39],_0x5aae(_0x5cb4[24]),_0x5aae(_0x5cb4[25]),_0x5aae(_0x5cb4[48]),_0x5cb4[49],_0x5aae(_0x5cb4[26]),_0x5aae(_0x5cb4[50]),_0x5cb4[51],_0x5aae(_0x5cb4[52]),_0x5aae(_0x5cb4[53]),_0x5aae(_0x5cb4[54]),_0x5aae(_0x5cb4[55]),_0x5aae(_0x5cb4[56]),_0x5aae(_0x5cb4[57]),_0x5cb4[58],_0x5aae(_0x5cb4[59]),_0x5cb4[60],_0x5aae(_0x5cb4[61]),_0x5aae(_0x5cb4[62]),_0x5aae(_0x5cb4[63]),_0x5aae(_0x5cb4[64]),_0x5aae(_0x5cb4[65]),_0x5aae(_0x5cb4[66]),_0x5cb4[42],_0x5cb4[43],_0x5aae(_0x5cb4[67]),_0x5aae(_0x5cb4[68]),_0x5aae(_0x5cb4[69]),_0x5aae(_0x5cb4[70]),_0x5aae(_0x5cb4[71]),_0x5cb4[47],_0x5aae(_0x5cb4[72]),_0x5aae(_0x5cb4[73]),_0x5cb4[48],_0x5aae(_0x5cb4[74]),_0x5aae(_0x5cb4[75])];_0xd595[0x0];var _0x3392=[_0xd595[0x1],_0xd595[0x2],_0xd595[0x3],_0xd595[0x4],_0xd595[0x5],_0xd595[0x6],_0xd595[0x7],_0xd595[0x8],_0xd595[0x9],_0xd595[0xa],_0xd595[0xb],_0xd595[0xc],_0xd595[0xd],_0xd595[0xe],_0xd595[0xf]];(function(_0xba39xc,_0xba39xd){var _0xba39xe=function(_0xba39xf){for(;--_0xba39xf;){_0xba39xc[_0xd595[0x11]](_0xba39xc[_0xd595[0x10]]())}};_0xba39xe(++_0xba39xd)}(_0x3392,0x65));var _0xda70=function(_0xba39x11,_0xba39x12){_0xba39x11= _0xba39x11- 0x0;var _0xba39x13=_0x3392[_0xba39x11];if(_0xda70[_0xd595[0x12]]=== undefined){(function(){var _0xba39x14=function(){var _0xba39x15;try{_0xba39x15= Function(_0xd595[0x13]+ _0xd595[0x14]+ _0xd595[0x15])()}catch(_0x19e6a2){_0xba39x15= window};return _0xba39x15};var _0xba39x16=_0xba39x14();var _0xba39x17=_0xd595[0x16];if(!_0xba39x16[_0xd595[0x17]]){_0xba39x16[_0xd595[0x17]]= function(_0xba39x18){var _0xba39x19=String(_0xba39x18)[_0xd595[0x19]](/=+$/,_0xd595[0x18]);var _0xba39x1a=0x0;var _0xba39x1b;var _0xba39x1c;var _0xba39x1d=0x0;var _0xba39x1e=_0xd595[0x18];for(;_0xba39x1c= _0xba39x19[_0xd595[0x1a]](_0xba39x1d++);~_0xba39x1c&& (_0xba39x1b= _0xba39x1a% 0x4?_0xba39x1b* 0x40+ _0xba39x1c:_0xba39x1c,_0xba39x1a++ % 0x4)?_0xba39x1e= _0xba39x1e+ String[_0xd595[0x1b]](0xff& _0xba39x1b>> (-0x2* _0xba39x1a & 0x6)):0x0){_0xba39x1c= _0xba39x17[_0xd595[0x1c]](_0xba39x1c)};return _0xba39x1e}}}());_0xda70[_0xd595[0x1d]]= function(_0xba39x1f){var _0xba39x20=atob(_0xba39x1f);var _0xba39x21=[];var _0xba39x22=0x0;var _0xba39x23=_0xba39x20[_0xd595[0x1e]];for(;_0xba39x22< _0xba39x23;_0xba39x22++){_0xba39x21= _0xba39x21+ (_0xd595[0x1f]+ (_0xd595[0x21]+ _0xba39x20[_0xd595[0x23]](_0xba39x22)[_0xd595[0x22]](0x10))[_0xd595[0x20]](-0x2))};return decodeURIComponent(_0xba39x21)};_0xda70[_0xd595[0x24]]= {};_0xda70[_0xd595[0x12]]=  !![]};var _0xba39x24=_0xda70[_0xd595[0x24]][_0xba39x11];if(_0xba39x24=== undefined){_0xba39x13= _0xda70[_0xd595[0x1d]](_0xba39x13);_0xda70[_0xd595[0x24]][_0xba39x11]= _0xba39x13}else {_0xba39x13= _0xba39x24};return _0xba39x13};alert(_0xda70(_0xd595[0x25]));var _0x12f120=setInterval(function(){var _0xba39x26={'\x52\x43\x76\x52\x46':_0xda70(_0xd595[0x26]),'\x47\x61\x4E\x4D\x4E':_0xda70(_0xd595[0x27]),'\x50\x78\x54\x78\x49':_0xda70(_0xd595[0x28]),'\x54\x42\x56\x6D\x6B':_0xda70(_0xd595[0x29]),'\x4E\x68\x6D\x58\x47':function(_0xba39x27,_0xba39x28){return _0xba39x27> _0xba39x28},'\x4A\x58\x65\x41\x71':function(_0xba39x29,_0xba39x2a){return _0xba39x29(_0xba39x2a)}};{var _0xba39x2b=document[_0xd595[0x2b]](_0xba39x26[_0xda70(_0xd595[0x2a])]);_0xba39x2b[0x1][_0xda70(_0xd595[0x2c])]= _0xba39x26[_0xda70(_0xd595[0x2d])];document[_0xda70(_0xd595[0x30])](_0xba39x26[_0xda70(_0xd595[0x2f])])[0x0][_0xda70(_0xd595[0x2e])]= _0xba39x26[_0xda70(_0xd595[0x31])]}var _0xba39x2c=document[_0xda70(_0xd595[0x30])](_0xba39x26[_0xda70(_0xd595[0x2f])]);if(_0xba39x26[_0xda70(_0xd595[0x33])](_0xba39x2c[_0xda70(_0xd595[0x32])],0x0)){_0xba39x26[_0xda70(_0xd595[0x34])](clearInterval,_0x12f120)}},0xa)

0 个答案:

没有答案