2023-12-05 17:20:15 +08:00
|
|
|
|
/*
|
|
|
|
|
欢乐淘金(发财挖宝)
|
|
|
|
|
入口:APP —— 玩一玩 —— 欢乐淘金
|
|
|
|
|
|
|
|
|
|
地址:
|
|
|
|
|
https://bnzf.jd.com/?activityId=cNAsHasSnzWTAtWhIQR4dA // 需链接进入查看
|
|
|
|
|
https://bnzf.jd.com/?activityId=Bn1VWXtvgTv5ewPoMR-X8A // app默认入口
|
|
|
|
|
|
|
|
|
|
请先运行助力任务脚本 jd_fcwb_help.js
|
|
|
|
|
|
|
|
|
|
目前无需助力可完成第一关 奖励为 0.55红包/0.1现金
|
|
|
|
|
|
|
|
|
|
全部通关需下2单,推荐助力满后领取奖励
|
|
|
|
|
|
|
|
|
|
环境变量:
|
|
|
|
|
JD_FCWB_ID 指定活动ID 不指定默认 APP入口 格式:Bn1VWXtvgTv5ewPoMR-X8A
|
|
|
|
|
JD_FCWB_ROUND 指定剩余血量 非必须,不填默认剩余 1 退出
|
2023-12-05 18:30:59 +08:00
|
|
|
|
JD_FCWB_TXNUM 轮询提现页数 默认查询第一页,一般无需填写
|
2023-12-05 17:20:15 +08:00
|
|
|
|
JD_FCWB_EXCHANGE 达到剩余血量是否领取奖励,默认不启用(领取奖励后相当于结束当天活动,无法继续挖宝,请自行对应设置)
|
|
|
|
|
JD_FCWB_SWISH 是否延长提现时间,默认不延长(true/false)
|
|
|
|
|
|
|
|
|
|
代理变量:
|
|
|
|
|
本地IP理论正常助力,也无需开启代理
|
|
|
|
|
JD_FCWB_PROXY_OPEN 代理启用变量,默认不开启(true/false)
|
|
|
|
|
JD_FCWB_PROXY_TUNNRL 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port
|
|
|
|
|
JD_FCWB_PROXY_URL API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx
|
|
|
|
|
JD_FCWB_NO_PROXY 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改
|
|
|
|
|
|
|
|
|
|
cron:1 1 1 1 *
|
|
|
|
|
============Quantumultx===============
|
|
|
|
|
[task_local]
|
|
|
|
|
#欢乐淘金(发财挖宝)任务
|
|
|
|
|
1 1 1 1 * jd_fcwb_auto.js, tag=欢乐淘金(发财挖宝)任务, enabled=true
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
const $ = new Env('欢乐淘金(发财挖宝)任务')
|
2023-12-05 18:30:59 +08:00
|
|
|
|
var iil='jsjiami.com.v7';const IlI1=iii1II;(function(iII111,Ili1ii,lIiIil,llIiii,IlII,IiIili,llIiil){return iII111=iII111>>0x6,IiIili='hs',llIiil='hs',function(IlIi11,l1ll1l,III1iI,iIIlIl,iIIlIi){const III1i1=iii1II;iIIlIl='tfi',IiIili=iIIlIl+IiIili,iIIlIi='up',llIiil+=iIIlIi,IiIili=III1iI(IiIili),llIiil=III1iI(llIiil),III1iI=0x0;const iilIll=IlIi11();while(!![]&&--llIiii+l1ll1l){try{iIIlIl=parseInt(III1i1(0x218,'zHHp'))/0x1*(-parseInt(III1i1(0x246,'KHG1'))/0x2)+parseInt(III1i1(0x13c,'SpBD'))/0x3+parseInt(III1i1(0x423,'VGU('))/0x4*(parseInt(III1i1(0x2bd,'V%3z'))/0x5)+-parseInt(III1i1(0x1ac,'(FvF'))/0x6+-parseInt(III1i1(0xd3,'8Cjw'))/0x7+parseInt(III1i1(0x3b3,'Pc)$'))/0x8*(-parseInt(III1i1(0x311,'lgZ!'))/0x9)+parseInt(III1i1(0x2e1,'sNvA'))/0xa;}catch(iilIli){iIIlIl=III1iI;}finally{iIIlIi=iilIll[IiIili]();if(iII111<=llIiii)III1iI?IlII?iIIlIl=iIIlIi:IlII=iIIlIi:III1iI=iIIlIi;else{if(III1iI==IlII['replace'](/[AXhedUYODBJElfukrqSI=]/g,'')){if(iIIlIl===l1ll1l){iilIll['un'+IiIili](iIIlIi);break;}iilIll[llIiil](iIIlIi);}}}}}(lIiIil,Ili1ii,function(IlIi1I,i111I,llIiiI,IiIilI,lIiIl1,iilIl1,l1II1){return i111I='\x73\x70\x6c\x69\x74',IlIi1I=arguments[0x0],IlIi1I=IlIi1I[i111I](''),llIiiI=`\x72\x65\x76\x65\x72\x73\x65`,IlIi1I=IlIi1I[llIiiI]('\x76'),IiIilI=`\x6a\x6f\x69\x6e`,(0x14a5f8,IlIi1I[IiIilI](''));});}(0x3140,0xd77aa,Iii11l,0xc7),Iii11l)&&(iil=IlI1(0x432,'hbV8'));function iii1II(_0xddda8c,_0x3522ce){const _0x361cc5=Iii11l();return iii1II=function(_0x5e24af,_0x50e685){_0x5e24af=_0x5e24af-0xc3;let _0x3c2d9a=_0x361cc5[_0x5e24af];if(iii1II['hbIDUS']===undefined){var _0x51d98e=function(_0x3e0431){const _0x442411='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x337ddb='',_0x1fad0c='';for(let _0x1de7ee=0x0,_0x10ad7a,_0x338635,_0x530744=0x0;_0x338635=_0x3e0431['charAt'](_0x530744++);~_0x338635&&(_0x10ad7a=_0x1de7ee%0x4?_0x10ad7a*0x40+_0x338635:_0x338635,_0x1de7ee++%0x4)?_0x337ddb+=String['fromCharCode'](0xff&_0x10ad7a>>(-0x2*_0x1de7ee&0x6)):0x0){_0x338635=_0x442411['indexOf'](_0x338635);}for(let _0x52423e=0x0,_0x49e38c=_0x337ddb['length'];_0x52423e<_0x49e38c;_0x52423e++){_0x1fad0c+='%'+('00'+_0x337ddb['charCodeAt'](_0x52423e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1fad0c);};const _0x1665d7=function(_0xc39863,_0x533c93){let _0x5d4192=[],_0x3bc4c4=0x0,_0x43e368,_0x310c07='';_0xc39863=_0x51d98e(_0xc39863);let _0x4ab27a;for(_0x4ab27a=0x0;_0x4ab27a<0x100;_0x4ab27a++){_0x5d4192[_0x4ab27a]=_0x4ab27a;}for(_0x4ab27a=0x0;_0x4ab27a<0x100;_0x4ab27a++){_0x3bc4c4=(_0x3bc4c4+_0x5d4192[_0x4ab27a]+_0x533c93['charCodeAt'](_0x4ab27a%_0x533c93['length']))%0x100,_0x43e368=_0x5d4192[_0x4ab27a],_0x5d4192[_0x4ab27a]=_0x5d4192[_0x3bc4c4],_0x5d4192[_0x3bc4c4]=_0x43e368;}_0x4ab27a=0x0,_0x3bc4c4=0x0;for(let _0x3ae7c3=0x0;_0x3ae7c3<_0xc39863['length'];_0x3ae7c3++){_0x4ab27a=(_0x4ab27a+0x1)%0x100,_0x3bc4c4=(_0x3bc4c4+_0x5d4192[_0x4ab27a])%0x100,_0x43e368=_0x5d4192[_0x4ab27a],_0x5d4192[_0x4ab27a]=_0x5d4192[_0x3bc4c4],_0x5d4192[_0x3bc4c4]=_0x43e368,_0x310c07+=String['fromCharCode'](_0xc39863['charCodeAt'](_0x3ae7c3)^_0x5d4192[(_0x5d4192[_0x4ab27a]+_0x5d4192[_0x3bc4c4])%0x100]);}return _0x310c07;};iii1II['LIygQl']=_0x1665d7,_0xddda8c=arguments,iii1II['hbIDUS']=!![];}const _0xd4ca67=_0x361cc5[0x0],_0x298262=_0x5e24af+_0xd4ca67,_0x9d0594=_0xddda8c[_0x298262];return!_0x9d0594?(iii1II['iTrfhr']===undefined&&(iii1II['iTrfhr']=!![]),_0x3c2d9a=iii1II['LIygQl'](_0x3c2d9a,_0x50e685),_0xddda8c[_0x298262]=_0x3c2d9a):_0x3c2d9a=_0x9d0594,_0x3c2d9a;},iii1II(_0xddda8c,_0x3522ce);}const l1lIl=require(IlI1(0x106,'mgz@')),Ii1l1l=require(IlI1(0x167,'$BH!')),i1Iiil=require(IlI1(0x3e2,'cFmJ')),i1Iiii=require(IlI1(0x467,'hbV8')),l1lIi=process['env'][IlI1(0x1eb,'9hWJ')]||'1',l1lili=process[IlI1(0x1f6,'V%3z')][IlI1(0x3bb,'hD$s')]||'Bn1VWXtvgTv5ewPoMR-X8A',IIlI1l=process['env'][IlI1(0x37f,'phEz')]?process['env'][IlI1(0x20a,'VGU(')]:'1',lI1I11=process['env'][IlI1(0x277,'VGU(')]===IlI1(0x2f4,'%3cZ'),IilIl=process['env']['JD_FCWB_SWISH']===IlI1(0x2b1,'mao%'),IilIi=process['env'][IlI1(0x1d1,'sNvA')]||'3',Ili1Il=process['env'][IlI1(0x2a6,'2QHl
|
2023-12-05 17:20:15 +08:00
|
|
|
|
// prettier-ignore
|
|
|
|
|
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.d
|