KR/jd_dplh080102.js

28 lines
103 KiB
JavaScript
Raw Normal View History

2023-08-01 20:06:42 +08:00
/*
大牌联合080102期
活动地址https://jinggengjcq-isv.isvjcloud.com/jdbeverage/pages/oC2023080102def/oC2023080102def?actId=2ed080b73da54d4c98c9_23080102
自行运行有水无水自测
变量填写
黑名单 &隔开 pin值
//export DPLHTY_blacklist=""
重试次数默认30
//export retrynum="30"
如需修改抽奖次数请设置环境变量
//export opencard_draw="3" //次数
2023-08-01 20:50:02 +08:00
填地址变量看库说明
2023-08-01 20:06:42 +08:00
第一个账号助力作者 其他依次助力CK1
注意第一个CK黑号会全部助力所填写的助力码
============Quantumultx===============
[task_local]
#大牌联合080102期
1 1 1 1 * jd_dplh080102.js, tag=大牌联合080102期, enabled=true
*/
let opencard_toShop = "false"
const $ = new Env("大牌联合080102期");
2023-08-02 08:44:28 +08:00
var version_='jsjiami.com.v7';const IiIIII=iii1II;(function(iI1Ii,IiIIIl,IiIIIi,lI11l,iI1Il,i111il,i111ii){return iI1Ii=iI1Ii>>0x6,i111il='hs',i111ii='hs',function(lI11i,ilI11,li1llI,lIil11,iIilII){const lIil1I=iii1II;lIil11='tfi',i111il=lIil11+i111il,iIilII='up',i111ii+=iIilII,i111il=li1llI(i111il),i111ii=li1llI(i111ii),li1llI=0x0;const lIlI1=lI11i();while(!![]&&--lI11l+ilI11){try{lIil11=-parseInt(lIil1I(0x3db,'4Gl$'))/0x1*(parseInt(lIil1I(0x3fd,'tSVC'))/0x2)+-parseInt(lIil1I(0x26d,'j7wW'))/0x3*(parseInt(lIil1I(0x142,'LA#Z'))/0x4)+parseInt(lIil1I(0x1b8,'kQ0E'))/0x5+parseInt(lIil1I(0x386,'vIT)'))/0x6*(-parseInt(lIil1I(0x50a,'G#9e'))/0x7)+-parseInt(lIil1I(0x472,'a0)i'))/0x8*(-parseInt(lIil1I(0x40b,'woc$'))/0x9)+parseInt(lIil1I(0x4b7,'WVy5'))/0xa+parseInt(lIil1I(0x3ea,'zeyG'))/0xb;}catch(lIllI1){lIil11=li1llI;}finally{iIilII=lIlI1[i111il]();if(iI1Ii<=lI11l)li1llI?iI1Il?lIil11=iIilII:iI1Il=iIilII:li1llI=iIilII;else{if(li1llI==iI1Il['replace'](/[UlfTGyxNeRqbrkpQOtV=]/g,'')){if(lIil11===ilI11){lIlI1['un'+i111il](iIilII);break;}lIlI1[i111ii](iIilII);}}}}}(IiIIIi,IiIIIl,function(Ill1,lI1i1i,il1IiI,il1Ii1,lI1i1l,li1ll1,iI1II){return lI1i1i='\x73\x70\x6c\x69\x74',Ill1=arguments[0x0],Ill1=Ill1[lI1i1i](''),il1IiI='\x72\x65\x76\x65\x72\x73\x65',Ill1=Ill1[il1IiI]('\x76'),il1Ii1='\x6a\x6f\x69\x6e',(0x137488,Ill1[il1Ii1](''));});}(0x3300,0xcd01d,Iii11l,0xce),Iii11l)&&(version_=Iii11l);const lIiIiI=$[IiIIII(0x15b,'%!Q)')]()?require(IiIIII(0x484,'Vrrh')):'',ilIliI=$[IiIIII(0x261,'u&yB')]()?require(IiIIII(0x14d,'wIll')):'';let II1li=[],Ii1lIi='';if($[IiIIII(0x4c4,'HlGd')]()){Object[IiIIII(0x228,'vIT)')](lIiIiI)['forEach'](lIl1Ii=>{const i111iI=IiIIII;II1li[i111iI(0x49c,'[xp7')](lIiIiI[lIl1Ii]);});if(process[IiIIII(0x28b,'9u6w')][IiIIII(0x21b,'5KuJ')]&&process['env']['JD_DEBUG']===IiIIII(0x4b2,'bZ#M'))console['log']=()=>{};}else II1li=[$[IiIIII(0x188,'n8lp')]('CookieJD'),$[IiIIII(0x30e,'G#9e')](IiIIII(0xe8,'rwOr')),...IIlIII($[IiIIII(0x14b,'4Gl$')](IiIIII(0x2e2,'FO&V'))||'[]')[IiIIII(0x15e,'%!Q)')](lIl1Il=>lIl1Il['cookie'])]['filter'](Ii1IlI=>!!Ii1IlI);let li11il='30',ll1lII='0';li11il=$[IiIIII(0x2fe,'[cXJ')]()?process['env'][IiIIII(0x3ad,'T(mI')]?process[IiIIII(0x207,'%!Q)')]['retrynum']:li11il:$['getdata'](IiIIII(0x1fb,'j7wW'))?$[IiIIII(0x498,'Bbic')](IiIIII(0x2ad,'[cXJ')):ll1lII,ll1lII=$['isNode']()?process['env'][IiIIII(0x3cb,'%5zD')]?process[IiIIII(0x28b,'9u6w')]['opencard_draw']:ll1lII:$[IiIIII(0x42a,'Irmc')](IiIIII(0x353,'%!Q)'))?$[IiIIII(0x3b2,'LA#Z')](IiIIII(0xe6,'FO&V')):ll1lII,opencard_toShop=$[IiIIII(0x247,'OiHj')]()?process[IiIIII(0x2f6,'%5zD')][IiIIII(0x400,'%@bK')]?process[IiIIII(0x15a,'!7Jk')]['opencard_toShop']:''+opencard_toShop:$[IiIIII(0x1be,'0PDN')]('opencard_toShop')?$[IiIIII(0x124,'9u6w')](IiIIII(0x400,'%@bK')):''+opencard_toShop,allMessage='',message='',$['hotFlag']=![],$[IiIIII(0x3f5,'WVy5')]=![],$[IiIIII(0xcb,'zeyG')]=![];let Ii1lIl='',iIIIiI='',li1iI='',I1IIi1='',ll1lI1=IiIIII(0x366,'0PDN');CryptoJS=$[IiIIII(0x261,'u&yB')]()?require(IiIIII(0x32c,'0PDN')):CryptoJS;const II1ll=require(IiIIII(0x1a6,'WVy5')),liii11=require(IiIIII(0x268,'OiHj')),lIiIii=require(IiIIII(0x44e,'qCCF'));let i1Ill='https://jinggengjcq-isv.isvjcloud.com';I1IIi1=$[IiIIII(0x4fd,'zeyG')]()?process['env']['helpnum']?process[IiIIII(0x468,'bZ#M')][IiIIII(0x27a,'n8lp')]:''+I1IIi1:$[IiIIII(0xed,'8a*R')](IiIIII(0x2e3,']#(u'))?$['getdata'](IiIIII(0x470,'%!Q)')):''+I1IIi1;let Il1I11='',lIl1II='';function Iii11l(){const ll1I1l=(function(){return[version_,'VRjflysGjROiQaxmtyqi.UcobemT.pevf7kNQrNQ==','u18UW7bLbCkpWO3dMSkV','eCoeWOtdGvS','WOvdxSogWQS','fwqLWRyv','W6BdHaHohW5/','C8ozCW','m2CRWQ8HEW','W6JdJX3dQq','W4nZWQRdUG','WPJdM1eMW7rDfSkibW','xf9DW5xcSG','nxaEWRaHEXW','8yY3KSoG','jCoMW5RdOSoi','W6OpWRzoWOjYBSof','WO48W4Pxase','WQWgWPxdLubEEW','W48CmGRdHbCoW6BdL8kLW5/dUdnl','BxldMtFcGW','rLS1W543WRqKF1CPWQ1PzCkW','d8oHemkMrW','j8oXW54YW6TUW59NyCo0','pwCFWQWYurZdPf9BW4NdUG','wY7cVW','WOhdG8k8WRHHtmoOW7S','WRqbWOtdK1fFCq','WR4jbXxdKwFdV2hcQ8kyA8owz8ohW6pdQbPzp8kyjSkP','BSolzLCb','WQyNW7n/dW','WOZcT1atW6GrW6qU','WQuLWQZdKSkT','pdKrWQ3dJCoQW7FLVA3LP6pJGRhKU
2023-08-01 20:06:42 +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