这个js代码如何加密的?

3131975015
  • 411

这个网站弄的 https://www.jsjiami.com/sojso...
console.log(111)被加密成了下面的内容 照样可以运行 这个是怎么做的?能不能破解?

`
;var encode_version = '', cwywu = '__0xcd7bf', __0xcd7bf=['54up5p2I5Y24772Rw4tU5L2T5a6+5p6s5b+i56qo772L6L+C6KyP5pa65o+P5oie5LmT55i25baq5LyT','QCXCiyhhS2VQw40=','amJ4NMOH','5YuI6Zqu54uT5pyK5Y+w77+IBMKT5Lyc5a625p+K5b6m56iv','wqgbYw==','woLCocKs'];(function(_0x5f2f5a,_0x27dd9a){var _0x5206e0=function(_0x3ecfa3){while(--_0x3ecfa3){_0x5f2f5a'push');}};_0x5206e0(++_0x27dd9a);}(__0xcd7bf,0x178));var _0x5a74=function(_0x2c3d27,_0x4f831b){_0x2c3d27=_0x2c3d27-0x0;var _0xe6474b=__0xcd7bf[_0x2c3d27];if(_0x5a74['initialized']===undefined){(function(){var _0x2a8157=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x57cf25='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x2a8157['atob']||(_0x2a8157['atob']=function(_0x26d1f5){var _0x1c17f8=String(_0x26d1f5)'replace';for(var _0x5c03d3=0x0,_0xd7ed75,_0x2e5773,_0x58cad3=0x0,_0x38b56d='';_0x2e5773=_0x1c17f8'charAt';~_0x2e5773&&(_0xd7ed75=_0x5c03d3%0x4?_0xd7ed75*0x40+_0x2e5773:_0x2e5773,_0x5c03d3++%0x4)?_0x38b56d+=String'fromCharCode'):0x0){_0x2e5773=_0x57cf25'indexOf';}return _0x38b56d;});}());var _0x46622e=function(_0x5e6e14,_0x5b4edf){var _0x317bba=[],_0x11d858=0x0,_0x1eca7d,_0x5b541a='',_0x391401='';_0x5e6e14=atob(_0x5e6e14);for(var _0x44464e=0x0,_0x1ac39f=_0x5e6e14['length'];_0x44464e<_0x1ac39f;_0x44464e++){_0x391401+='%'+('00'+_0x5e6e14'charCodeAt''toString')'slice';}_0x5e6e14=decodeURIComponent(_0x391401);for(var _0x127e80=0x0;_0x127e80<0x100;_0x127e80++){_0x317bba[_0x127e80]=_0x127e80;}for(_0x127e80=0x0;_0x127e80<0x100;_0x127e80++){_0x11d858=(_0x11d858+_0x317bba[_0x127e80]+_0x5b4edf'charCodeAt')%0x100;_0x1eca7d=_0x317bba[_0x127e80];_0x317bba[_0x127e80]=_0x317bba[_0x11d858];_0x317bba[_0x11d858]=_0x1eca7d;}_0x127e80=0x0;_0x11d858=0x0;for(var _0x1e124c=0x0;_0x1e124c<_0x5e6e14['length'];_0x1e124c++){_0x127e80=(_0x127e80+0x1)%0x100;_0x11d858=(_0x11d858+_0x317bba[_0x127e80])%0x100;_0x1eca7d=_0x317bba[_0x127e80];_0x317bba[_0x127e80]=_0x317bba[_0x11d858];_0x317bba[_0x11d858]=_0x1eca7d;_0x5b541a+=String'fromCharCode'^_0x317bba[(_0x317bba[_0x127e80]+_0x317bba[_0x11d858])%0x100]);}return _0x5b541a;};_0x5a74['rc4']=_0x46622e;_0x5a74['data']={};_0x5a74['initialized']=!![];}var _0x2e425c=_0x5a74'data';if(_0x2e425c===undefined){if(_0x5a74['once']===undefined){_0x5a74['once']=!![];}_0xe6474b=_0x5a74'rc4';_0x5a74'data'=_0xe6474b;}else{_0xe6474b=_0x2e425c;}return _0xe6474b;};console_0x5a74('0x0','fFfh');(function(_0xe31fcc,_0x291526,_0x382040){var _0x41078c={'eTZIf':_0x5a74('0x1','&h8&'),'WcqTE':function _0x2197d2(_0x578447,_0x527126){return _0x578447===_0x527126;},'Npjph':'jsjiami.com.v5','XmMik':_0x5a74('0x2','nZw1')};_0x382040='al';try{_0x382040+=_0x41078c['eTZIf'];_0x291526=encode_version;if(!(typeof _0x291526!==_0x5a74('0x3','unW6')&&_0x41078c_0x5a74('0x4','QZ8c'))){_0xe31fcc_0x382040;}}catch(_0x180276){_0xe31fcc_0x382040);}}(window));;encode_version = '';
`

回复
阅读 598
2 个回答
✓ 已被采纳

网上搜索一下,看上去还有有的。

image.png

image.png


image.png

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏