mirror of https://github.com/KingRan/KR.git
28 lines
106 KiB
JavaScript
28 lines
106 KiB
JavaScript
|
/*
|
|||
|
大牌联合0808期
|
|||
|
|
|||
|
活动地址:https://jinggengjcq-isv.isvjcloud.com/jdbeverage/pages/oC20230808aslw/oC20230808aslw?actId=cb9168cb545f40419_230808
|
|||
|
|
|||
|
自行运行,有水无水自测。
|
|||
|
|
|||
|
变量填写:
|
|||
|
黑名单 用&隔开 pin值
|
|||
|
//export DPLHTY_blacklist=""
|
|||
|
重试次数,默认30
|
|||
|
//export retrynum="30"
|
|||
|
如需修改抽奖次数请设置环境变量:
|
|||
|
//export opencard_draw="3" //次数
|
|||
|
填地址变量看库说明
|
|||
|
|
|||
|
第一个账号助力作者 其他依次助力CK1
|
|||
|
注意:第一个CK黑号会全部助力所填写的助力码
|
|||
|
============Quantumultx===============
|
|||
|
[task_local]
|
|||
|
#大牌联合0808期
|
|||
|
1 1 1 1 * jd_dplh0808.js, tag=大牌联合0808期, enabled=true
|
|||
|
*/
|
|||
|
let opencard_toShop = "false"
|
|||
|
const $ = new Env("大牌联合0808期");
|
|||
|
var version_='jsjiami.com.v7';const iiIIi1=iii1II;function Iii11l(){const llIi1I=(function(){return[version_,'kShjCNsVjyVinaykGmSnNieF.TScWRomS.tvK7lY==','jCo4BhxdRM7dGSk1W7aZWOa7W7OD','WONcQCkrrdi','uNZcGmkGuG','WR/cPxFdSComcCkY','mJddGSoImq','W4T6W48DW7ddSG','ishdJSomaMC','W7NdOItcQ8kyt8oXE2OmiIv6','rs/cTfxdUa','kmkrWQb/WQC','W4FdPmkTlSka','xmkLBmoNlszzWR3cNMtdUCoWW7ZcQaDj','mSoRW4ObWPa','WRZcGmoZuZm','W5bOp8odWR4','WPD+WPa','W6vnW5aNW7i','iwFdQdjk','8l+gImo/5zgA6z6l55Ip5y++6yoN5l6H5yQ65yINhq','oCkEWOn5WQXaBCokWQBdI8kDya','oIFdRSoLb27dV8oI','zLxdTSkAjq','W7NdT8kLWPtdQW','kI55bIa','iSo1W7joFhrD','W6hdG8kcWQy','W7NdKSkoWRZdKCowW7zb','W4P9W7ucW6FcRCk7W4JdVdS3bMrspu3cJXJcHI3cN8oybSkoW6NdTYVcPvhdLHVdUmoYySkMW5xdLG','W4yFrCkvW6C','WR5RWQLllG','8l2LS8kV5BY35yUu5yMS5yMIWQ8','WRjWW4iZW50','y27cQfu','WPtdRGBcHguroxG6vSkLW4FdMCkOWQVcKmk3W6tcQSoxqSoKWPxdGSkRzLKcW77dSmoD','WQdcNSkgBWG','Fgm9WQHyW6JdLse','aq3cICo9jrhcOCoR','WPddUGtcMey','W7ykWOb1jW','lmoWW7zJDwW','W7GJWPb5o8orcCkMd8kurSoQpgXDW53cJCkwW7m','emkrbq','pxLlpmoj','jwPIcmo2abBcJ8kUW5pcICokWRH7WQS','bHFcUCoQmGVcVa','W4ldS8kEfCkJ','fLldTaLxWRj3qG','p8oUqxxdPg8','W5nFsSoqWR0','W47cVmozWPybya','W4GcDSkMW5S','WOLaWP51kq','hmkFltddOG','BLjObZZdIatdGhZcLCkBWRW','W5xdICkYoSoLWPW','wJNcH23cLmoxW4XpWRW','W7FdHCkdWQJdOa','W65+WRLDDSkIW40mWQJdRbddRSkThHpcM8oeoWDKzvZcMtOaW4f/WQ4gW6nXaG','wSoTWR8','W7v+WQXzoCo+','DMCKWR3cTq','omo8yN8','WPJdTvpdLmkZ','W4O/W4W1W7y','WQ5pWRrPdW','n8kBWOz5WRa','W4j2xCovWRe','lrHOetpdIY8','WOZdSmkjW5PmDCklACo3W7rZ','W7LGbSoeWOdcQSozk8kSW6pcNSoXwYS','WR0LWPjAW4xcNfSlWOBdVq9vxmo0fSorWPeZW4q3w8o+W5ffdmkwWQZdVxxdUmolAIScnr9fbetcLSoSW61YCCkqW6O9kJJcVg5XD8oFW4/cGavgsaydW4yCvu0LhSkMW68iW73cTe80W6vHW597W4/cOmoeuK8fWP8sjSoT','WQX7ySoWua','kCkKgwVcUW','WOxcQ8kgqIKDW4WKdmoDW70uW6Spxq','W45TWQXIbW','5OQU5lIh77+m','wKe3','z10DWRlcPa','W7hdRSkSWOJdTa','WOVdL0ddHa','ASkzsSoSnq','xSk8AmoY','nColW5WZWPRcGW','8jkgQrlLPi/PNBlMIjRLPzFORRZOR43NVQZNJ4ZLOP3LJANPH4uhWRxdSGRdHmkumbxdJ8o7WRSKW7mCl+s6JhhdH8oJpcFKUjpMR6pMLRq','WR/dJ8kjW43cLmoYkCkeW74UW6JcMeitW6v1Aq','WPzWWOnVWOy','W69KWQLinmocWOq','o3n9eSo8cG','m8kOc17cKuFdOq','WPHcWPHpka','gmkOehpcLepdTCoMW5u','jmo4Fg/dRh4','sbmXrJTsoG','i8kQhxNcQa','BMqYWQH0W4NdGYVdRbfxW50','yWNcQKdcV8oYW7bU','W6v/W7SHW7i','AmooW594WPpcNmoigmkWW7RdRHxcV8oSa8oAmmoJW6PBW7W5nSo6W79GE8owbuv4W4GIbSkmWRFcNmoBrmknWOxdN8onf8oPWPKMEmotWRiVW4xdR8ovn8k3haRdOCkBoXhdOa','WQJdUgddUmkk','5Ocl55Qr5OMI5P6M5yYI5Bsy6kcb5yEc5lQy6lEe5yYn57I95A+W5P+/5BQi5l+R5zol776r6k+D5yEe55IO6zQB5y2q6lwa5y6F6kEn57Mv','AmoUpdZdP8kVWPqzW6hdN2zju8k8W6i','W4yBt8kdW7S','8l2JRCkV56IE5Rkn','WPX0DCo8veulWQ/dQtK','F8k7v8oAea','mmoKEgNdGW','WOddPmoPa8oD','kmoYW7rNyLHFg3BcI3ddVq','vwulWQHZ','D0GUu2RcMN7dVgZcHSkXWQmU','WQdcV3m','W4HdpSoPWOBcU8oAdCk6W5VcHCoYrW','W5bSW6WtW73dUCoeWOJdVZWT','W5zmi8o4','xSk6C8oGlsa','WOXWWP54','W4jrESokWQe','6kYc5yMH6zU55OEN5zYKmdD0guROVzJLHO3MO7xKVlxML73LHBVLRlxdJUw4S+ISKEMaUEI9KEIhVoAEI+wnPoIpRowpUHxdT8kYWO4Dlq','W44HALRdOW','w103','WRD4W5SWW4ZdGmki','gCooqhldOq','auxdSHrCWPfNxbNcHaiJ','wwJcPSkjrW','WPxdMe3dLCkLW7ldOq','W77dMSoQdSo6fSo0WOPSnqNcIXPnWQldO8kv','WRZdICksW5ZcVW','mghdLsPm','WOxcSmkOqX0','jmo8yx7dR2C','WQb6W4K7W47dISkvEwm','WONcRCkwvdSjW6u','WQNcP0pdGSop','FX84BcS','W4VdTSkNaSk/','WQVcRSkJDYm','g8oXWOeAcmoyxtNdTeFdTSoExH/dRtJdVs7cJSkIhc3dLmo2nZJdMG4nxCopDvBcUY4wWO0','5lQS5PIc5l2q5zou','aWpcTSo8mJFcQq','kCkMexZcKKS','cSo3WP4PcG','W5D4WPDFba','n8ontf7dRG','lHX2bW','WRhcIZZcSCkT','6zIe5P2d5OIY5y6Y5yQP55Mb5PEp6lAY5zYV5z6m5lYF5OoU5Qgw5B6Z5A+g5z6j6zw+6k2H77+v5y2N5PsS5lUj6ioA5lUf56UO776B','WRPzW6mIW4e','W45SW68vW6ddVW','8yAxGSof6ykN6k6T5lUu5PEWyW','WQ3cS23dH8oK','W5jhW5K2W6u','WPbOCCo6uM0GWRxdUtpcRXO','yNRdMmk3na','WO7cRmk8vZm','8j6IImoP5zg+5zkL5zcj77YX5BEw5A+k5OMv5yQo6lsh5lQv5yQf','W54BEW','8jkGISo45zot5zoO5zc877Ys5BA95A6O5OI15yEl5RkX5lQR5yUZ','WQT1WP9LWPS','W7pdP8kYnCkBW6a','p8oZE3/dSM/dVCkOW60eWReYW6WYWR/cKsC','8yUiLCky5zcO5zcb5zgT772Q6yEm6k655B+q5y2x','ir5VcYtdHt7dLK3cKSkz','W5dcPCoYWQCh','a8ofW4iHWQa','W7zLW6OOW6q','W6OJW7GlW6m','W59uWP9JpIbtnsGSlmktW697yce9','hCoRiSkR','WOZdTwxdG8kQ','WPTlW5KHca','WQJcMSo7CdW','D27cOfJcNbTCssm','WR/dKSkZW4FcGSoY','W41clq','
|
|||
|
// 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
|