mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-11-06 09:56:42 +08:00
1
This commit is contained in:
1 parent
a9d4d5e69f
commit
fca0f6c724
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2,5 +2,5 @@
|
||||
1 1 1 1 * jd_video_task.js
|
||||
*/
|
||||
const $ = new Env('看视频赚现金-任务');
|
||||
var _0xodW='jsjiami.com.v7';const _0x4dd087=_0x20b6;if(function(_0x54fb28,_0xbe54d1,_0x33e793,_0x3f7996,_0x12280f,_0x2a0681,_0x5be3e5){return _0x54fb28=_0x54fb28>>0x8,_0x2a0681='hs',_0x5be3e5='hs',function(_0x344731,_0x44092e,_0x1d2cb2,_0x35ddf9,_0x2273c2){const _0x1563fd=_0x20b6;_0x35ddf9='tfi',_0x2a0681=_0x35ddf9+_0x2a0681,_0x2273c2='up',_0x5be3e5+=_0x2273c2,_0x2a0681=_0x1d2cb2(_0x2a0681),_0x5be3e5=_0x1d2cb2(_0x5be3e5),_0x1d2cb2=0x0;const _0x5569bf=_0x344731();while(!![]&&--_0x3f7996+_0x44092e){try{_0x35ddf9=-parseInt(_0x1563fd(0x397,'bHyU'))/0x1+-parseInt(_0x1563fd(0x2be,'iwoJ'))/0x2*(parseInt(_0x1563fd(0x345,'$Jrj'))/0x3)+parseInt(_0x1563fd(0x3a8,'4Nlh'))/0x4*(-parseInt(_0x1563fd(0x48c,'q8Zk'))/0x5)+-parseInt(_0x1563fd(0x2c0,'VMpT'))/0x6+-parseInt(_0x1563fd(0x371,'f8O7'))/0x7+-parseInt(_0x1563fd(0x458,'VMpT'))/0x8+parseInt(_0x1563fd(0x282,'f8O7'))/0x9;}catch(_0x305b27){_0x35ddf9=_0x1d2cb2;}finally{_0x2273c2=_0x5569bf[_0x2a0681]();if(_0x54fb28<=_0x3f7996)_0x1d2cb2?_0x12280f?_0x35ddf9=_0x2273c2:_0x12280f=_0x2273c2:_0x1d2cb2=_0x2273c2;else{if(_0x1d2cb2==_0x12280f['replace'](/[HDpyLxdWEPulbIYQTO=]/g,'')){if(_0x35ddf9===_0x44092e){_0x5569bf['un'+_0x2a0681](_0x2273c2);break;}_0x5569bf[_0x5be3e5](_0x2273c2);}}}}}(_0x33e793,_0xbe54d1,function(_0x226ecd,_0x22ebba,_0x2bbdc8,_0x938038,_0x1a26f6,_0x2a4fca,_0xf6fee4){return _0x22ebba='\x73\x70\x6c\x69\x74',_0x226ecd=arguments[0x0],_0x226ecd=_0x226ecd[_0x22ebba](''),_0x2bbdc8=`\x72\x65\x76\x65\x72\x73\x65`,_0x226ecd=_0x226ecd[_0x2bbdc8]('\x76'),_0x938038=`\x6a\x6f\x69\x6e`,(0x17502f,_0x226ecd[_0x938038](''));});}(0xc900,0xce11e,_0x3769,0xcb),_0x3769){}const _0x164ed0=$[_0x4dd087(0x53f,'Tnte')]()?require(_0x4dd087(0x195,'1im4')):'',_0x2600bd=$[_0x4dd087(0x45f,'1xwQ')]()?require(_0x4dd087(0x2cc,'1im4')):'',_0x5715ab=require(_0x4dd087(0x63d,'6$pB')),_0x3f9c26=require(_0x4dd087(0x1a1,'c4O6')),_0x49f3fc=require(_0x4dd087(0x1a6,'$Jrj'));let _0x48d7d0=!![];if(process[_0x4dd087(0x3e3,'52Hz')][_0x4dd087(0x23b,'6Qph')])try{require(_0x4dd087(0x542,'4Nlh')),ccc=require(_0x4dd087(0x5d5,'dAZq')),$[_0x4dd087(0x5e3,'(^Uz')]=ccc[_0x4dd087(0x576,'y@aW')]($[_0x4dd087(0x623,'6h#7')][_0x4dd087(0x331,'9Tc)')]($)),$[_0x4dd087(0x385,'6Qph')]=ccc[_0x4dd087(0x5cc,'1aAW')]($[_0x4dd087(0x381,'R[B^')][_0x4dd087(0x3a4,'m!x9')]($));}catch{$[_0x4dd087(0x3cc,'ILW9')](_0x4dd087(0x633,'b1z#')),$[_0x4dd087(0x400,'52Hz')]=$[_0x4dd087(0x59d,'OChT')],$[_0x4dd087(0x4d7,'f8O7')]=$[_0x4dd087(0x1d7,'iwoJ')];}else $[_0x4dd087(0x1ab,'dAZq')]=$[_0x4dd087(0x583,'VMpT')],$[_0x4dd087(0x5e3,'(^Uz')]=$[_0x4dd087(0x352,'7#%g')];let _0xd46814=[],_0x47f942='',_0x36234a='';if($[_0x4dd087(0x41d,'6$pB')]()){Object[_0x4dd087(0x1eb,'6$pB')](_0x2600bd)[_0x4dd087(0x571,'@&Z#')](_0x5bfd1d=>{const _0x19337b=_0x4dd087;_0xd46814[_0x19337b(0x23e,'JOsp')](_0x2600bd[_0x5bfd1d]);});if(process[_0x4dd087(0x204,'q8Zk')][_0x4dd087(0x4ad,'$#jR')]&&process[_0x4dd087(0x1db,'g$*t')][_0x4dd087(0x5c2,'c4O6')]===_0x4dd087(0x598,'7#%g'))console[_0x4dd087(0x649,'8BlL')]=()=>{};}else _0xd46814=[$[_0x4dd087(0x2a7,'9BlM')](_0x4dd087(0x2dd,'x%rU')),$[_0x4dd087(0x259,'fizE')](_0x4dd087(0x30a,'6Qph')),..._0x169d12($[_0x4dd087(0x212,'1aAW')](_0x4dd087(0x311,'0VHN'))||'[]')[_0x4dd087(0x4b7,'q8Zk')](_0x51d860=>_0x51d860[_0x4dd087(0x5d6,'3YVx')])][_0x4dd087(0x47b,'g$*t')](_0x1b1e89=>!!_0x1b1e89);const _0x2dd8e9=process[_0x4dd087(0x64b,'iwoJ')][_0x4dd087(0x34d,'OKwG')]?process[_0x4dd087(0x1fa,'@A8)')][_0x4dd087(0x27a,'x[Sm')]:'10';function _0x3769(){const _0x4c91a6=(function(){return[...[_0xodW,'upjDusjDidxamlibbd.PTcLToWYmQ.dHvO7EIyQP==','W4xdLehdMZS','WQRdKghdHZyI','ECoUW4FcG0m','v8kRWQVdI8o1nmksiwlcSSoolSodWRdcGNqDf8olF8oPhtpdVmkiaSo8','W6ddLKBdMbG','WPmXj8ouWRO','W4pdKWdcS8oE','tKznW6dcSG','W5uqW7rSlq','W4hcUSoM','WPGLWO/dKNK','ySkgW4ukmG','WQ3dSWJcHfyFuq','o0D3WOPB','dxHACe7cPSoU','FCoGW6dcR2W','W4/cSmoH','WPpcR3VcKSk2d8kWW47dGSkQW6RdKa','W7tdVSoD','W5q7t8k/WQa','BSknW7imnG','W7rzW4xdIsa','W40VWPldOt4','WOxcO8k5W4r2','cfD/WQ9R','WRqUWP3dTYylcXzlqsHiqSoqWRBcQ8kIWOycW6e','WPpdJgpdSaOXo8oz','W4HhW7tdSYy','rstdGczl','uLvqW4NcRG','WOrWW7hdNWq','WQ4pWQ7dGXm','hNbqEeJcUa','W7vTt8oDWOW','pvBcQcai','bxFcIryB','W4ldUCoDWQWS','W4ldSZxcKSk2','wKtcSSonmSoN','WOxdP8kCbmoI','e8keWRNdJCkq','WQRcSCkFW5P8fCozWPm','CICcW6jr','bub0uN8','muBcPWCJW6hcLwf3W7xdUCk7zEITKUAWK+wMOoI1GU++J+ITP+AGMEADUUE9UUI1KEMeN+ITUW','W7xdH0BdGGK','W5lcHuLAWQ3cJ8o/W5pcTtlcOmoZjW','gNHAEuJcH8o/vCkNW7NdMmo4WPRcHSoOhxZcV8kfiJdcU8oAW7PcWQVcIIxdUSkNyLBcVv7ORiJMS4RLPAtOTBxVVjBORRpMOktMNldNVOtOT7tPHRpORRm','wCkxFMxcPW','W7zQW6tdMb1HwCkGWRLIcsG4W58/W7lcOfNdGCoTddG2kq','nmoMtWFdUa','W6ZcGCo4W5tcUa','5lUR5lIZ6lEL5y6v','ASkSv0dcTq','W5hdJJtcPmow','ymkqWOddICoj','BK43W7K4','WOtdNrGNW60','WQZdUrW','WPtdS1FdPby','oNxdJruPdf5dBW','WRuPWOxdQdjysG','WRmRWP4','WPeHWQ/dPum','chbkFq','wmkUgmk1WP7cOmoEiCoCWQylfKLUsWNcQJZcR27cSSk0z8owbSkhWPSuW7H/B2JdNSkpv07cTdpcLq','W7tdPrZcVmk0','WReqWQZdSxa','WOGpdgiaW6aTdIuoa8oLs2xdIq','W6VdKLNdMbXqW5u','y3D8W6dcL8oeWR0RemklpSoLB8kHwCo6WPNdO8optCkvBwZdQ8oaod9txmk1W4lcM2LHu1n6W4KuLine truncated
|
||||
var _0xodz='jsjiami.com.v7';const _0x182921=_0x32c5;(function(_0x152a87,_0xd53750,_0x4589ee,_0xf7ad94,_0x2a58b3,_0x55c14f,_0x516ff2){return _0x152a87=_0x152a87>>0x8,_0x55c14f='hs',_0x516ff2='hs',function(_0x2e4350,_0xc9a4ff,_0x1252e0,_0x33534c,_0x498141){const _0x42ac54=_0x32c5;_0x33534c='tfi',_0x55c14f=_0x33534c+_0x55c14f,_0x498141='up',_0x516ff2+=_0x498141,_0x55c14f=_0x1252e0(_0x55c14f),_0x516ff2=_0x1252e0(_0x516ff2),_0x1252e0=0x0;const _0x1cbd99=_0x2e4350();while(!![]&&--_0xf7ad94+_0xc9a4ff){try{_0x33534c=parseInt(_0x42ac54(0x3dc,'Z0Fd'))/0x1+parseInt(_0x42ac54(0x2f8,'8l!A'))/0x2*(parseInt(_0x42ac54(0x33e,'K@1c'))/0x3)+-parseInt(_0x42ac54(0x515,'iLeb'))/0x4*(-parseInt(_0x42ac54(0x3b1,'[JOh'))/0x5)+parseInt(_0x42ac54(0x2fc,'1r1f'))/0x6*(parseInt(_0x42ac54(0x3cf,'pQgS'))/0x7)+parseInt(_0x42ac54(0x435,'$v8M'))/0x8*(parseInt(_0x42ac54(0x5ca,'h0*%'))/0x9)+parseInt(_0x42ac54(0x3b2,'V505'))/0xa*(parseInt(_0x42ac54(0x570,'AD2e'))/0xb)+-parseInt(_0x42ac54(0x5ac,'[JOh'))/0xc;}catch(_0xb89079){_0x33534c=_0x1252e0;}finally{_0x498141=_0x1cbd99[_0x55c14f]();if(_0x152a87<=_0xf7ad94)_0x1252e0?_0x2a58b3?_0x33534c=_0x498141:_0x2a58b3=_0x498141:_0x1252e0=_0x498141;else{if(_0x1252e0==_0x2a58b3['replace'](/[ehJNCrIWpKBkQDAVLGx=]/g,'')){if(_0x33534c===_0xc9a4ff){_0x1cbd99['un'+_0x55c14f](_0x498141);break;}_0x1cbd99[_0x516ff2](_0x498141);}}}}}(_0x4589ee,_0xd53750,function(_0x1f705a,_0x26c1b2,_0x1bb098,_0x54eac0,_0x1d1cc6,_0x30f306,_0x1070be){return _0x26c1b2='\x73\x70\x6c\x69\x74',_0x1f705a=arguments[0x0],_0x1f705a=_0x1f705a[_0x26c1b2](''),_0x1bb098=`\x72\x65\x76\x65\x72\x73\x65`,_0x1f705a=_0x1f705a[_0x1bb098]('\x76'),_0x54eac0=`\x6a\x6f\x69\x6e`,(0x17b177,_0x1f705a[_0x54eac0](''));});}(0xbd00,0xc37d0,_0x3354,0xbf),_0x3354)&&(_0xodz=0x4591);const _0x4671ad=$[_0x182921(0x45f,'hx&I')]()?require(_0x182921(0x44a,'$)dQ')):'',_0x6587a8=$[_0x182921(0x46b,'%[R%')]()?require(_0x182921(0x59f,'^y2y')):'',_0x25958d=require(_0x182921(0x421,'P3EN')),_0x27c61c=require(_0x182921(0x5a2,'g)hk')),_0x981f76=require(_0x182921(0x299,'oZ^f'));let _0x38f404=!![];if(process[_0x182921(0x4c1,'ICXF')][_0x182921(0x42f,'hx&I')])try{require(_0x182921(0x1a2,'rcp1')),ccc=require(_0x182921(0x372,'NN0n')),$[_0x182921(0x3bb,'286n')]=ccc[_0x182921(0x4b1,'$)dQ')]($[_0x182921(0x3a2,'rcp1')][_0x182921(0x5de,'oZ^f')]($)),$[_0x182921(0x269,'hlwz')]=ccc[_0x182921(0x427,'hlwz')]($[_0x182921(0x2f5,'1r1f')][_0x182921(0x51b,'NN0n')]($));}catch{$[_0x182921(0x22d,'hx&I')](_0x182921(0x55c,'PEX!')),$[_0x182921(0x442,'Z0Fd')]=$[_0x182921(0x33c,'pQgS')],$[_0x182921(0x269,'hlwz')]=$[_0x182921(0x2f5,'1r1f')];}else $[_0x182921(0x308,'Z0Fd')]=$[_0x182921(0x23e,'oZ^f')],$[_0x182921(0x55f,'M1wo')]=$[_0x182921(0x4f0,'[Ihe')];let _0x4df0cd=[],_0x30fbc8='',_0x9a9177='';function _0x32c5(_0x10d8ea,_0x5c7719){const _0x247581=_0x3354();return _0x32c5=function(_0x382bf3,_0x4436eb){_0x382bf3=_0x382bf3-0x144;let _0x33549c=_0x247581[_0x382bf3];if(_0x32c5['hPRoNc']===undefined){var _0x32c53d=function(_0x2a23b0){const _0x432d48='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44cb80='',_0x24803c='',_0x3134c1=_0x44cb80+_0x32c53d;for(let _0x2bf91b=0x0,_0xc7b159,_0x56e102,_0xe3247b=0x0;_0x56e102=_0x2a23b0['charAt'](_0xe3247b++);~_0x56e102&&(_0xc7b159=_0x2bf91b%0x4?_0xc7b159*0x40+_0x56e102:_0x56e102,_0x2bf91b++%0x4)?_0x44cb80+=_0x3134c1['charCodeAt'](_0xe3247b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0xc7b159>>(-0x2*_0x2bf91b&0x6)):_0x2bf91b:0x0){_0x56e102=_0x432d48['indexOf'](_0x56e102);}for(let _0x1d5eaa=0x0,_0x12b2c6=_0x44cb80['length'];_0x1d5eaa<_0x12b2c6;_0x1d5eaa++){_0x24803c+='%'+('00'+_0x44cb80['charCodeAt'](_0x1d5eaa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x24803c);};const _0x52a835=function(_0xa7128f,_0x16f716){let _0x5cedbd=[],_0x351709=0x0,_0x2e1f99,_0x5e2787='';_0xa7128f=_0x32c53d(_0xa7128f);let _0x5b2c2f;for(_0x5b2c2f=0x0;_0x5b2c2f<0x100;_0x5b2c2f++){_0x5cedbd[_0x5b2c2f]=_0x5b2c2f;}for(_0x5b2c2f=0x0;_0x5b2c2f<0x100;_0x5b2c2f++){_0x351709=(_0x351709+_0x5cedbd[_0x5b2c2f]+_0x16f716['charCodeAt'](_0x5b2c2f%_0x16f716['length']))%0x100,_0x2e1f99=_0x5cedbd[_0x5b2c2f],_0x5cedbd[_0x5b2c2f]=_0x5cedbd[_0x351709],_0x5cedbd[_0x351709]=_0x2e1f99;}_0x5b2c2f=0x0,_0x351709=0x0;for(let _0x3315ac=0x0;_0x3315ac<_0xa7128f['length'];_0x3315ac++){_0x5b2c2f=(_0x5b2c2f+0x1)%0x100,_0x351709=(_0x351709+_0x5cedbd[_0x5b2c2f])%0x100,_0x2e1f99=_0x5cedbd[_0x5b2c2f],_0x5cedbd[_0x5b2c2f]=_0x5cedbd[_0x351709],_0x5cedbd[_0x351709]=_0x2e1f99,_0x5e2787+=String['fromCharCode'](_0xa7128f['charCodeAt'](_0x3315ac)^_0x5cedbd[(_0x5cedbd[_0x5b2c2f]+_0x5cedbd[_0x351709])%0x100]);}return _0x5e2787;};_0x32c5['OTJvpP']=_0x52a835,_0x10d8ea=arguments,_0x32c5['hPRoNc']=!![];}const _0x491eed=_0x247581[0x0],_0x4478df=_0x382bf3+_0x491eed,_0x1cbd4b=_0x10d8ea[_0x4478df];if(!_0x1cbd4b){if(_0x32c5['arSvNo']===undefined){const _0x4c80c6=function(_0x3d4232){this['RPTqFp']=_0x3d4232,this['gUZVWz']=[0x1,0x0,0x0],this['pZxpxp']=function(){return'newState';},this['wtLHiw']='\x5cw+\x20*\x5c(\x5c)\x2Line truncated
|
||||
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(tLine truncated
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
1 1 1 1 * jd_video_view.js
|
||||
*/
|
||||
const $ = new Env('看视频赚现金-浏览');
|
||||
var _0xodE='jsjiami.com.v7';const _0x137ec4=_0x4b2c;if(function(_0xa8271b,_0x119d91,_0x8e7a1d,_0x27b429,_0x60bd1d,_0x1617db,_0x51afb2){return _0xa8271b=_0xa8271b>>0x1,_0x1617db='hs',_0x51afb2='hs',function(_0x155091,_0x55b443,_0x5ac95c,_0x10aa7b,_0x1359fe){const _0x4f5d3d=_0x4b2c;_0x10aa7b='tfi',_0x1617db=_0x10aa7b+_0x1617db,_0x1359fe='up',_0x51afb2+=_0x1359fe,_0x1617db=_0x5ac95c(_0x1617db),_0x51afb2=_0x5ac95c(_0x51afb2),_0x5ac95c=0x0;const _0xcc9967=_0x155091();while(!![]&&--_0x27b429+_0x55b443){try{_0x10aa7b=-parseInt(_0x4f5d3d(0x19d,'edSD'))/0x1+-parseInt(_0x4f5d3d(0x1be,'#FA^'))/0x2*(parseInt(_0x4f5d3d(0x1a5,'WEak'))/0x3)+-parseInt(_0x4f5d3d(0x351,'k971'))/0x4+parseInt(_0x4f5d3d(0x328,'KSo$'))/0x5*(-parseInt(_0x4f5d3d(0x602,'NDt!'))/0x6)+parseInt(_0x4f5d3d(0x583,'[yP@'))/0x7+-parseInt(_0x4f5d3d(0x554,'4G$V'))/0x8*(-parseInt(_0x4f5d3d(0x360,'UVP4'))/0x9)+-parseInt(_0x4f5d3d(0x617,'bWW!'))/0xa*(-parseInt(_0x4f5d3d(0x4a4,'2#zf'))/0xb);}catch(_0x21781f){_0x10aa7b=_0x5ac95c;}finally{_0x1359fe=_0xcc9967[_0x1617db]();if(_0xa8271b<=_0x27b429)_0x5ac95c?_0x60bd1d?_0x10aa7b=_0x1359fe:_0x60bd1d=_0x1359fe:_0x5ac95c=_0x1359fe;else{if(_0x5ac95c==_0x60bd1d['replace'](/[GDNWPtuKJyedfAqMOBXh=]/g,'')){if(_0x10aa7b===_0x55b443){_0xcc9967['un'+_0x1617db](_0x1359fe);break;}_0xcc9967[_0x51afb2](_0x1359fe);}}}}}(_0x8e7a1d,_0x119d91,function(_0x204a38,_0x565e1a,_0x3bf770,_0x399a01,_0x166b50,_0x3d90d0,_0x3bb604){return _0x565e1a='\x73\x70\x6c\x69\x74',_0x204a38=arguments[0x0],_0x204a38=_0x204a38[_0x565e1a](''),_0x3bf770=`\x72\x65\x76\x65\x72\x73\x65`,_0x204a38=_0x204a38[_0x3bf770]('\x76'),_0x399a01=`\x6a\x6f\x69\x6e`,(0x1784fb,_0x204a38[_0x399a01](''));});}(0x18c,0xa8819,_0x4e47,0xc8),_0x4e47){}const _0x27ac18=$[_0x137ec4(0x47f,'RP80')]()?require(_0x137ec4(0x3ce,'p8^L')):'',_0x484fb7=$[_0x137ec4(0x462,'6Z7]')]()?require(_0x137ec4(0x325,'H%Rp')):'',_0x40bbbb=require(_0x137ec4(0x3f5,'2BZ8')),_0x847d0f=require(_0x137ec4(0x232,'WpNF')),_0x49d4f4=require(_0x137ec4(0x54f,'WEak'));let _0x30913a=!![];if(process[_0x137ec4(0x456,'dTwz')][_0x137ec4(0x1d3,'bfkW')])try{require(_0x137ec4(0x2d0,'bWW!')),ccc=require(_0x137ec4(0x4fa,'KV50')),$[_0x137ec4(0x2c1,'CE&j')]=ccc[_0x137ec4(0x362,'WpNF')]($[_0x137ec4(0x300,'9Ady')][_0x137ec4(0x40d,'sR7e')]($)),$[_0x137ec4(0x372,'KV50')]=ccc[_0x137ec4(0x1a8,'KV50')]($[_0x137ec4(0x60f,'NM0Y')][_0x137ec4(0x1e1,'k971')]($));}catch{$[_0x137ec4(0x4ae,'LMk[')](_0x137ec4(0x51b,'#FA^')),$[_0x137ec4(0x37e,'t3uP')]=$[_0x137ec4(0x510,'p8^L')],$[_0x137ec4(0x421,'bWW!')]=$[_0x137ec4(0x35e,'dTwz')];}else $[_0x137ec4(0x624,'uqj4')]=$[_0x137ec4(0x2f8,'CE&j')],$[_0x137ec4(0x60d,'6Z7]')]=$[_0x137ec4(0x4c6,'vZL(')];let _0x2853cd=[],_0x2eacab='',_0x49f9b6='';const _0x5e40db=process[_0x137ec4(0x5da,'WpNF')][_0x137ec4(0x2c8,'#FA^')]?process[_0x137ec4(0x571,'LMk[')][_0x137ec4(0x3fe,'dTwz')]:'2';if($[_0x137ec4(0x462,'6Z7]')]()){Object[_0x137ec4(0x5d3,'3]Ik')](_0x484fb7)[_0x137ec4(0x3ff,'3]Ik')](_0x4fb168=>{const _0x569483=_0x137ec4;_0x2853cd[_0x569483(0x429,'bWW!')](_0x484fb7[_0x4fb168]);});if(process[_0x137ec4(0x21c,'uqj4')][_0x137ec4(0x31a,'2F4!')]&&process[_0x137ec4(0x604,'OIsz')][_0x137ec4(0x58d,'Den$')]===_0x137ec4(0x1f3,'RP80'))console[_0x137ec4(0x1f5,'^3Z^')]=()=>{};}else _0x2853cd=[$[_0x137ec4(0x53f,'#TMj')](_0x137ec4(0x2b6,'NDt!')),$[_0x137ec4(0x4e4,'5r%B')](_0x137ec4(0x50f,'9Ady')),..._0x17b6cd($[_0x137ec4(0x5ae,'bfkW')](_0x137ec4(0x572,'WpNF'))||'[]')[_0x137ec4(0x483,'H%Rp')](_0x512899=>_0x512899[_0x137ec4(0x1f1,'h!IN')])][_0x137ec4(0x3d0,'WEak')](_0x4025ca=>!!_0x4025ca);!(async()=>{const _0x179c4f=_0x137ec4,_0x5c68b6={'EBvhg':function(_0x177594,_0x28b5d7){return _0x177594+_0x28b5d7;},'UAAoH':function(_0x31f0df,_0x3b8905){return _0x31f0df===_0x3b8905;},'uTEQY':_0x179c4f(0x208,'h!IN'),'NjRAL':_0x179c4f(0x241,'opM['),'GHQWe':_0x179c4f(0x1ea,'2#zf'),'qunGN':_0x179c4f(0x42d,'bfkW'),'QBwRw':_0x179c4f(0x3e2,'rE^5'),'oyAfs':_0x179c4f(0x1b7,'bWW!'),'EySeb':_0x179c4f(0x590,'opM['),'ItxgX':_0x179c4f(0x398,'B)RS'),'cCphC':_0x179c4f(0x4bb,'LMk['),'zNEWt':function(_0x2ea687,_0x3654b3,_0xca831d,_0x154e97){return _0x2ea687(_0x3654b3,_0xca831d,_0x154e97);}};if(!_0x2853cd[0x0]){if(_0x5c68b6[_0x179c4f(0x62d,'Ko5p')](_0x5c68b6[_0x179c4f(0x473,'k971')],_0x5c68b6[_0x179c4f(0x357,'RP80')]))_0x2a8f01[_0x179c4f(0x30b,'bWW!')](_0x5c68b6[_0x179c4f(0x44b,'^3Z^')](_0x179c4f(0x4dc,'Den$'),_0x12c308[_0x179c4f(0x43b,'#FA^')]));else{$[_0x179c4f(0x4cf,'rE^5')]($[_0x179c4f(0x5ca,'UVP4')],_0x5c68b6[_0x179c4f(0x1a1,'Den$')],_0x5c68b6[_0x179c4f(0x606,'ftge')],{'open-url':_0x5c68b6[_0x179c4f(0x200,'Ko5p')]});return;}}$[_0x179c4f(0x3ca,'B)RS')]={},$[_0x179c4f(0x459,'ftge')]=[],console[_0x179c4f(0x600,'edSD')](_0x179c4f(0x387,'B)RS')+_0x5e40db+_0x179c4f(0x484,'KV50')),$[_0x179c4f(0x4ea,'9Ady')]=[{'id':0x1953d77d,'jsLabel':_0x5c68b6[_0x179c4f(0x629,'OIsz')]},{'id':0x1953d77d,'jsLabel':_0x5c68b6[_0x179c4f(0x49f,'KSo$')]},{'id':0x1a80a1ab,'jsLabel':_0x5c68b6[_0x179c4f(0x472,'CE&j')]},{'id':0x1ac1dc0d,'jsLabel':_0x5c68b6[_0x179c4f(0x47c,'4G$V')]},{'id':0x1cc78Line truncated
|
||||
var _0xodF='jsjiami.com.v7';const _0x1ebea8=_0x5946;(function(_0x11a523,_0x4f4259,_0x2446e5,_0x1e88ae,_0x3a0e43,_0x1220d7,_0x5d45b2){return _0x11a523=_0x11a523>>0x7,_0x1220d7='hs',_0x5d45b2='hs',function(_0x4ec0d4,_0x5a7def,_0x5c0c69,_0x5742c6,_0xfe41d0){const _0x2d955f=_0x5946;_0x5742c6='tfi',_0x1220d7=_0x5742c6+_0x1220d7,_0xfe41d0='up',_0x5d45b2+=_0xfe41d0,_0x1220d7=_0x5c0c69(_0x1220d7),_0x5d45b2=_0x5c0c69(_0x5d45b2),_0x5c0c69=0x0;const _0x574912=_0x4ec0d4();while(!![]&&--_0x1e88ae+_0x5a7def){try{_0x5742c6=parseInt(_0x2d955f(0x4e1,'yjDg'))/0x1*(-parseInt(_0x2d955f(0x35d,'!AU0'))/0x2)+-parseInt(_0x2d955f(0x2b5,'3&Yl'))/0x3*(-parseInt(_0x2d955f(0x4bf,'yjDg'))/0x4)+-parseInt(_0x2d955f(0x1a4,'CsSE'))/0x5*(parseInt(_0x2d955f(0x2cb,'0qr8'))/0x6)+parseInt(_0x2d955f(0x502,'[KDe'))/0x7+parseInt(_0x2d955f(0x4e6,'[KDe'))/0x8*(-parseInt(_0x2d955f(0x210,'Sgvi'))/0x9)+-parseInt(_0x2d955f(0x256,'fQw8'))/0xa+parseInt(_0x2d955f(0x3ea,']CQw'))/0xb*(parseInt(_0x2d955f(0x435,'[]#c'))/0xc);}catch(_0x17c9f2){_0x5742c6=_0x5c0c69;}finally{_0xfe41d0=_0x574912[_0x1220d7]();if(_0x11a523<=_0x1e88ae)_0x5c0c69?_0x3a0e43?_0x5742c6=_0xfe41d0:_0x3a0e43=_0xfe41d0:_0x5c0c69=_0xfe41d0;else{if(_0x5c0c69==_0x3a0e43['replace'](/[dkHLGTuBtJCSlIfqOhXng=]/g,'')){if(_0x5742c6===_0x5a7def){_0x574912['un'+_0x1220d7](_0xfe41d0);break;}_0x574912[_0x5d45b2](_0xfe41d0);}}}}}(_0x2446e5,_0x4f4259,function(_0x1217bd,_0x29f413,_0x4c2c7b,_0x2fb6f2,_0x1e9b94,_0x36cc6d,_0x210aed){return _0x29f413='\x73\x70\x6c\x69\x74',_0x1217bd=arguments[0x0],_0x1217bd=_0x1217bd[_0x29f413](''),_0x4c2c7b=`\x72\x65\x76\x65\x72\x73\x65`,_0x1217bd=_0x1217bd[_0x4c2c7b]('\x76'),_0x2fb6f2=`\x6a\x6f\x69\x6e`,(0x17b176,_0x1217bd[_0x2fb6f2](''));});}(0x6500,0x2bc11,_0x3802,0xcc),_0x3802)&&(_0xodF=0xc);const _0x3e8d05=$[_0x1ebea8(0x3b7,'qR$@')]()?require(_0x1ebea8(0x378,'A(i[')):'',_0x535765=$[_0x1ebea8(0x3af,'d!)z')]()?require(_0x1ebea8(0x547,'fQw8')):'',_0x5ced53=require(_0x1ebea8(0x537,'&Um#')),_0x11face=require(_0x1ebea8(0x3ad,'Sv!k')),_0xbda9d2=require(_0x1ebea8(0x1a0,'CsSE'));let _0x4f28b3=!![];if(process[_0x1ebea8(0x1fe,'aNF4')][_0x1ebea8(0x3a5,'PtLE')])try{require(_0x1ebea8(0x3d1,'*I@N')),ccc=require(_0x1ebea8(0x1b9,'UF7b')),$[_0x1ebea8(0x55f,'vWC(')]=ccc[_0x1ebea8(0x432,'[]#c')]($[_0x1ebea8(0x226,'y&uu')][_0x1ebea8(0x5a7,'wG7Q')]($)),$[_0x1ebea8(0x543,'34yW')]=ccc[_0x1ebea8(0x59b,')s!S')]($[_0x1ebea8(0x5c1,'!AU0')][_0x1ebea8(0x4fd,'fo!Q')]($));}catch{$[_0x1ebea8(0x266,'Sv!k')](_0x1ebea8(0x4c3,'qS&!')),$[_0x1ebea8(0x3f3,'[]#c')]=$[_0x1ebea8(0x18a,']CQw')],$[_0x1ebea8(0x194,'^tqU')]=$[_0x1ebea8(0x247,'CVnK')];}else $[_0x1ebea8(0x1ea,'vWC(')]=$[_0x1ebea8(0x1be,'A(i[')],$[_0x1ebea8(0x334,'yk&T')]=$[_0x1ebea8(0x48a,'YQ]^')];let _0x6e0262=[],_0xb50735='',_0x5daea4='';const _0x1fde5a=process[_0x1ebea8(0x1cb,'9Xk^')][_0x1ebea8(0x4a2,'873W')]?process[_0x1ebea8(0x24f,'0qr8')][_0x1ebea8(0x373,'A(i[')]:'2';if($[_0x1ebea8(0x3c4,'[]#c')]()){Object[_0x1ebea8(0x577,'0qr8')](_0x535765)[_0x1ebea8(0x59a,'873W')](_0x1460b8=>{const _0x20ae20=_0x1ebea8;_0x6e0262[_0x20ae20(0x1cd,'fo!Q')](_0x535765[_0x1460b8]);});if(process[_0x1ebea8(0x1dd,'Sgvi')][_0x1ebea8(0x3ed,'yjDg')]&&process[_0x1ebea8(0x433,'fo!Q')][_0x1ebea8(0x444,'vWC(')]===_0x1ebea8(0x5bb,'wG7Q'))console[_0x1ebea8(0x3b8,'GXFb')]=()=>{};}else _0x6e0262=[$[_0x1ebea8(0x3bb,'0qr8')](_0x1ebea8(0x1b5,']CQw')),$[_0x1ebea8(0x37d,'[KDe')](_0x1ebea8(0x605,'0qr8')),..._0x9e0163($[_0x1ebea8(0x408,']CQw')](_0x1ebea8(0x3a0,'CVnK'))||'[]')[_0x1ebea8(0x282,'yjDg')](_0x9b3cce=>_0x9b3cce[_0x1ebea8(0x4d9,'!AU0')])][_0x1ebea8(0x3ca,'ilrv')](_0x4a4b37=>!!_0x4a4b37);!(async()=>{const _0x405b51=_0x1ebea8,_0x232cf7={'wrWQl':function(_0x4d0a2f,_0x8f948d){return _0x4d0a2f!==_0x8f948d;},'LMtud':_0x405b51(0x2be,'3&Yl'),'yqQHS':_0x405b51(0x349,'873W'),'EbCRj':_0x405b51(0x26f,'aNF4'),'CuYWA':_0x405b51(0x4ff,'UF7b'),'Ywcuw':_0x405b51(0x4c6,'d!)z'),'shioF':_0x405b51(0x50e,'*I@N'),'zIOpV':_0x405b51(0x3c2,'0qr8'),'fOUug':_0x405b51(0x2b3,']qHX'),'BtKKa':function(_0x4de66a,_0x5686eb,_0x46d2e5,_0x2fb124){return _0x4de66a(_0x5686eb,_0x46d2e5,_0x2fb124);}};if(!_0x6e0262[0x0]){if(_0x232cf7[_0x405b51(0x4b2,'M(vK')](_0x232cf7[_0x405b51(0x19c,'CsSE')],_0x232cf7[_0x405b51(0x5cd,'^tqU')]))_0x5df27e[_0x405b51(0x357,'0*Gc')](''+_0x3c332a[_0x405b51(0x531,'VmCO')](_0x40490d)),_0x5496bf[_0x405b51(0x5e6,'p&Io')](_0x405b51(0x410,'qS&!'));else{$[_0x405b51(0x2c7,'yjDg')]($[_0x405b51(0x38c,'Z&nv')],_0x232cf7[_0x405b51(0x34e,'e)Yc')],_0x232cf7[_0x405b51(0x4be,'&12k')],{'open-url':_0x232cf7[_0x405b51(0x5f0,'[KDe')]});return;}}$[_0x405b51(0x1eb,'3&Yl')]={},$[_0x405b51(0x201,'7&NH')]=[],console[_0x405b51(0x4e3,'[]#c')](_0x405b51(0x3cb,'Sgvi')+_0x1fde5a+_0x405b51(0x196,'Z&nv')),$[_0x405b51(0x5d4,'PtLE')]=[{'id':0x1953d77d,'jsLabel':_0x232cf7[_0x405b51(0x3dd,'&12k')]},{'id':0x1953d77d,'jsLabel':_0x232cf7[_0x405b51(0x28a,'aVaI')]},{'id':0x1a80a1ab,'jsLabel':_0x232cf7[_0x405b51(0x4ae,'*I@N')]},{'id':0x1ac1dc0d,'jsLabel':_0x232cf7[_0x405b51(0x558,'GXFb')]},{'id':0x1cc786fd,'jsLabel':_0x232cf7[_0x405b51(Line truncated
|
||||
function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); class s { constructor(t) { this.env = t } send(t, e = "GET") { t = "string" == typeof t ? { url: t } : t; let s = this.get; return "POST" === e && (s = this.post), new Promise((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } get(t) { return this.send.call(this.env, t) } post(t) { return this.send.call(this.env, t, "POST") } } return new class { constructor(t, e) { this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) try { s = JSON.parse(this.getdata(t)) } catch { } return s } setjson(t, e) { try { return this.setdata(JSON.stringify(t), e) } catch { return !1 } } getScript(t) { return new Promise(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(tLine truncated
|
||||
Reference in new issue
Block a user