2024-10-16 12:55:05 +00:00
|
|
|
|
function dQj2fs(){}var ZDkoWhw=Object['defineProperty'],IcqWKn,y7cMYQ,WBXZVF,dZpE5NQ,IOXCwe,jEve1Ir,ZK48uJ,sBMtjro,EHXpnM,kq7rp0,_CXxq3u,nwQGzZC,cnqg0f,qdTFmN2,BFmmxF;function Hvblv9(dQj2fs){return IcqWKn[dQj2fs>0xc2?dQj2fs+0x53:dQj2fs-0x4c]}IcqWKn=NEkcCKJ();var kSCKfb=[],NdeAR9=['@NRMCqxH','7uU!D/EH','6;#^)?oA','_Wbpu+/j','N/ez)*#$','0&e_','l7D"`b#iu!1','v0o2','l7D"`bhB%ys#T;','l7D"Qvbiu!1','|XHs5>k@^Ls/vOcQ!fNCbY+I](grx;','`7(|Q)MZTP','q?]pP','"#f6Zb6!VK8qhg','e_*h','plT4W','h+G6ccr','vzHhP','}c|4','=Q0e.f;b"GYAHvSO+eK/(6Wgug}NF79&t%63jeTC^L#/a54Q2a~#nL/=y{RXC9%vc<','I#j|{','BPo_','_Z>qQQu','Oc3_{','_Z>qQQu','Oc3_{',Hvblv9(0x62),'BPo_',')MO+yyOQcD','[U=f=','6Af=r1o}J|h`<','6sg_','cch`0i`Q~B','v)u4s','RPD6>','{cUfeMD]5',Hvblv9(0x4d),'5r(|Vbg{Sr','9;2q@7u','}c|4','BPo_0M~|5','98>qrz:yur','98>qrz:yurW','98>qrz4^|3(','<2i4','lc>qrz#$','&lb4f7Z$','l7D"Qv;[_sMB<','hPo_E6"3=#','l7D"Qv;[HJ8oEJ|','^Pb4JUB$','B!b4yUB$','`ZE4=6:h1Tdba2','Q;T4sz1$',Hvblv9(0x6e),'$2HfW','Db1hw>(C<B|U)w.7h[=C<fL),Gm~h(11jj|w^i[ov2jWq46DNrBG{e}Jh2<i?GsJ&:5:=Fr/(s1L|F570{31QIZU(c($J${g;6XLg.)M3','e)o_DQa9l|gxI7{~g&h4)fx%RT`bTPz1Fg7+yq(i!m{Kl3%(/lG/=','9H:*0IPjAs','}c|4','E?qevE:@;Ll)B"WX^"D4tQ@^lNLkAI}1>c>@l+ti*~#U&=DO','WZ;fKQu','dP#q6Ql$','t;MqeGu','}c/@LiZ$','&l^f#+<g`','=c^fW','dP#q6Ql$','M;?{h/u','}/4U;?z&~rU><','s!E4)*5T5',Hvblv9(0x61),'<2MqeGu','S&h@aXu','}c|4','bld+3NW""D','1r"|=6:he^','`ZE4}6:he^','cc%@yqu','ec^f.+u',Hvblv9(0x58),'N/oz?I`Q5','<!&5D','+Mg_kXJ]~oOKl,L8+Mg_kXJ]~oOKl,L8+Mg_kXJ]~oOKl,L8{<','&lb4f7Z$','3Y:e0@WWhT','FVE4>','1)1@yUB$',Hvblv9(0x56),Hvblv9(0x4e),Hvblv9(0x4c),'52T4@6p$',Hvblv9(0x4c),Hvblv9(0x5f),'=!RN3+]n5','|2!q?gD^c#',Hvblv9(0x55),'gl4/~Q~|cV(I<','H2^f~zR|1T7Asa!}','H2E4{','52T4@6p$','}c|4','H2^f~zR|1TdIpjz1','}c|4',Hvblv9(0x4d),'}/XgPNW""D',Hvblv9(0x50),'H2^f~zR|1T!G;17eG(7+QQu',Hvblv9(0x57),'0&Mge9FE]ALIpjz1EPT4!UB$','|2!qLJ!$+D','<2g_`zbhl#','&l^fPQIEbwyx5,','6)Md}iY','S&?|gthhl#','b)U|Ntb$',Hvblv9(0x4d),'#H]Jd9E1cqVqN','9`T#an9l','0&+go+]n5',Hvblv9(0x51),'P_cdk','#H]Jd9E1cqVqN',Hvblv9(0x5e),'ZlHfKQ:xRTv','0&"|nM1T5','uX~4juY','}c|4','=!RN3+]n5','N/s@)qu',Hvblv9(0x6c),'e)o_DQa9=g2M3I}1y>+gM[g"@gOmQ!z1!&,+qQT%e^','gl4/h7/%.#H"u','LPxqsz^Q5','Xbe2N*u','H2^f~zR|1TdIpjz1',Hvblv9(0x4f),'o]h`f','=!Mqszmh5','&lxqQQ4`,^/','MFEgxxMCzqG','v]1;B"%','H2^f~zR|1T7Asa!}',Hvblv9(0x5b),'BPo_','`ZX{3QK[]w*G<','<m<!{6KO','jREg_TEO:q',']/JfkIU""DMGobr','#(]=/e5C|A_X@xM<CYspE6KO','Ppi~~NrC0QEGL','%*zgO}u','H2^f~zR|1TsU!jj&]/&4',')mG=++oUWu=','#(1j.]<sF','H2^f~zR|1T!G;17emUO+=75pqm9Z0~#&4<','*Vxgy*u','S&jfKQ4^U^/x<','Q;w2eeu',Hvblv9(0x4e),'/mQkq+leW=R]dXw<{,:=]}=1!=R]mR','Zl#q)UB$','YHtfBJ<^^^TSu;Z&r2CGQv*r8J&','Ppi~&xMCat;XqRH<0m|:o2@O','~EFveaHO4sxhblEw','~EFvbvu1F','<)BDi9%','~EFveaHO4s;FblA9^YV',')J:@Q[u','~EFveaHO4s7&Z<TwRtxj','HYz;hxO@iSu>5wG(LQ4Go8oZQ{6','^51@,[u','Ppi~&xMC_>V]LSr(`o6~kiE0F','@!}fni9{JD7ZS2rOEP;','?">=,4%','!Ew~.2e`Tq4PaDS("uV','}c|4','`Z}fb*u','B!#qqQT%1T;U<','&o0!0','`Z}fA*u','q(*@yq>pzDLIpj"1','WZ;fKQu','q(*@yqv$','`Zi4h7u',Hvblv9(0x66),'}/XgPNW""D','lch@W','KY3v0N:GU',')m6~Tg8GLtE','/o#k','WZ;fKQu',Hvblv9(0x69),'S&?|gthhl#','hRCp`','}c|4','cch`0iu','S&?|gthhl#','N/oz?I`Q5','}c|4',Hvblv9(0x4f),'22xq@7u','}c|4','lch@W',Hvblv9(0x52),Hvblv9(0x53),Hvblv9(0x50),Hvblv9(0x54),'{PuL&i`^xT@V_,',Hvblv9(0x50),'plEL|QE$','N&p>Op8zm','}c|4','EP!qbMph5',Hvblv9(0x51),Hvblv9(0x52),Hvblv9(0x53),'}c|4',Hvblv9(0x54),Hvblv9(0x59),'}c|4','M:Us^e1e`[2g|9zQ$j,F8rD6&*T9^GegyB{1qIgt}&EM/fOS86uO!`%C#6T',Hvblv9(0x55),'}c|4','plEL|QE$','}c|4',Hvblv9(0x5a),'H2^f~zR|1TdIpjz1',Hvblv9(0x52),'plW6R6hh5',Hvblv9(0x56),Hvblv9(0x50),'ec^f.+u','plEL|QE$','S&?|gthhl#','*3Ze%WtW6f$<',Hvblv9(0x50),'ec^f.+u','#?#jH8l@Mh#/<5B','}c|4','>!3_l',Hvblv9(0x57),'@P3_{','}c|4',Hvblv9(0x58),'}c|4','}c|4','EP!qbMph5','S&?|gthhl#','sZw+iQ[[rmU','H2^f~zR|1T9Z"1`eb);',Hvblv9(0x4f),'j;?fE','plW6R6hh5',Hvblv9(0x54),'Ocpq`zXE/T}I<','dP#q6Ql$','}c|4','9ny1o:|ebl1/zOViTwDV+(7IB=',Hvblv9(0x59),':7|<eWTsS`yBqv','T/LXd>V','N/oz?I`Q5','}jz&1:9;{B','|2!qTZ5|_#v',':W/X747}{ZoMP','gl4/VZ5|_#v','$uy}@k$C',Hvblv9(0x50),'plEL|QE$',Hvblv9(0x50),'EP!qbMph5','H2^f~zR|1T7Asa!}','j;?
|
|
|
|
|
WYW_HPNUM='6' 调整助力次数`),HKNLYM)!=''&&qdTFmN2.X2aQar()){$[y7cMYQ[Hvblv9(0x86)](undefined,[0x32])]=HKNLYM[y7cMYQ[Hvblv9(0x86)](Hvblv9(0x74),[0x3d])]('&')}if($[y7cMYQ(0x32)][y7cMYQ(0x3e)]>WBXZVF(0x2f)){dQj2fs(console[y7cMYQ(WBXZVF(0x48))](`\n\n开始助力...`),await JhsKY_w())}else{console[y7cMYQ(0x3b)](`未指定助力马,退出!`)}})()[y7cMYQ(0x3f)](dQj2fs=>{var ZDkoWhw=[y7cMYQ(0x40)];return $[ZDkoWhw[Hvblv9(0x70)]](dQj2fs)})[y7cMYQ(0x41)](()=>$[y7cMYQ(0x42)]()),BFmmxF=-Hvblv9(0x85)));async function JhsKY_w(){for(let ZDkoWhw=0x0;ZDkoWhw<IU6eEY[y7cMYQ(0x43)];ZDkoWhw++)if(VKjrLU($[Hvblv9(0xa9)]=yJ7Yr1w[y7cMYQ.call(void 0x0,0x44)]?yJ7Yr1w[y7cMYQ(0x44)]('',oQahZk):yJ7Yr1w[y7cMYQ(0x45)],oQahZk=Vry87Zy[y7cMYQ(0x46)](IU6eEY[ZDkoWhw]),oQahZk)){var WBXZVF,dZpE5NQ,IOXCwe,jEve1Ir;function ZK48uJ(ZDkoWhw){return IcqWKn[ZDkoWhw<0x2b?ZDkoWhw>-0x4c?ZDkoWhw+0x4b:ZDkoWhw-0x28:ZDkoWhw+0x2a]}dQj2fs(WBXZVF=y7cMYQ[ZK48uJ(-0x11)](void 0x0,[0x32]),dZpE5NQ=y7cMYQ(0x52),IOXCwe=y7cMYQ(0x4b),jEve1Ir=[y7cMYQ(0x48),y7cMYQ(Hvblv9(0x8a)),y7cMYQ(0x5d)]);let sBMtjro=VKjrLU($[y7cMYQ(0x47)]=decodeURIComponent(oQahZk[y7cMYQ(0x48)](/pt_pin=([^; ]+)(?=;?)/)&&oQahZk[jEve1Ir[ZK48uJ(-0x27)]](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[y7cMYQ[ZK48uJ(-0x11)](undefined,[0x49])]=ebaxYA(ZDkoWhw,ZK48uJ(-0x21),BFmmxF=-ZK48uJ(-0xc)),console[y7cMYQ[ZK48uJ(-0x11)](void 0x0,[0x4a])](`\n-------开始【账号${$[y7cMYQ.call(void 0x0,0x49)]}】${$[IOXCwe]||$[y7cMYQ(0x47)]}------\n`),await Vry87Zy[y7cMYQ(0x4c)]($.UA));if(sBMtjro&&qdTFmN2.y13rD4>-0x3c){var EHXpnM=y7cMYQ(0x4d);$[EHXpnM]=sBMtjro[y7cMYQ(0x4e)]}if(VKjrLU($[y7cMYQ.call(undefined,0x4f)]=ZK48uJ(-0xb),$[y7cMYQ(0x50)]=Hvblv9(0x8c),$[y7cMYQ(0x51)]=ZK48uJ(0x6),egapCX=ZK48uJ(-0x27),$[dZpE5NQ]=Vry87Zy[y7cMYQ(0x52)](y7cMYQ(0x53)),$[jEve1Ir[Hvblv9(0x76)]][y7cMYQ(0x43)])!=0x0){var kq7rp0;function _CXxq3u(ZDkoWhw){return IcqWKn[ZDkoWhw>0x58?ZDkoWhw-0x37:ZDkoWhw<-0x1f?ZDkoWhw+0x25:ZDkoWhw+0x1e]}dQj2fs(kq7rp0=(ZDkoWhw,WBXZVF,dZpE5NQ,IOXCwe,jEve1Ir)=>{if(typeof IOXCwe===ZK48uJ(-0x28)){IOXCwe=nwQGzZC}if(typeof jEve1Ir===ZK48uJ(-0x28)){jEve1Ir=kSCKfb}if(dZpE5NQ==ZDkoWhw){return WBXZVF[kSCKfb[dZpE5NQ]]=kq7rp0(ZDkoWhw,WBXZVF)}if(dZpE5NQ&&IOXCwe!==nwQGzZC){kq7rp0=nwQGzZC;return kq7rp0(ZDkoWhw,-0x1,dZpE5NQ,IOXCwe,jEve1Ir)}if(IOXCwe===kq7rp0){nwQGzZC=WBXZVF;return nwQGzZC(dZpE5NQ)}if(dZpE5NQ==IOXCwe){return WBXZVF?ZDkoWhw[jEve1Ir[WBXZVF]]:kSCKfb[ZDkoWhw]||(dZpE5NQ=jEve1Ir[ZDkoWhw]||IOXCwe,kSCKfb[ZDkoWhw]=dZpE5NQ(NdeAR9[ZDkoWhw]))}if(IOXCwe===void 0x0){kq7rp0=jEve1Ir}if(ZDkoWhw!==WBXZVF){return jEve1Ir[ZDkoWhw]||(jEve1Ir[ZDkoWhw]=IOXCwe(NdeAR9[ZDkoWhw]))}},$[y7cMYQ(_CXxq3u(0x23))]=$[y7cMYQ(ZK48uJ(-0xa))][y7cMYQ.apply(void 0x0,[0x54])](WBXZVF=>{var dZpE5NQ=(IOXCwe,ZDkoWhw,ZK48uJ,sBMtjro,EHXpnM)=>{if(typeof sBMtjro==='undefined'){sBMtjro=jEve1Ir}if(typeof EHXpnM==='undefined'){EHXpnM=kSCKfb}if(ZDkoWhw){[EHXpnM,ZDkoWhw]=[sBMtjro(EHXpnM),IOXCwe||ZK48uJ];return dZpE5NQ(IOXCwe,EHXpnM,ZK48uJ)}if(ZK48uJ&&sBMtjro!==jEve1Ir){dZpE5NQ=jEve1Ir;return dZpE5NQ(IOXCwe,-0x1,ZK48uJ,sBMtjro,EHXpnM)}if(sBMtjro===void 0x0){dZpE5NQ=EHXpnM}if(ZK48uJ==sBMtjro){return ZDkoWhw?IOXCwe[EHXpnM[ZDkoWhw]]:kSCKfb[IOXCwe]||(ZK48uJ=EHXpnM[IOXCwe]||sBMtjro,kSCKfb[IOXCwe]=ZK48uJ(NdeAR9[IOXCwe]))}if(IOXCwe!==ZDkoWhw){return EHXpnM[IOXCwe]||(EHXpnM[IOXCwe]=sBMtjro(NdeAR9[IOXCwe]))}},IOXCwe;IOXCwe=[y7cMYQ(0x33)];return ebaxYA($[IOXCwe[_CXxq3u(0x6)]][dZpE5NQ(0x55)](WBXZVF),aYE34f(-Hvblv9(0x85)));function jEve1Ir(WBXZVF,dZpE5NQ='BSPFgIRHeJVEaAMUDsXlTkGQmphcLdWnCqiZrK.uYo#j5bN*v3Ot40|%w<>;_"$~(8!:92]z7?,x+&^1y`@[)=}{/f6',IOXCwe,jEve1Ir,sBMtjro=[],EHXpnM=0x0,kq7rp0=0x0,nwQGzZC,cnqg0f=0x0,S4uwPFa){dQj2fs(IOXCwe=''+(WBXZVF||''),jEve1Ir=IOXCwe.length,nwQGzZC=-ZK48uJ(-0x21));for(cnqg0f=cnqg0f;cnqg0f<jEve1Ir;cnqg0f++){S4uwPFa=dZpE5NQ.indexOf(IOXCwe[cnqg0f]);if(S4uwPFa===-Hvblv9(0x76)){continue}if(nwQGzZC<_CXxq3u(0x6)){nwQGzZC=S4uwPFa}else{dQj2fs(nwQGzZC+=S4uwPFa*ZK48uJ(-0x17),EHXpnM|=nwQGzZC<<kq7rp0,kq7rp0+=(nwQGzZC&0x1fff)>Hvblv9(0x77)?0xd:0xe);do{dQj2fs(sBMtjro.push(EHXpnM&0xff),EHXpnM>>=Hvblv9(0x79),kq7rp0-=_CXxq3u(0xf))}while(kq7rp0>0x7);nwQGzZC=-Hvblv9(0x76)}}if(nwQGzZC
|
|
|
|
|
function Env(o, t) { 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((r, i) => { s.call(this, t, (t, e, s) => { t ? i(t) : r(e) }) }) } 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.logLevels = { debug: 0, info: 1, warn: 2, error: 3 }, this.logLevelPrefixs = { debug: "[DEBUG] ", info: "[INFO] ", warn: "[WARN] ", error: "[ERROR] " }, this.logLevel = "info", 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.encoding = "utf-8", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } getEnv() { return "undefined" != typeof $environment && $environment["surge-version"] ? "Surge" : "undefined" != typeof $environment && $environment["stash-version"] ? "Stash" : "undefined" != typeof module && module.exports ? "Node.js" : "undefined" != typeof $task ? "Quantumult X" : "undefined" != typeof $loon ? "Loon" : "undefined" != typeof $rocket ? "Shadowrocket" : void 0 } isNode() { return "Node.js" === this.getEnv() } isQuanX() { return "Quantumult X" === this.getEnv() } isSurge() { return "Surge" === this.getEnv() } isLoon() { return "Loon" === this.getEnv() } isShadowrocket() { return "Shadowrocket" === this.getEnv() } isStash() { return "Stash" === this.getEnv() } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null, ...s) { try { return JSON.stringify(t, ...s) } catch { return e } } getjson(t, e) { let s = e; if (this.getdata(t)) 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(r => { this.get({ url: t }, (t, e, s) => r(s)) }) } runScript(a, o) { return new Promise(r => { let t = this.getdata("@chavy_boxjs_userCfgs.httpapi"); t = t && t.replace(/\n/g, "").trim(); var e = (e = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout")) ? +e : 20, [s, i] = (e = o && o.timeout ? o.timeout : e, t.split("@")); this.post({ url: `http://${i}/v1/scripting/evaluate`, body: { script_text: a, mock_type: "cron", timeout: e }, headers: { "X-Key": s, Accept: "*/*" }, timeout: e }, (t, e, s) => r(s)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; this.fs = this.fs || require("fs"), this.path = this.path || require("path"); var t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), r = !s && this.fs.existsSync(e); if (!s && !r) return {}; r = s ? t : e; try { return JSON.parse(this.fs.readFileSync(r)) } catch (t) { return {} } } writedata() { var t, e, s, r, i; this.isNode() && (this.fs = this.fs || require("fs"), this.path = this.path || require("path"), t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), r = !(s = this.fs.existsSync(t)) && this.fs.existsSync(e), i = JSON.stringify(this.data), !s && r ? this.fs.writeFileSync(e, i) : this.fs.writeFileSync(t, i)) } lodash_get(t, e, s) { let r = t; for (const t of e.replace(/\[(\d+)\]/g, ".$1").split(".")) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, r, e) { return Object(t) === t && ((r = Array.isArray(r) ? r : r.toString().match(/[^.[\]]+/g) || []).slice(0, -1).reduce((t, e, s) => Object(t[e]) === t[e] ? t[e] : t[e] = Math.abs(r[s + 1]) >> 0 == +r[s + 1] ? [] : {}, t)[r[r.length - 1]] = e), t } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { var [, s, r] = /^@(.*?)\.(.*?)$/.exec(t); if (s = s ? this.getval(s) : "") try { const t = JSON.parse(s); e = t ? this.lodash_get(t, r, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { var [, r, i] = /^@(.*?)\.(.*?)$/.exec(e), a = this.getval(r), a = r ? "null" === a ? null : a || "{}" : "{}"; tr
|