jdpro/utils/Rebels_savePrize.js

5 lines
68 KiB
JavaScript
Raw Normal View History

2024-06-28 07:47:44 +00:00
/*
new Env('Rebels_savePrize');
部分活动填地址通用库
*/
2024-07-16 01:35:20 +00:00
const _0x5f216b=_0x1475;(function(_0x441a64,_0x1e2d2d){const _0x49d8a5=_0x1475,_0x4055b0=_0x441a64();while(!![]){try{const _0x3defa7=-parseInt(_0x49d8a5(0x134,']vsz'))/0x1+parseInt(_0x49d8a5(0x211,'x98n'))/0x2*(parseInt(_0x49d8a5(0xfd,'*HGE'))/0x3)+parseInt(_0x49d8a5(0x1cd,'q90G'))/0x4*(-parseInt(_0x49d8a5(0x15d,'CtxK'))/0x5)+parseInt(_0x49d8a5(0x145,'7KBL'))/0x6+-parseInt(_0x49d8a5(0x306,'&uMy'))/0x7*(parseInt(_0x49d8a5(0x2ac,'O*YF'))/0x8)+-parseInt(_0x49d8a5(0x132,'SYgU'))/0x9+parseInt(_0x49d8a5(0x26a,'[xno'))/0xa;if(_0x3defa7===_0x1e2d2d)break;else _0x4055b0['push'](_0x4055b0['shift']());}catch(_0x884d50){_0x4055b0['push'](_0x4055b0['shift']());}}}(_0x3cd2,0x5dbbc));var il=_0x5f216b(0x1d5,'q90G');const I1I1iI=iii1II;(function(_0x5610fd,_0xc2ce2f,_0x5b5f32,_0x1a02c4,_0x320df8,_0x36e5a9,_0x3bf868){return _0x5610fd=_0x5610fd>>0x2,_0x36e5a9='hs',_0x3bf868='hs',function(_0xc80d34,_0x2cb61f,_0x27a35c,_0x561f92,_0x2ec752){const _0x1b9fd4=_0x1475,_0x35fe25=iii1II;_0x561f92=_0x1b9fd4(0xf7,'50w2'),_0x36e5a9=_0x561f92+_0x36e5a9,_0x2ec752='up',_0x3bf868+=_0x2ec752,_0x36e5a9=_0x27a35c(_0x36e5a9),_0x3bf868=_0x27a35c(_0x3bf868),_0x27a35c=0x0;const _0x9f90fa=_0xc80d34();while(!![]&&--_0x1a02c4+_0x2cb61f){try{_0x561f92=parseInt(_0x35fe25(0x308,_0x1b9fd4(0x2b4,'v6hV')))/0x1*(parseInt(_0x35fe25(0x2ef,_0x1b9fd4(0x1d0,'qMul')))/0x2)+parseInt(_0x35fe25(0x2c0,_0x1b9fd4(0x16a,'*n8C')))/0x3*(parseInt(_0x35fe25(0x302,_0x1b9fd4(0xe6,'v6hV')))/0x4)+parseInt(_0x35fe25(0x287,'Ij0^'))/0x5+-parseInt(_0x35fe25(0x1d8,'Rx2V'))/0x6*(-parseInt(_0x35fe25(0x20e,_0x1b9fd4(0x1ce,'onNe')))/0x7)+parseInt(_0x35fe25(0x1e1,_0x1b9fd4(0x1a5,']aWa')))/0x8+parseInt(_0x35fe25(0x24d,_0x1b9fd4(0x100,'R&yP')))/0x9+-parseInt(_0x35fe25(0x24c,_0x1b9fd4(0x21e,'dJ2n')))/0xa;}catch(_0x5a799d){_0x561f92=_0x27a35c;}finally{_0x2ec752=_0x9f90fa[_0x36e5a9]();if(_0x5610fd<=_0x1a02c4)_0x27a35c?_0x320df8?_0x561f92=_0x2ec752:_0x320df8=_0x2ec752:_0x27a35c=_0x2ec752;else{if(_0x27a35c==_0x320df8[_0x1b9fd4(0x1e8,'ofa8')](/[OxNTEAuknIlfpdDRgSQ=]/g,'')){if(_0x561f92===_0x2cb61f){_0x9f90fa['un'+_0x36e5a9](_0x2ec752);break;}_0x9f90fa[_0x3bf868](_0x2ec752);}}}}}(_0x5b5f32,_0xc2ce2f,function(_0x5f2cc3,_0x1658c8,_0x399b7e,_0x58399a,_0x8cd16c,_0x4c87a3,_0x2239d6){const _0x458831=_0x1475;return _0x1658c8='split',_0x5f2cc3=arguments[0x0],_0x5f2cc3=_0x5f2cc3[_0x1658c8](''),_0x399b7e=_0x458831(0x2f0,'(EYP'),_0x5f2cc3=_0x5f2cc3[_0x399b7e]('v'),_0x58399a=_0x458831(0xf3,'7g57'),(0x1787e5,_0x5f2cc3[_0x58399a](''));});}(0x310,0x865bd,Iii11l,0xc6),Iii11l)&&(il=I1I1iI(0x2d9,'zHih'));const common=require(I1I1iI(0x23f,_0x5f216b(0x257,'v6hV'))),CryptoModule=require(I1I1iI(0x21a,'AGD3')),fs=require('fs'),path=require('path');!fs[_0x5f216b(0x289,'fR^H')](I1I1iI(0x26b,'nOsZ'))&&fs[I1I1iI(0x305,_0x5f216b(0x148,'7KBL'))](I1I1iI(0x234,_0x5f216b(0x2af,'&uMy')));const prize_record_path=I1I1iI(0x1d0,_0x5f216b(0x319,'SYgU'));if(!fs[I1I1iI(0x202,_0x5f216b(0x144,'(EYP'))](prize_record_path)){let text=I1I1iI(0x2fa,_0x5f216b(0x167,'fR^H'));fs[I1I1iI(0x1de,_0x5f216b(0x201,'vYnf'))](prize_record_path,text,{'encoding':I1I1iI(0x212,'gj!w'),'flag':'a'}),console[I1I1iI(0x2ae,_0x5f216b(0x301,'OeAH'))](I1I1iI(0x2a0,'xBg4'));}const delay=_0x39c59a=>new Promise(_0x567fba=>setTimeout(_0x567fba,_0x39c59a));function formatDate(_0x3106b0){const _0x20cd68=_0x5f216b,_0x1bedfa=I1I1iI,_0x99ff3a={'XUHWc':function(_0x342631,_0x5064a3){return _0x342631+_0x5064a3;}};let _0x391d5e=_0x3106b0[_0x1bedfa(0x24e,_0x20cd68(0x24f,'vYnf'))](),_0x43b45f=('0'+_0x99ff3a[_0x1bedfa(0x291,'NpOI')](_0x3106b0['getMonth'](),0x1))[_0x20cd68(0x1b2,'(EYP')](-0x2),_0xd854c3=('0'+_0x3106b0[_0x1bedfa(0x2c2,_0x20cd68(0x250,'dJ2n'))]())[_0x1bedfa(0x23c,_0x20cd68(0x107,'fawa'))](-0x2),_0x35467a=('0'+_0x3106b0[_0x1bedfa(0x230,'$Ykf')]())[_0x20cd68(0x23e,']aWa')](-0x2),_0x1ed347=('0'+_0x3106b0[_0x1bedfa(0x1cc,_0x20cd68(0x2d2,'v6hV'))]())[_0x1bedfa(0x22e,_0x20cd68(0x1d9,'DT%q'))](-0x2);return _0x391d5e+'-'+_0x43b45f+'-'+_0xd854c3+'\x20'+_0x35467a+':'+_0x1ed347;}const now=new Date(),formattedCurrentTime=formatDate(now);async function wuxian_savePrize(_0x96c0c1){const _0x