jdpro/utils/Rebels_savePrize.js

5 lines
25 KiB
JavaScript
Raw Normal View History

2024-06-28 07:47:44 +00:00
/*
new Env('Rebels_savePrize');
部分活动填地址通用库
*/
2024-08-29 02:47:27 +00:00
const _0x32f236=_0x5aa9;(function(_0x3ae2fa,_0x3c7156){const _0x1a7567=_0x5aa9,_0x784a32=_0x3ae2fa();while(!![]){try{const _0x303a5b=-parseInt(_0x1a7567(0x126,'nCCl'))/0x1*(parseInt(_0x1a7567(0xed,'3*yP'))/0x2)+parseInt(_0x1a7567(0xcb,'%RCc'))/0x3+-parseInt(_0x1a7567(0x13d,'Qg#z'))/0x4*(-parseInt(_0x1a7567(0xc6,'g0S1'))/0x5)+parseInt(_0x1a7567(0xd1,'JyKE'))/0x6*(-parseInt(_0x1a7567(0xd5,'DIl4'))/0x7)+parseInt(_0x1a7567(0xd3,'15t('))/0x8*(parseInt(_0x1a7567(0xdf,'G9^D'))/0x9)+-parseInt(_0x1a7567(0xca,')6mM'))/0xa+-parseInt(_0x1a7567(0x11c,'WKts'))/0xb*(-parseInt(_0x1a7567(0x14e,'DIl4'))/0xc);if(_0x303a5b===_0x3c7156)break;else _0x784a32['push'](_0x784a32['shift']());}catch(_0x4c3a4a){_0x784a32['push'](_0x784a32['shift']());}}}(_0x59b7,0xf32b6));const common=require(_0x32f236(0x9f,'3*yP')),CryptoModule=require('./Rebels_H'),fs=require('fs'),path=require(_0x32f236(0xfd,'twfX'));function _0x5aa9(_0x1dd980,_0x5bd457){const _0x59b7b9=_0x59b7();return _0x5aa9=function(_0x5aa982,_0x3585be){_0x5aa982=_0x5aa982-0x9c;let _0x1937f9=_0x59b7b9[_0x5aa982];if(_0x5aa9['QsVUwS']===undefined){var _0x46325e=function(_0x2b66fd){const _0x3c577c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x24710b='',_0x7d890c='';for(let _0x3a3e70=0x0,_0x51ac6b,_0x27bd26,_0x445c02=0x0;_0x27bd26=_0x2b66fd['charAt'](_0x445c02++);~_0x27bd26&&(_0x51ac6b=_0x3a3e70%0x4?_0x51ac6b*0x40+_0x27bd26:_0x27bd26,_0x3a3e70++%0x4)?_0x24710b+=String['fromCharCode'](0xff&_0x51ac6b>>(-0x2*_0x3a3e70&0x6)):0x0){_0x27bd26=_0x3c577c['indexOf'](_0x27bd26);}for(let _0x335044=0x0,_0x2210cd=_0x24710b['length'];_0x335044<_0x2210cd;_0x335044++){_0x7d890c+='%'+('00'+_0x24710b['charCodeAt'](_0x335044)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x7d890c);};const _0x1024d4=function(_0xc6011f,_0x3663e8){let _0x520672=[],_0x4982a8=0x0,_0x884e07,_0x2d32da='';_0xc6011f=_0x46325e(_0xc6011f);let _0x3158ce;for(_0x3158ce=0x0;_0x3158ce<0x100;_0x3158ce++){_0x520672[_0x3158ce]=_0x3158ce;}for(_0x3158ce=0x0;_0x3158ce<0x100;_0x3158ce++){_0x4982a8=(_0x4982a8+_0x520672[_0x3158ce]+_0x3663e8['charCodeAt'](_0x3158ce%_0x3663e8['length']))%0x100,_0x884e07=_0x520672[_0x3158ce],_0x520672[_0x3158ce]=_0x520672[_0x4982a8],_0x520672[_0x4982a8]=_0x884e07;}_0x3158ce=0x0,_0x4982a8=0x0;for(let _0x147d60=0x0;_0x147d60<_0xc6011f['length'];_0x147d60++){_0x3158ce=(_0x3158ce+0x1)%0x100,_0x4982a8=(_0x4982a8+_0x520672[_0x3158ce])%0x100,_0x884e07=_0x520672[_0x3158ce],_0x520672[_0x3158ce]=_0x520672[_0x4982a8],_0x520672[_0x4982a8]=_0x884e07,_0x2d32da+=String['fromCharCode'](_0xc6011f['charCodeAt'](_0x147d60)^_0x520672[(_0x520672[_0x3158ce]+_0x520672[_0x4982a8])%0x100]);}return _0x2d32da;};_0x5aa9['NdisBR']=_0x1024d4,_0x1dd980=arguments,_0x5aa9['QsVUwS']=!![];}const _0x402c34=_0x59b7b9[0x0],_0x1f0aa0=_0x5aa982+_0x402c34,_0x4b49d0=_0x1dd980[_0x1f0aa0];return!_0x4b49d0?(_0x5aa9['oTbJfe']===undefined&&(_0x5aa9['oTbJfe']=!![]),_0x1937f9=_0x5aa9['NdisBR'](_0x1937f9,_0x3585be),_0x1dd980[_0x1f0aa0]=_0x1937f9):_0x1937f9=_0x4b49d0,_0x1937f9;},_0x5aa9(_0x1dd980,_0x5bd457);}!fs[_0x32f236(0x121,'3*yP')]('./utils/prize')&&fs['mkdirSync']('./utils/prize');const prize_record_path='./utils/prize/addr_record.csv';if(!fs['existsSync'](prize_record_path)){let text='\ufeff收货人,手机,奖品,活动链接,具体时间\x0a';fs[_0x32f236(0x146,'15t(')](prize_record_path,text,{'encoding':'utf-8','flag':'a'}),console[_0x32f236(0xf3,'5!XB')](_0x32f236(0x135,'TO^c'));}function _0x59b7(){const _0x94c120=['WOaWvWtdG8ot','auS3WORdHsqZ','W6nzpCkyW7W','W7hcH8oRkW','BSoSlK4','W6BdUSoAW6i','WOZcJXvejflcQLldT8oJWORdTuzmgmk1sCkBvdq','WPWVy3BcLKJcOG','jXFcSvW','WRNdRL8','W43cNCktWR/cUaNcIrldPSo8W4uZW4i','WPFcSSk6W48OpmoEW4yKWOFcKCklnSoy','kbpcOe1HWQtcOLhdO8kP','amorC1rr','zLTEfKCokc8','8lQPPmoPemoadSouW6njng9Sp+ITIEAZKowNVoI3I0JINB7cPoAvKEwsNEw4SUAvIEAmSW','WP1Apa','WRxcK29B','WPPqpHtcL0XdW5jQvG','W5BWOyMiW4FOPOhLJkxLRPdNIBlLPlVLKBlOHyJLIAJNM6VORkxMLiNOT6VLNzxLNyRLSRpOLQVLHQpPLydOR4lVVPxOTAVOVRSMsG','8y+5G8ooW6uMWOXtm2ldL8kReSkM5l685A+R5PE76lsL5z6X5z6S5Aw26lwsWQxINOWw','FCk4W7NcVG','WPpdVSkjrSkCbmk4W6NdOmkcd8kB','WPldI