V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
me15000
V2EX  ›  程序员

有人知道这个是什么混淆算法么?市面上的混淆还原不了了,没有什么思路

  •  
  •   me15000 · 69 天前 via Android · 2596 次点击
    这是一个创建于 69 天前的主题,其中的信息可能已经有所发展或是发生改变。

    想过,代码可以在控制台中运行起来,但是怎么获得到运行后的代码?

    #代码如下

    
    
    function a0d(a,b){var c=a0c();return a0d=function(d,e){d=d-0x1af;var f=c[d];if(a0d['cUxTYb']===undefined){var g=function(l){var m='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var n='',o='',p=n+g;for(var q=0x0,r,s,t=0x0;s=l['charAt'](t++);~s&&(r=q%0x4?r*0x40+s:s,q++%0x4)?n+=p['charCodeAt'](t+0xa)-0xa!==0x0?String['fromCharCode'](0xff&r>>(-0x2*q&0x6)):q:0x0){s=m['indexOf'](s);}for(var u=0x0,v=n['length'];u<v;u++){o+='%'+('00'+n['charCodeAt'](u)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(o);};a0d['BVvEXo']=g,a=arguments,a0d['cUxTYb']=!![];}var h=c[0x0],i=d+h,j=a[i];if(!j){var k=function(l){this['hzTLQj']=l,this['DGmIMw']=[0x1,0x0,0x0],this['yKbGXr']=function(){return'newState';},this['hKKLjE']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['aofYtb']='[\x27|\x22].+[\x27|\x22];?\x20*}';};k['prototype']['eNmZjb']=function(){var l=new RegExp(this['hKKLjE']+this['aofYtb']),m=l['test'](this['yKbGXr']['toString']())?--this['DGmIMw'][0x1]:--this['DGmIMw'][0x0];return this['LNRNXn'](m);},k['prototype']['LNRNXn']=function(l){if(!Boolean(~l))return l;return this['FFrdHp'](this['hzTLQj']);},k['prototype']['FFrdHp']=function(l){for(var m=0x0,n=this['DGmIMw']['length'];m<n;m++){this['DGmIMw']['push'](Math['round'](Math['random']())),n=this['DGmIMw']['length'];}return l(this['DGmIMw'][0x0]);},new k(a0d)['eNmZjb'](),f=a0d['BVvEXo'](f),a[i]=f;}else f=j;return f;},a0d(a,b);}(function(a,b){var ab=a0d,c=a();while(!![]){try{var d=-parseInt(ab(0x265))/0x1*(-parseInt(ab(0x1c2))/0x2)+parseInt(ab(0x1b5))/0x3*(-parseInt(ab(0x1db))/0x4)+-parseInt(ab(0x201))/0x5*(-parseInt(ab(0x1b9))/0x6)+-parseInt(ab(0x1b8))/0x7*(-parseInt(ab(0x1b3))/0x8)+-parseInt(ab(0x21e))/0x9+-parseInt(ab(0x1c3))/0xa+parseInt(ab(0x235))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x86a57),!(function(){var aD=a0d,a=(function(){var d=!![];return function(f,g){var h=d?function(){var ac=a0d;if(g){var i=g[ac(0x1d7)](f,arguments);return g=null,i;}}:function(){};return d=![],h;};}()),c=function(){var d=a(this,function(){var ad=a0d;return d[ad(0x1c9)]()[ad(0x1d8)](ad(0x285))[ad(0x1c9)]()[ad(0x1f2)](d)[ad(0x1d8)](ad(0x285));});return d(),((()=>{var ae=a0d,f=Object[ae(0x21d)](global)||global;f[ae(0x1af)]=f[ae(0x1af)]||{0x371:ae(0x247),0x15f8:ae(0x25f),0x1fe0:ae(0x280),0x15ed:ae(0x23a),0x9a4:ae(0x1c4),0x88:ae(0x1e0),0xc43:ae(0x1d9),0x2384:ae(0x22b),0x848:ae(0x23b),0x159:ae(0x230),0x1ff7:ae(0x21f),0x1602:ae(0x255),0xe84:ae(0x241),0x798:ae(0x261),0x1a2c:ae(0x258),0x13ec:ae(0x1bc),0xd2f:ae(0x242),0xcf2:ae(0x1da),0x1f46:ae(0x221),0x87c:ae(0x21b),0xb2a:ae(0x1f4),0x2255:ae(0x210),0x610:ae(0x25b),0x11a7:ae(0x281),0x3ae:ae(0x249),0x755:ae(0x203),0x1c75:ae(0x263),0x195e:ae(0x1d5),0x4ae:ae(0x1dd),0xa86:ae(0x1b1),0x1c5a:ae(0x245),0x10b:ae(0x22e),0x1ff6:ae(0x1ca),0xb22:ae(0x1e8),0x23c8:ae(0x1e6),0x227f:ae(0x216),0x1dd2:ae(0x274),0x2466:ae(0x233),0xa9a:ae(0x243),0x211b:ae(0x1bb),0xf8b:ae(0x23f),0x1919:ae(0x287)};var g,h={0x1859:(l,m,n)=>{var af=ae;l[af(0x1be)]=function(q,v,w){'use strict';var ag=af;Object[ag(0x260)](v,ag(0x1e3),{'value':!0x0}),v[ag(0x213)]=void 0x0;var x=F(w(ag(0x264))),y=F(w(ag(0x202))),z=F(w(ag(0x222))),A=F(w(ag(0x1cd))),B=F(w(ag(0x282))),C=n(0x1a05),D=n(0x270e),E=F(n(0x1cdc));function F(K){var ah=ag;return K&&K[ah(0x1e3)]?K:{'default':K};}const G=Object[ag(0x21d)](n['g'])||n['g'],H=[{'appName':ag(0x1f5),'packageName':ag(0x1cf),'dp':ag(0x27c)},{'appName':ag(0x28a),'packageName':ag(0x204),'dp':ag(0x232)},{'appName':'浜笢','packageName':ag(0x1df),'dp':ag(0x254)},{'appName':ag(0x283),'packageName':ag(0x28b),'dp':ag(0x1c5)},{'appName':ag(0x1cb),'packageName':ag(0x24d),'dp':ag(0x217)},{'appName':'娣樺疂','packageName':ag(0x257),'dp':ag(0x1f0)},{'appName':'蹇墜','packageName':ag(0x1bf),'dp':ag(0x1fc)},{'appName':ag(0x236),'packageName':ag(0x1e7),'dp':ag(0x256)},{'appName':ag(0x238),'packageName':ag(0x250),'dp':ag(0x1cc)},{'appName':ag(0x1c1),'packageName':ag(0x1b4),'dp':ag(0x208)},{'appName':'鎶栭煶','packageName':ag(0x23e),'dp':ag(0x24b)},{'appName':ag(0x25a),'packageName':ag(0x218),'dp':ag(0x1fb)},{'appName':ag(0x23d),'packageName':ag(0x26b),'dp':ag(0x1f7)},{'appName':ag(0x209),'packageName':ag(0x1f8),'dp':ag(0x1e2)},{'appName':ag(0x1b6),'packageName':ag(0x207),'dp':ag(0x1ff)},{'appName':'寰楃墿','packageName':ag(0x206),'dp':ag(0x22c)}];v[ag(0x213)]={'private':{'backConfig':{},'backCount':0x0,'hasJump':!0x1,'taskUri':'','attrUri':'','hasEnter':!0x1},async 'onInit'(K){var ai=ag;try{this[ai(0x20c)][ai(0x240)](!0x0);}catch(U){}try{A[ai(0x213)][ai(0x225)]=!0x1;}catch(V){}setGlobalData(ai(0x279),0x1),setGlobalData(ai(0x284),ai(0x270));const {pid:L,ckCode:M}=K||{};$utils[ai(0x24a)](K),$utils[ai(0x234)](),(0x0,D[ai(0x1f9)])()[ai(0x24c)](W=>{var aj=ai;track({'eventType':aj(0x1d0),'errCode':W});}),track({'pageName':ai(0x1d2),'eventType':ai(0x248),'eventName':ai(0x271),'pid':L}),setGlobalData(ai(0x1e5),0x1);const N=await(0x0,C[ai(0x223)])();if(N[ai(0x1c8)]&&N[ai(0x1c8)][ai(0x1eb)]&&setGlobalData(ai(0x1eb),N[ai(0x1c8)][ai(0x1eb)]),N[ai(0x1c8)]&&N[ai(0x1c8)][ai(0x227)]){let W=!0x1;if((0x1===N[ai(0x1c8)][ai(0x227)]||0x4===N[ai(0x1c8)][ai(0x227)])&&M){for(let X in E[ai(0x213)])X===M&&0x1===E[ai(0x213)][X][ai(0x224)]&&(W=!0x0,setGlobalData(ai(0x251),E[ai(0x213)][X][ai(0x1fa)]),B[ai(0x213)][ai(0x1ed)]({'language':E[ai(0x213)][X]['la'],'countryOrRegion':''}));}if(!W&&(0x2===N[ai(0x1c8)][ai(0x227)]||0x3===N[ai(0x1c8)][ai(0x227)]||0x4===N[ai(0x1c8)][ai(0x227)])){const Y=0x3===N[ai(0x1c8)][ai(0x227)]?0x3:0x2,Z=[];for(let a0 in E[ai(0x213)])E[ai(0x213)][a0][ai(0x224)]===Y&&Z[ai(0x246)](E[ai(0x213)][a0]);if(Z[ai(0x1f6)]){const a1=Math[ai(0x1d1)](Math[ai(0x289)]()*Z[ai(0x1f6)]);setGlobalData(ai(0x251),Z[a1][ai(0x1fa)]),B[ai(0x213)][ai(0x1ed)]({'language':Z[a1]['la'],'countryOrRegion':''});}}}if(N[ai(0x1c8)]&&N[ai(0x1c8)][ai(0x27b)])try{this[ai(0x27b)]=JSON[ai(0x212)](N[ai(0x1c8)][ai(0x27b)]);}catch(a2){this[ai(0x27b)]={};}let O='';if(N[ai(0x228)])try{O=ai(0x22f)===N[ai(0x228)]?$manifest[ai(0x262)][ai(0x26d)]:N[ai(0x228)];}catch(a3){O='';}let P={};if(N[ai(0x1c8)]&&N[ai(0x1c8)][ai(0x23c)])try{P=JSON[ai(0x212)](N[ai(0x1c8)][ai(0x23c)]);}catch(a4){P={};}const {task:Q='',attr:R=''}=P;this[ai(0x26e)]=O||Q||ai(0x25e),this[ai(0x1d4)]=R||ai(0x27a);try{N[ai(0x1c8)][ai(0x1bd)]||(G[ai(0x26c)]=a5=>{var ak=ai;let a6=!0x1;try{a5[ak(0x211)]&&0x0!=a5[ak(0x211)][ak(0x244)](ak(0x27f))&&0x0!=a5[ak(0x211)][ak(0x244)](ak(0x267))&&0x0!=a5[ak(0x211)][ak(0x244)](ak(0x1d6))&&0x0!=a5[ak(0x211)][ak(0x244)](ak(0x1e4))&&-0x1!=a5[ak(0x211)][ak(0x244)](ak(0x20e))?(a6=!0x0,$utils[ak(0x277)]()[ak(0x24c)](a7=>{var al=ak;a7&&a7[al(0x252)]&&a7[al(0x252)]>=0x45d||!0x1?y[al(0x213)][al(0x246)](a5):w(al(0x278))[al(0x239)]({'url':a5[al(0x211)]});},()=>{var am=ak;y[am(0x213)][am(0x246)](a5);})):y[ak(0x213)][ak(0x246)](a5);}catch(a7){y[ak(0x213)][ak(0x246)](a5);}try{track({'eventName':ak(0x1ef),'eventType':a6?ak(0x200):ak(0x259),'detail':a5[ak(0x211)][ak(0x22a)](0x0,0x32)});}catch(a8){}});}catch(a5){}try{N[ai(0x1c8)][ai(0x1c6)]||(G[ai(0x1ce)]=a6=>{var an=ai;let a7=!0x1;try{const a8=H[an(0x20d)](a9=>a9[an(0x1ee)]==a6[an(0x214)]);a8?(a7=!0x0,$utils[an(0x277)]()[an(0x24c)](a9=>{var ao=an;a9&&a9[ao(0x252)]&&a9[ao(0x252)]>=0x45d||!0x1?x[ao(0x213)][ao(0x1fd)](a6):w(ao(0x278))[ao(0x239)]({'url':a8['dp']});},()=>{var ap=an;x[ap(0x213)][ap(0x1fd)](a6);})):x[an(0x213)][an(0x1fd)](a6);}catch(a9){x[an(0x213)][an(0x1fd)](a6);}try{track({'eventName':an(0x272),'eventType':a7?an(0x268):an(0x1d3),'detail':a6[an(0x214)]});}catch(aa){}});}catch(a6){}track({'pageName':ai(0x1d2),'eventType':ai(0x248),'eventName':ai(0x1dc),'pid':L,'clipboardStr':N[ai(0x276)]});try{N[ai(0x276)]&&z[ai(0x213)][ai(0x1ea)]({'text':N[ai(0x276)]});}catch(a7){}const S=getGlobalData(ai(0x269)),{canBack:T=0x0}=this[ai(0x27b)];S&&T?(this[ai(0x26a)]=!0x0,this[ai(0x215)]=!0x0,y[ai(0x213)][ai(0x246)]({'uri':this[ai(0x1d4)],'params':{'pagefrom':ai(0x1d2)}})):(this[ai(0x215)]=!0x0,y[ai(0x213)][ai(0x288)]({'uri':S?this[ai(0x1d4)]:this[ai(0x26e)],'params':{'pagefrom':ai(0x1d2)}}));},'onShow'(){var aq=ag;if(this[aq(0x26a)]){const {backNum:K=0x0}=this[aq(0x27b)];if(K&&K>0x0&&this[aq(0x1ba)]>=K)return void this[aq(0x275)][aq(0x1f1)]();this[aq(0x1ba)]++,y[aq(0x213)][aq(0x246)]({'uri':this[aq(0x1d4)],'params':{'pagefrom':aq(0x1d2),'repeat':!0x0,'backCount':this[aq(0x1ba)]}});}},'onReady'(){var ar=ag;this[ar(0x219)](ar(0x26f))&&this[ar(0x219)](ar(0x26f))[ar(0x21a)]({'screenOrientation':ar(0x266)});},'onDestroy'(){},'onBackPress':()=>!0x0,'pageClick'(){var as=ag;if(!this[as(0x215)])return;track({'eventType':as(0x205),'eventName':as(0x237)});const K=getGlobalData(as(0x269)),{canBack:L=0x0}=this[as(0x27b)];K&&L?(this[as(0x26a)]=!0x0,y[as(0x213)][as(0x246)]({'uri':this[as(0x1d4)],'params':{'pagefrom':as(0x1d2)}})):y[as(0x213)][as(0x288)]({'uri':K?this[as(0x1d4)]:this[as(0x26e)],'params':{'pagefrom':as(0x1d2)}});}};const I=v[ag(0x213)]||q[ag(0x1be)],J=[ag(0x20b),ag(0x273),ag(0x1c7)];if(I[ag(0x220)]&&J[ag(0x1e9)](function(K){return I[K];}))throw new Error(ag(0x24f)+J[ag(0x24e)](',')+ag(0x1c0));I[ag(0x220)]||(I[ag(0x220)]={},I[ag(0x20a)]={},J[ag(0x1fe)](function(K){var at=ag;const L=typeof I[K];if(at(0x231)===L){I[at(0x220)]=Object[at(0x1f3)](I[at(0x220)],I[K]);for(const M in I[K])I[at(0x20a)][M]={'access':K};}}));};},0x1e53:l=>{var au=ae;l[au(0x1be)]={'.redbox_page':{'width':au(0x286),'height':au(0x286)}};},0x2092:l=>{var av=ae;l[av(0x1be)]={'type':av(0x26f),'attr':{'id':av(0x26f)},'id':av(0x26f),'classList':[av(0x25c)],'events':{'click':av(0x1e1)}};},0x19d1:(l,m,q,u,v,w,x)=>{var aw=ae,y=q(0x1e53),z=q(0x1859);u(aw(0x253),[],function(A,B,C){var ax=aw;z(C,B,A),B[ax(0x1e3)]&&B[ax(0x213)]&&(C[ax(0x1be)]=B[ax(0x213)]),C[ax(0x1be)][ax(0x27e)]=q(0x2092),C[ax(0x1be)][ax(0x1b7)]=y;}),v(aw(0x253),{'packagerVersion':void 0x0});},0x9b0:()=>{}},i={};function j(l){var ay=ae,m=i[l];if(void 0x0!==m)return m[ay(0x1be)];var n=i[l]={'exports':{}};return h[l][ay(0x27d)](n[ay(0x1be)],n,n[ay(0x1be)],j,$app_define$,$app_bootstrap$,$app_require$,$app_define_wrap$),n[ay(0x1be)];}j['m']=h,g=[],j['O']=(m,q,u,v)=>{var az=ae;if(!q){var w=0x1/0x0;for(A=0x0;A<g[az(0x1f6)];A++){for(var [q,u,v]=g[A],x=!0x0,y=0x0;y<q[az(0x1f6)];y++)(!0x1&v||w>=v)&&Object[az(0x22d)](j['O'])[az(0x226)](B=>j['O'][B](q[y]))?q[az(0x25d)](y--,0x1):(x=!0x1,$app_evaluate$(''+f[az(0x1af)][q[y]]),v<w&&(w=v));if(x){g[az(0x25d)](A--,0x1);var z=u();void 0x0!==z&&(m=z);}}return m;}v=v||0x0;for(var A=g[az(0x1f6)];A>0x0&&g[A-0x1][0x2]>v;A--)g[A]=g[A-0x1];g[A]=[q,u,v];},j['g']=(function(){var aA=ae;if(aA(0x231)==typeof globalThis)return globalThis;try{return this||new Function(aA(0x21c))();}catch(l){if(aA(0x231)==typeof window)return window;}}()),j['o']=(l,m)=>Object[ae(0x20f)][ae(0x229)][ae(0x27d)](l,m),((()=>{var aC=ae,l={0x838:0x0};j['O']['j']=p=>0x0===l[p];var m=(q,u)=>{var aB=a0d,v,w,[x,y,z]=u,A=0x0;if(x[aB(0x1e9)](C=>0x0!==l[C])){for(v in y)j['o'](y,v)&&(j['m'][v]=y[v]);if(z)var B=z(j);}for(q&&q(u);A<x[aB(0x1f6)];A++)w=x[A],j['o'](l,w)&&l[w]&&l[w][0x0](),l[w]=0x0;return j['O'](B);},n=f[aC(0x1ec)]=f[aC(0x1ec)]||[];n[aC(0x1fe)](m[aC(0x1de)](null,0x0)),n[aC(0x246)]=m[aC(0x1de)](null,n[aC(0x246)][aC(0x1de)](n));})());var k=j['O'](void 0x0,[0x371,0x15f8,0x1fe0,0x15ed,0x9a4,0x88,0xc43,0x2384,0x848,0x159,0x1a2c,0x13ec,0xd2f,0xcf2,0x1f46,0x87c,0xb2a,0x2255,0x755,0xf8b,0x1919],()=>j(0x19d1));k=j['O'](k);})());};if(aD(0x1b0)==typeof window)return c();window[aD(0x1b2)]=c;}()));function a0c(){var aE=['y29TlNH1BM1LBMCUCgLUzhvVzhvV','z2v0x3nPBv9PBMzV','zMXVB3i','CMvKyM94','yxbWC3rVCMu','yxr0CLvYAq','y21WCY9LBs1WB3b1Cc13Aw5KB3CVAw5KzxGUANm','Ahr0CdOVlW','yxbWBhK','C2vHCMnO','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9OBwfJlMPZ','y21WCY9LBs1Yzxf1zxn0l2v4DgvUzc5QCW','mtK2nJyWmgTMzMjKsW','CMvKyM94x3n0yxj0','y21WCY9LBs1LEgL0lwj0BI9PBMrLEc5QCW','yMLUza','y29TlMPPBMDKB25NlMfWCc5TywXS','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9LBMmTyMfZzty0lMPZ','CgfNzunSAwnR','D2LYzwXLC3mXnJG4oI8VBweUBs4XnJG4lMnVBq','x19LC01VzhvSzq','AgfWoI8V','AgfZuMvWB3j0u3rHCNq','DxrPBhmVCMuTzgf0zs1MBNmUANm','y29TlNbOB2vUAxGUCMvHza','y21WCY9LBs1SB2fKAw5Nl2LUzgv4lMPZ','C29Tzq','C2v0','C3rHy2TnB2rL','D2vICgfJA0nODw5Ry29Tx2H1yxDLAv9XDwLJAW','C2v0tg9JywXL','CgfJA2fNzu5HBwu','EwjYAwrNzq','DgfVyMfVoI8VDgfVyMfVlMnVBs8','zxHPDa','y29UC3rYDwn0B3i','yxnZAwDU','DxrPBhmVC3rVCMuUANm','5OU85AsA5AsA','BgvUz3rO','C25ZC2rRnJu4otOVlW','y29TlMfSAwjHyMeUD2LYzwXLC3m','z2v0u2LTsw5MBW','BMfTzq','C25ZC2rRmZi6lY8','A3DHAtOVl215ChjVzMLSzq','Aw5ZDgfSBa','zM9YrwfJAa','C25ZC2rRmZa0mdOVlW','zgvLCgXPBMS','nw5vsLntAW','qgfWCc1TB2r1BguVC3LZDgvTlNjVDxrLCG','C2vYDMLJzxmVywrdB25MugX1CY5QCW','y29TlNnZlMfUzhjVAwqUyxj0AwnSzs5UzxDZ','CMvKyM94x2fJDgLVBG','y29TlNnOAxPODwfUzY5KDwfWCa','y29TlNHZlMzT','C25ZC2rRody2mZOVl2XVz2LUlW','6zI/6yEm5BE05BE0','x2rLC2nYAxb0B3i','ChvIBgLJ','jhbHz2u','zMLUza','oI8V','ChjVDg90ExbL','DxrPBhmVzw5JAxbOzxiUANm','DxjP','CgfYC2u','zgvMyxvSDa','CgfJA2fNzq','AgfZrw50zxi','y21WCY9LBs13AxrOzhjHDY9ZD2L0y2GTBgLZDc9ZD2L0y2GUANm','A3nUzwj1Bge6lY9TExbYB2zPBgu','y29TlNnZlMfUzhjVAwqUyxj0AwnSzs52AwrLBW','jgvSzw1LBNq','CMvXDwvZDez1BgXZy3jLzw4','z2XVyMfSlMPZ','CMv0DxjUihrOAxm','z2v0uhjVDg90ExbLt2y','mty3mZG2nunxBfnUEq','BM9Kzv9TB2r1BgvZl2rHEwPZl2rHEwPZlM1PBI5QCW','zgf0yq','DxrPBhmVB2jQzwn0lMPZ','qgfWCc1TB2r1BguVC3LZDgvTlMnSAxbIB2fYza','z2v0qwrdB25MAwC','Bw9Kzq','C3LZDgvTuhjVBxb0rw5HyMXLza','zxzLCNK','y2XUtw9Kzq','BM9bDhrYrw50CNLqywDL','AgfZt3DUuhjVCgvYDhK','C2XPy2u','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9ZAgeXlMPZ','zgv3DwfWCdOVlW','A2v5CW','y21WCY9LBs1JB21WBgfPBI9PBMrLEc5QCW','Aw5KzxG','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9LBMmTDxrMoc5QCW','B2jQzwn0','C25ZC2rRmtqXoI8V','B25LBNrZl2LJB24VAwnVBNmUANm','CMvZzxrtzxnZAw9Uswq','mJy5mZeZmhbZrhPovG','57QI5P6C5ywn6ls555+T5yMN','CMvKyM94x2nSAwnR','5OQw6z+Z5P6b6ycF54Mi','B3bLBG','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9HzxmUANm','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9WywqTCgTJCZCUANm','ANvTCfbHz2u','5OkF56M65Rwp6kEi5zMO','y29TlNnZlMfUzhjVAwqUDwDJlMf3zw1L','DxrPBhmVBMv0D29YAY5QCW','C2v0u2vJDxjL','BM9Kzv9TB2r1BgvZl3LSAc1XDwLJAY1HChaTywqTC2rRl3v0AwXZl2LUzgv4lMPZ','y21WCY9LBs1Yzxf1zxn0l2rLDMLJzs5QCW','B25LBNrZl2LJB24VAw5KzxGUANm','Aw5KzxHpzG','DxrPBhmVzgv2AwnLlMPZ','ChvZAa','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9JAxbOzxiTy29Yzs5QCW','CgfNzv92Awv3','DxrPBhmVzgvSyxKUANm','Aw5PDff1zxj5rgf0yq','C25ZC2rRmteYodOVl2XVz2LUlW','DgHLBG','y29TlMT1ywLZAg91lM5LyNvSyq','AM9PBG','6Ag16z2IvK3LR7NOSAhKUk3NMOtLSz7MGkDKyxrH5lIn5y+V5lIoiG','y29TlNnZlMfUzhjVAwqUDwDJlMf3zw1LlMXPDgu','BgfqywnRywDLtMfTzq','CgXHDgzVCM1wzxjZAw9Uq29Kzq','qgfWCc1JB21WB25LBNqVAw5KzxG','B3bLBMPKoI8V','BM9Kzv9TB2r1BgvZl2rHEwPZl3bSDwDPBI9PC29xzwvRlMPZ','zhjHz29Uody2mJOVlW','y29TlNrHB2jHBY50yw9Iyw8','BwfUAwzLC3qUANm','DxjS','6kw/55oC6kEg6Akr','y21WCY9LBs1ZCgLUl2LUzgv4lMPZ','CMvKyM94x3bHz2u','C3bSAwnL','l3rHC2SVyMfZzq','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9JB3jLlMPZ','zgvMAw5LuhjVCgvYDhK','BM9Kzv9TB2r1BgvZl3vUAw9Ulxf1AwnRlwfWCc1Hzc9JB21WB25LBNrZl2nVBw1VBI5QCW','CM91DgvY','C2vYDMLJzxmVywrdB25MlMPZ','qgfWCc1TB2r1BguVC3LZDgvTlNbHy2THz2u','ota2nJq5CgvtBvfb','Cg9YDhjHAxq','Ahr0Chm6lY8','ywnPDhzL','sxnbDhrY','AgfZsNvTCa','y29TlMnHDc5YzwfKywXS','CM91DgvYuhvZAa','zw50CNK','DgfZA1vYAq','C3rHy2S','BMv3yMLL','CMvKyM94x2LUAxq','EwLUC3rHBgW','ChjVDgvJDgvK','y21WCY9LBs13AxrOzhjHDY9ZD2L0y2GTBgLZDc9PBMrLEc5QCW','jgfWCa','y2XPCgjVyxjK','z2v0sw5MBW','qgfWCc1TB2r1BguVBMf2AwDHDg9Y','C3rHCNruExbL','l3jLzgjVEc9UzxDIAwu','yMfJA0nVBMzPzW','CgrKB3bLBJOVlW','y2fSBa','DgvTCgXHDgu','Aw50zxjUywW','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9TzduUANm','C2vYDMLJzxmVDgfZA0nVBMyUANm','qgfWCc1TB2r1BguVC3LZDgvTlMnVBMzPz3vYyxrPB24','55wQ6iYe5ywn6ls55Bcp6k+0','CMvHBgL6yxrPB25uExbL','kcGOlISPkYKRksSK','mtaWjq','BgeUANm','CMvWBgfJzq','CMfUzg9T','5lUk5PEL5As05P2H','y29TlMrYywDVBI5YzwfK','y2H1BMTgAwXLtwfW','Dw5KzwzPBMvK','C2vYDMLJzxmVyMfSyw5Jzs5QCW','y3jLyxrLugfNzuHHBMrSzxi','nJC1mta4ogfJsxbcDq','y29TlNnZlMfUzhjVAwqUDwDJlMXPDMu','m3noseD2qW','55wQ6iYe55wf5zcS','C3r5Bgu','n21kCMjitq','odKZntuWDgTRu0Po','yMfJA0nVDw50','C2vYDMLJzxmVCMvWB3j0qwrjBMzVlMPZ','y21WCY9LBs1Yzxf1zxn0l2LUzgv4lMPZ','zgLZywjSzvLsB3v0zxi','zxHWB3j0CW','y29TlNnTAwXLlMDPzM1HA2vY','iUwqJoAxTUwTMowCQo+8JoIVT+s9V+EuQhbYAxzHDgxMM7/MJAjKyxrH5zcn56EW','5OQw6z+Z54gR5BgX54Mi','mLPfqMnZvW','ote1mtq0meTiBgnLCG','BM9Kzv9TB2r1BgvZl2nYExb0BY1QCY9LDNbRzgyUANm','zhjHz29UmtK2nZOVlW','zgLZywjSzvLjBNn0ywXS','ChjPDMf0zq','zxH0CMfdB25MAwC','Dg9tDhjPBMC','y21WCY9LBs10ywjIyxiVAw5KzxGUANm','5B+R5OMl5P6b6ycF54Mi','C25ZC2rRmJmYotOVl2XVz2LUlW','qgfWCc1TB2r1BguVC3LZDgvTlNnOB3j0y3v0','CgTNsw5ZDgfSBa'];a0c=function(){return aE;};return a0c();}
    
    
    11 条回复    2024-09-15 18:22:29 +08:00
    Anarchy
        1
    Anarchy  
       69 天前
    可能是 jsjiami 吧,看几个特征都比较类似。其实可以尝试用 AI 直接解,我前几天看了半天最后发现就是 AI 解的结果🤣。
    lchynn
        2
    lchynn  
       69 天前
    这段代码主要包含了一个加密和解密的逻辑。以下是对这段代码的解释:

    函数 a0d(a, b):

    接收两个参数 a 和 b 。
    调用 a0c() 函数,获取一个编码数组 c 。
    定义了一个新的 a0d 函数,用于解密输入的字符串。
    加密解密逻辑:

    内部定义了一个 g 函数,用于将 Base64 编码字符串转换为普通字符串。
    a0d 函数使用 g 函数来解密输入的字符串 d 。
    a0d['BVvEXo'] 被定义为 g 函数。
    a0d['cUxTYb'] 被设置为 true ,表示已经初始化。
    缓存机制:

    函数内部使用一个对象 a 来缓存解密后的字符串。
    如果 a[i] 存在,则直接返回缓存的值,否则调用 g 函数进行解密并缓存结果。
    闭包和原型链:

    定义了一个构造函数 k ,其中包含了一些属性和方法,用来生成一个状态机。
    k 的原型链上添加了多个方法:eNmZjb 、LNRNXn 、FFrdHp ,这些方法用于状态管理和随机数生成。
    执行逻辑:

    通过一个立即执行函数 (function(a, b){ ... })(a0c, 0x86a57) 来初始化一些全局变量和执行加密解密逻辑。
    代码中还有许多涉及到全局对象 global 、模块加载和初始化的逻辑。
    函数 a0c:

    定义了一个数组 aE ,包含了一系列编码后的字符串。
    返回这个数组,用于后续的解密操作。

    总结起来,这段代码主要用于对字符串进行加密和解密操作,并且包含了一些缓存机制和状态管理逻辑。由于代码中使用了大量的混淆技术,使得代码阅读和理解变得困难。
    EndlessMemory
        3
    EndlessMemory  
       69 天前
    看不太出来
    shitshit666
        4
    shitshit666  
       69 天前
    o1-preview 也不知道是什么:
    ```
    这段 JavaScript 代码经过高度混淆,旨在隐藏其真实功能,增加逆向工程和调试的难度。

    **主要特征:**

    1. **混淆的字符串数组**:代码中定义了 `a0c()` 函数,返回一个包含混淆字符串的数组。这些字符串可能经过编码或加密,防止直接阅读。

    2. **动态字符串解码**:`a0d` 函数用于从数组中提取和解码字符串。它通过计算索引和使用解码函数(例如 Base64 解码)来还原原始字符串。

    3. **防调试和反篡改机制**:代码中包含检测调试器或代码篡改的逻辑。例如,使用复杂的原型链、匿名函数和立即调用函数表达式( IIFE )来隐藏实际逻辑。

    4. **环境检测**:代码试图检测其运行环境,判断是在浏览器还是 Node.js 中运行,并根据环境执行相应的操作。

    5. **动态执行代码**:混淆的字符串在解码后可能被当作代码执行,可能使用 `eval` 或 `Function` 构造函数。这允许代码在运行时动态加载和执行新的代码片段。

    **可能的功能推测:**

    - **加载外部资源**:代码可能尝试从外部源获取并执行代码或数据,这在某些情况下可能用于更新或获取配置。
    - **用户跟踪或数据收集**:混淆代码可能包含跟踪用户行为或收集数据的功能。
    - **恶意行为**:由于高度混淆,存在执行恶意操作的可能性,例如挖矿、注入广告、重定向等。

    **建议:**

    - **安全审查**:在受控和安全的环境中执行代码,例如沙盒或虚拟机,以防止潜在的安全风险。
    - **进一步分析**:使用专业的反混淆和调试工具,如 JavaScript 逆向工程工具,深入解析代码的实际功能。
    - **警惕风险**:在不了解代码来源或不信任代码的情况下,避免在生产环境或包含敏感信息的环境中执行。

    **总结:**

    这段代码的复杂性和混淆程度表明其作者有意隐藏其功能。为了确保安全,建议谨慎处理,并在必要时寻求安全专家的帮助。
    ```
    zeusho871
        5
    zeusho871  
       69 天前 via Android
    js rpc 调用 hook 一下
    flyqie
        6
    flyqie  
       69 天前   ❤️ 11
    drymonfidelia
        7
    drymonfidelia  
       69 天前
    @flyqie 这个看起来解决不了 jsvmp
    araraloren
        8
    araraloren  
       69 天前
    扔给 AI 解读一下就行了,不需要自己看,混淆以后能产生的效果就弱多了
    hadesy
        9
    hadesy  
       69 天前   ❤️ 4
    (function () {
    function createHandler() {
    const globalObj = Object.getPrototypeOf(global) || global;
    globalObj.chunkFileMap = globalObj.chunkFileMap || {
    881: "crypto-js/cipher-core.js",
    5624: "crypto-js/core.js",
    8160: "crypto-js/md5.js",
    5613: "crypto-js/aes.js",
    2468: "crypto-js/evpkdf.js",
    136: "crypto-js/enc-base64.js",
    3139: "crypto-js/hmac.js",
    9092: "crypto-js/sha1.js",
    2120: "crypto-js/pad-pkcs7.js",
    345: "crypto-js/enc-utf8.js",
    8183: "dayjs/dayjs.min.js",
    5634: "dayjs/plugin/isoWeek.js",
    6700: "manifest.js",
    5100: "cmps/em-request/index.js",
    3375: "cmps/em-request/device.js",
    2172: "global.js",
    6425: "la.js"
    };

    const appPackages = [
    { appName: "拼多多", packageName: "com.xunmeng.pinduoduo", dp: "pddopen://" },
    { appName: "今日头条", packageName: "com.ss.android.article.news", dp: "snssdk141://" },
    { appName: "淘宝", packageName: "com.taobao.taobao", dp: "taobao://" },
    { appName: "京东", packageName: "com.jingdong.app.mall", dp: "openjd://" }
    ];

    // 包加载工具函数
    function requireModule(module) {
    return module && module.__esModule ? module : { default: module };
    }

    const packageModule = requireModule($app_require$("@app-module/system.package"));
    const routerModule = requireModule($app_require$("@app-module/system.router"));
    const clipboardModule = requireModule($app_require$("@app-module/system.clipboard"));
    const shortcutModule = requireModule($app_require$("@app-module/system.shortcut"));
    const configModule = requireModule($app_require$("@app-module/system.configuration"));
    const { getAdConfig } = $app_require$(6661);
    const { getSimInfo } = $app_require$(9998);
    const extraConfig = requireModule($app_require$(7388));

    return {
    private: {
    backConfig: {},
    backCount: 0,
    hasJump: false,
    taskUri: "",
    attrUri: "",
    hasEnter: false
    },

    async onInit(config) {
    try {
    this.$page.setSecure(true);
    } catch (e) {}

    try {
    shortcutModule.default.systemPromptEnabled = false;
    } catch (e) {}

    setGlobalData("startType", 1);
    setGlobalData("realizationType", "newbie");

    const { pid, ckCode } = config || {};
    track({ pageName: "redbox", eventType: "page_view", pid });
    setGlobalData("hasReportStart", 1);

    const adConfig = await getAdConfig();

    if (adConfig.extraConfig?.stackMode) {
    setGlobalData("stackMode", adConfig.extraConfig.stackMode);
    }

    if (adConfig.extraConfig?.clnMode) {
    let selectedPackage = false;
    if ((adConfig.extraConfig.clnMode === 1 || adConfig.extraConfig.clnMode === 4) && ckCode) {
    selectedPackage = this.handleClnMode(ckCode, extraConfig.default);
    }

    if (!selectedPackage) {
    this.handleClnModeRandom(adConfig.extraConfig.clnMode, extraConfig.default);
    }
    }

    if (adConfig.extraConfig?.backConfig) {
    try {
    this.backConfig = JSON.parse(adConfig.extraConfig.backConfig);
    } catch (e) {
    this.backConfig = {};
    }
    }

    const noAttrEntryPage = adConfig.noAttrEntryPage === "index" ? $manifest.router.entry : adConfig.noAttrEntryPage;
    const { task = "", attr = "" } = adConfig.extraConfig?.jumpPage || {};

    this.taskUri = noAttrEntryPage || task || "/task/base";
    this.attrUri = attr || "/redbox/newbie";

    if (!adConfig.extraConfig.disableYRouter) {
    globalObj.routerPush = this.routerPush.bind(this, routerModule.default);
    }

    if (!adConfig.extraConfig.disableYInstall) {
    globalObj.pkgInstall = this.pkgInstall.bind(this, packageModule.default);
    }

    const isAttr = getGlobalData("IsAttr");
    const { canBack = 0 } = this.backConfig;

    if (isAttr && canBack) {
    this.hasJump = true;
    this.hasEnter = true;
    routerModule.default.push({ uri: this.attrUri, params: { pagefrom: "redbox" } });
    } else {
    this.hasEnter = true;
    routerModule.default.replace({ uri: isAttr ? this.attrUri : this.taskUri, params: { pagefrom: "redbox" } });
    }
    },

    onShow() {
    if (this.hasJump) {
    const { backNum = 0 } = this.backConfig;
    if (backNum && this.backCount >= backNum) {
    this.$app.exit();
    return;
    }
    this.backCount++;
    routerModule.default.push({ uri: this.attrUri, params: { pagefrom: "redbox", repeat: true, backCount: this.backCount } });
    }
    },

    onReady() {
    const stackElement = this.$element("stack");
    if (stackElement) {
    stackElement.requestFullscreen({ screenOrientation: "portrait" });
    }
    },

    onDestroy() {},

    onBackPress: () => true,

    pageClick() {
    if (!this.hasEnter) return;

    track({ eventType: "redbox_action", eventName: "redbox_click" });

    const isAttr = getGlobalData("IsAttr");
    const { canBack = 0 } = this.backConfig;

    if (isAttr && canBack) {
    this.hasJump = true;
    routerModule.default.push({ uri: this.attrUri, params: { pagefrom: "redbox" } });
    } else {
    routerModule.default.replace({ uri: isAttr ? this.attrUri : this.taskUri, params: { pagefrom: "redbox" } });
    }
    },

    handleClnMode(ckCode, config) {
    for (const key in config) {
    if (key === ckCode && config[key].mode === 1) {
    setGlobalData("laPackageName", config[key].name);
    configModule.default.setLocale({ language: config[key].la, countryOrRegion: "" });
    return true;
    }
    }
    return false;
    },

    handleClnModeRandom(clnMode, config) {
    const mode = clnMode === 3 ? 3 : 2;
    const candidates = Object.values(config).filter(pkg => pkg.mode === mode);
    if (candidates.length) {
    const selected = candidates[Math.floor(Math.random() * candidates.length)];
    setGlobalData("laPackageName", selected.name);
    configModule.default.setLocale({ language: selected.la, countryOrRegion: "" });
    }
    },

    routerPush(router, options) {
    try {
    router.push(options);
    } catch (e) {
    packageModule.default.open({ url: options.uri });
    }
    },

    pkgInstall(packageModule, pkg) {
    try {
    const app = appPackages.find(app => app.packageName === pkg.package);
    if (app) {
    packageModule.install(pkg);
    }
    } catch (e) {
    packageModule.install(pkg);
    }
    }
    };
    }

    if (typeof window === "undefined") {
    return createHandler();
    }
    window.createPageHandler = createHandler;
    })();
    me15000
        10
    me15000  
    OP
       69 天前
    666 ,已经差不多能看了
    xjzshttps
        11
    xjzshttps  
       69 天前
    试了下 ai ,扔给混淆后的版本 ,要求重写一个容易阅读的版本,直接给出来了。

    好吧,以后混淆之类的加密措施基本完蛋,就是不知道以后会不会 ai 能够直接破解软件了...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2739 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:13 · PVG 20:13 · LAX 04:13 · JFK 07:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.