2023-08-11 20:33:46 +08:00
|
|
|
|
/*
|
|
|
|
|
发财挖宝助力
|
2023-08-28 10:32:03 +08:00
|
|
|
|
更新时间:2023-8-28
|
2023-08-11 20:33:46 +08:00
|
|
|
|
活动入口:京东APP-发财挖宝
|
|
|
|
|
|
|
|
|
|
变量:
|
2023-08-28 13:29:15 +08:00
|
|
|
|
//export krWait="秒" //自行填写变量,延时多长时间。(不填写默认延时1秒)
|
2023-08-11 20:33:46 +08:00
|
|
|
|
|
|
|
|
|
//export fcwbhelpnum="人数" //自行填写变量,需要邀请多少人停止。(不填写默认邀请60停止)
|
|
|
|
|
|
2023-08-28 13:29:15 +08:00
|
|
|
|
//export jd_fcwb_id="活动ID" // 不填默认跑地址2邀请
|
|
|
|
|
|
|
|
|
|
挖宝目前有2个地址
|
|
|
|
|
地址1:https://bnzf.jd.com/?activityId=xpEf-M3RyE8Cd8nP8Zd0eA
|
|
|
|
|
地址2:https://bnzf.jd.com/?activityId=cNAsHasSnzWTAtWhIQR4dA
|
|
|
|
|
|
2023-08-11 20:33:46 +08:00
|
|
|
|
cron:7 7 7 7 *
|
|
|
|
|
============Quantumultx===============
|
|
|
|
|
[task_local]
|
|
|
|
|
#发财挖宝助力
|
2023-08-28 13:29:15 +08:00
|
|
|
|
cron:7 7 7 7 * jd_fcwb_mfhelp.js, tag=KR发财挖宝助力-加密, enabled=true
|
2023-08-11 20:33:46 +08:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
const $ = new Env('发财挖宝助力');
|
2023-08-28 13:29:15 +08:00
|
|
|
|
var version_='jsjiami.com.v7';const llliill1=ilIll1Ii;(function(illIIii,illl1li,I1111lIl,l1iiI11i,l1Il1lII,l1I1liiI,IIi111il){return illIIii=illIIii>>0x6,l1I1liiI='hs',IIi111il='hs',function(iliI111I,I1l1IIii,llII11l1,Ii1IlI1i,iiiliIil){const ii1lIIl=ilIll1Ii;Ii1IlI1i='tfi',l1I1liiI=Ii1IlI1i+l1I1liiI,iiiliIil='up',IIi111il+=iiiliIil,l1I1liiI=llII11l1(l1I1liiI),IIi111il=llII11l1(IIi111il),llII11l1=0x0;const iIii1I=iliI111I();while(!![]&&--l1iiI11i+I1l1IIii){try{Ii1IlI1i=parseInt(ii1lIIl(0x160,'ahiI'))/0x1+-parseInt(ii1lIIl(0x11a,'6v*!'))/0x2*(parseInt(ii1lIIl(0x1f3,'dQ#b'))/0x3)+-parseInt(ii1lIIl(0x151,'o7aQ'))/0x4+parseInt(ii1lIIl(0x1bc,'WUs$'))/0x5*(parseInt(ii1lIIl(0x173,'H^jS'))/0x6)+parseInt(ii1lIIl(0xcb,'aG$)'))/0x7+-parseInt(ii1lIIl(0x12b,'o7aQ'))/0x8*(parseInt(ii1lIIl(0x14f,'DoUQ'))/0x9)+-parseInt(ii1lIIl(0x15d,'QOOB'))/0xa*(-parseInt(ii1lIIl(0x12d,'3YSa'))/0xb);}catch(iiIlII1){Ii1IlI1i=llII11l1;}finally{iiiliIil=iIii1I[l1I1liiI]();if(illIIii<=l1iiI11i)llII11l1?l1Il1lII?Ii1IlI1i=iiiliIil:l1Il1lII=iiiliIil:llII11l1=iiiliIil;else{if(llII11l1==l1Il1lII['replace'](/[IDVlLdYgUrkwFqMxSJW=]/g,'')){if(Ii1IlI1i===I1l1IIii){iIii1I['un'+l1I1liiI](iiiliIil);break;}iIii1I[IIi111il](iiiliIil);}}}}}(I1111lIl,illl1li,function(lIlIiIll,l1I1I1I1,II1lI11,iiI1I111,i1II1,IIiiIIi1,Ii1liI){return l1I1I1I1='\x73\x70\x6c\x69\x74',lIlIiIll=arguments[0x0],lIlIiIll=lIlIiIll[l1I1I1I1](''),II1lI11=`\x72\x65\x76\x65\x72\x73\x65`,lIlIiIll=lIlIiIll[II1lI11]('\x76'),iiI1I111=`\x6a\x6f\x69\x6e`,(0x13b7d8,lIlIiIll[iiI1I111](''));});}(0x2fc0,0xc5b28,I1IlIIiI,0xc1),I1IlIIiI)&&(version_=I1IlIIiI);const I1l1lI1I=$[llliill1(0x148,'aG$)')]()?require('./sendNotify'):'',I1Il1II1=require('./function/jdCommon'),lI1lliIl=require('./function/h5st41.js'),IIiIliiI=$['isNode']()?require(llliill1(0x206,'F#TR')):'',i11I11Ii=llliill1(0x182,'9aF8');let ll1i1Il1=[],liiIiIi='',Il1iIiil,i1IlIi1=[];$['hasEnd']=![];let iIllIII1=llliill1(0x243,')n9s');process[llliill1(0xc3,'jT&j')][llliill1(0xec,'TauR')]&&process[llliill1(0x119,'WUs$')][llliill1(0x10e,'DoUQ')]!=llliill1(0x154,'#!YA')&&(iIllIII1=process[llliill1(0x180,'9aF8')]['jd_fcwb_id']);var i1ilIii=new Date()['getTime']();let llI1li1l='1',iiliIiiI='';llI1li1l=$['isNode']()?process['env'][llliill1(0xa9,'DcMp')]?process[llliill1(0xd6,'8*v(')][llliill1(0x125,'xhWG')]:''+llI1li1l:$['getdata'](llliill1(0x1e2,'mvw3'))?$[llliill1(0x13c,'@Z^k')](llliill1(0xb2,'2@Zw')):''+llI1li1l,CryptoJS=$[llliill1(0x1cd,'PYLu')]()?require(llliill1(0x1a5,'qAKj')):CryptoJS;if($['isNode']()){Object[llliill1(0xed,'F#TR')](IIiIliiI)['forEach'](lIii1lil=>{ll1i1Il1['push'](IIiIliiI[lIii1lil]);});if(process['env'][llliill1(0x1a3,'65aa')]&&process['env'][llliill1(0xcc,'xhWG')]==='false')console[llliill1(0xaf,'65aa')]=()=>{};}else ll1i1Il1=[$[llliill1(0x145,'9aF8')](llliill1(0x16f,'Ahpe')),$[llliill1(0x19f,'KpRZ')]('CookieJD2'),...Il111ilI($[llliill1(0x1f2,'ahiI')](llliill1(0x129,'@Y)o'))||'[]')[llliill1(0x10a,'TauR')](lll1I1ii=>lll1I1ii[llliill1(0x177,'H^jS')])][llliill1(0x1be,'@Y)o')](l1il1IiI=>!!l1il1IiI);let ll11iII='60',Iil11Ili='';ll11iII=$[llliill1(0x187,'$IvA')]()?process['env'][llliill1(0x22d,'2@Zw')]?process[llliill1(0x17f,'TauR')][llliill1(0x1a2,'65aa')]:''+ll11iII:$[llliill1(0x22e,'1KVT')](llliill1(0xdd,'aG$)'))?$[llliill1(0x1da,'aG$)')]('fcwbhelpnum'):''+ll11iII,Iil11Ili=$[llliill1(0xb5,'F#TR')]()?process[llliill1(0xf0,'Ryze')][llliill1(0x224,'KlKo')]?process[llliill1(0x209,'QlO2')][llliill1(0x183,'G%)R')]:''+Iil11Ili:$[llliill1(0x19a,'TauR')](llliill1(0x20e,'kSjX'))?$[llliill1(0x21b,'wXbp')]('nolanh5st_token'):''+Iil11Ili,!(async()=>{const lIlIIill=llliill1,liIi1Iii={'BmUUJ':lIlIIill(0x142,'!a10'),'HyIfk':lIlIIill(0x14a,'qAKj'),'HlUVR':'https://bean.m.jd.com/bean/signIndex.action','XjSzP':function(ilillIii,I1illl1I){return ilillIii+I1illl1I;},'djejg':lIlIIill(0xb9,'3YSa'),'ZdEEg':function(IlII1III,I1i1lIli){return IlII1III+I1i1lIli;},'TsErH':lIlIIill(0x1e4,'6v*!'),'yeoYu':function(lIiililI,lIlll11I){return lIiililI(lIlll11I);},'ZosHk':function(ll1IIl11,IliIllIi){return ll1IIl11===IliIllIi;},'LehgQ':lIlIIill(0x1dd,'1KVT'),'zzJkH':function
|
2023-08-11 20:33:46 +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
|