KR/jd_car_play.js

28 lines
77 KiB
JavaScript
Raw Normal View History

2023-07-27 16:14:01 +08:00
/*
头文字J
任务助力游戏
第一个账号助力作者 其他依次助力CK1
注意第一个CK黑号会全部助力所填写的助力码
定时自行选择不要跑太多账号不要跑太多账号不要跑太多账号
会永久黑IP如果运行就提示 此ip已被限制请过10分钟后再执行脚本 只能更换IP
变量CAR_COOKIE_NUM 跑多少账号
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#头文字J
1 1 1 1 * jd_car_play.js, tag=头文字J, enabled=true
*/
const $ = new Env("头文字J");
var version_='jsjiami.com.v7';const _0x34e049=_0x2586;(function(_0x2cca4f,_0x5ad5ba,_0x1b719a,_0x23fe01,_0x1d546f,_0x22e4fb,_0x335fa1){return _0x2cca4f=_0x2cca4f>>0x3,_0x22e4fb='hs',_0x335fa1='hs',function(_0x5943b4,_0x16148f,_0xe3fdaf,_0x5bc3b9,_0x293599){const _0x1e2fdb=_0x2586;_0x5bc3b9='tfi',_0x22e4fb=_0x5bc3b9+_0x22e4fb,_0x293599='up',_0x335fa1+=_0x293599,_0x22e4fb=_0xe3fdaf(_0x22e4fb),_0x335fa1=_0xe3fdaf(_0x335fa1),_0xe3fdaf=0x0;const _0x56ca46=_0x5943b4();while(!![]&&--_0x23fe01+_0x16148f){try{_0x5bc3b9=-parseInt(_0x1e2fdb(0x190,'A6kw'))/0x1+-parseInt(_0x1e2fdb(0x2d4,'MCI6'))/0x2+-parseInt(_0x1e2fdb(0x2eb,'1PC('))/0x3*(-parseInt(_0x1e2fdb(0x25a,'Oh4U'))/0x4)+-parseInt(_0x1e2fdb(0x299,'MCI6'))/0x5*(-parseInt(_0x1e2fdb(0x185,'sXc5'))/0x6)+-parseInt(_0x1e2fdb(0x2c5,'U@bt'))/0x7+-parseInt(_0x1e2fdb(0x1ff,'X^aP'))/0x8+-parseInt(_0x1e2fdb(0x1f2,'CH2R'))/0x9*(-parseInt(_0x1e2fdb(0xd3,')v5E'))/0xa);}catch(_0x490391){_0x5bc3b9=_0xe3fdaf;}finally{_0x293599=_0x56ca46[_0x22e4fb]();if(_0x2cca4f<=_0x23fe01)_0xe3fdaf?_0x1d546f?_0x5bc3b9=_0x293599:_0x1d546f=_0x293599:_0xe3fdaf=_0x293599;else{if(_0xe3fdaf==_0x1d546f['replace'](/[lQhxuCtpySFUedRDEYHV=]/g,'')){if(_0x5bc3b9===_0x16148f){_0x56ca46['un'+_0x22e4fb](_0x293599);break;}_0x56ca46[_0x335fa1](_0x293599);}}}}}(_0x1b719a,_0x5ad5ba,function(_0x408cd0,_0x17a9a9,_0x44a326,_0x13753d,_0x430560,_0x399be2,_0x6f081d){return _0x17a9a9='\x73\x70\x6c\x69\x74',_0x408cd0=arguments[0x0],_0x408cd0=_0x408cd0[_0x17a9a9](''),_0x44a326='\x72\x65\x76\x65\x72\x73\x65',_0x408cd0=_0x408cd0[_0x44a326]('\x76'),_0x13753d='\x6a\x6f\x69\x6e',(0x12f014,_0x408cd0[_0x13753d](''));});}(0x630,0x5f3a0,_0x1cfd,0xc8),_0x1cfd)&&(version_=_0x1cfd);const _0x51275f=$['isNode']()?require(_0x34e049(0x17e,'0g9F')):'',_0x44b5f4=$[_0x34e049(0x246,'Eg5e')]()?require(_0x34e049(0x181,'V929')):'',_0xb7dee5=require(_0x34e049(0x311,'w#EP'));CryptoJS=$['isNode']()?require(_0x34e049(0x272,'[p2Z')):CryptoJS;let _0x4b4c29=[],_0x3b4165='';function _0x1cfd(){const _0x4aa588=(function(){return[version_,'YEjdphsjSyiREHaUFmQliuD.EucloxthmC.vVp7e==','WPtcLefVxG','wG/cP8kDx10FkXpdSSoypa','vdqoW7X5','W7VdGmowamkrWRFdNdLxW61uW7JdNsrkWRKqt1qUW6FcNd1YW4a1WR1CWPqq','WOOzW4nWW78','e8k3W5RcSCkG','gmkhW4dcNSkUWRiP','FaSUW4X+','FCkoEYVcT8k9','ESofWPWGqa','W5ldOmoll8k/','W6uMbe1WW53dNq','jSoiW74','WO4kWPyZCYrjegRdPCkwfCk+CCoFA8k7','DSk+W7u','WO0cWOGL','WO3cScVcOajUWP3dMWBcImkEWRFcGbnCW7NdJLRdH2BdOG','WPxcM8k8WPVcVW','BoIUIoIhSUIJPoEITEISG+I3L+woQos6VEAAK+wsIoM6KowpPo+8UUM4JEwpIos8T+whQEMcOUwjREwlRUw/REwiSowkJUwlOW','WPBdOSkG','BSkwyIRcQq','a1zWWRWAumkVW702kIKVWOa','y0NcRq','WRK3cGfZW5ZdGCoKWOi5WQRcPSkOwCo6WQCXrx4kaHddTmoAhw1QESkrWOG8tLBdOWhdHZCYA2fLW5NdKIJcTSoxWOdcUeBcHvVcJ8oBlmkiadDtWQxcOvitE2bXWPi','WQCxBCoIW5K','W43cIgNcNmox','WQddGg/cSCkB','vSkxW7T2k8oqW4RcTSo9uW','hGFcJK7cHG','W5FdMCoEiSkrWRFdLJ4','a1CbsZW','5zgO6zYD55QC5y2F6ycM5l695yMy5yUeWOC','bwSQAG0lW70','lSogW63cPa','WOJdINtcTmk+','E8kays7cTa','6i6F5y2a5REs5yU/5l+L5OcT5As66lsG77Yx5y+P6icX5PMg6BQ95y+d','DCo8rmoQuCon','W4tdLSkkWQDEhNa','WPmmWOWUBG','WPtcJrC','s2ZcRmkCxmowW47dNW','W6eIehLc','WOqgWPedEZLUn2ldVa','tCoKWPS4DG9UDMHNWQSm','WQldIf3cQ8k7W6NdLG','WOpdJKi','WOr9fmk5','W7RcQSkSW6vi','sCojFCoVzW','fmkEWQeozG','WRpcUr3dSsK','W7aaj1RcPG','WORcVJldRW','EZhcR8kIo8k7W41xWQSBqmoMWReRdmkaWOC','frD5W5RcVSoMWPiR','W4XPhWNcQSoAsCopW7X5W7OdW5VcKCktWOhdSmkhWRjPBCkSW7GLWQuGgrdcG8k6W7NcRGDAWQtdLJBdKmotWORcPdb2q8oolmoxpG7dJSkQxNhdV0NcQ8omWRFdN0xcRmk/jCkOW4NcHmkbdmoDabtcPCosa2z0W6WIWR5DWRKquf7dSvhdP8kxDmozW5L6ymoIWQdcL8omWQmgW5b5WQ5xW5TgWOmBm8o2WQRdILlcJSkQWQFdJmoSheSGWO4ymrtdRrpdMGfCWRCaWQCFW5pcISkbWRNcHmkmWOWMW7LnkbLieSkcW7u5WOy0WRe5Fw98WRKevmoHWOJcP8kXjtfSgCoUDmkMW4VcUSotaGxdKrJcKCkjWOVdJuNdGCoFqcBcT8k5fqbEWOtcJbNcNZJdLdxcSSk+W6K','WO3dVmkWftO','WP/cQmoTWP3cSW','AeBcTN4','e8kwW5lcNmkA','W4K5eMpcNInOW69V','WP7cSa7dMYi','W7/dGSoua8kkWPNdMd5nW6nDWRi','z8kozGZcT8k8W4ZdJSoBlSo1W6yOhG','WQNcGSktw8olW6ZcIHDXW6T4WRVdMa','W4yCW5W2W73dJCknW4DLWQFdImkuxY0sW5mtaCoIWQFdNYGkWQHlWQuYWORcIgKssmkQcCoHW7ldISknWPZdRmkmWQDnW4S6WPK/W5GIWQ/cLWueW79yW4m','WPFdUSk+W6TH','WPRcNSo5W6n9Aq','bSkHW4ivbG','W5ZcKmk0WQVcU2jtxLhd
// 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