faker3/jd_wyw_withdraw.js

15 lines
82 KiB
JavaScript
Raw Normal View History

2024-06-28 15:38:28 +08:00
/*
2024-10-28 16:42:04 +08:00
活动名称新版玩一玩之摇一摇抽奖 提现
2024-06-28 15:38:28 +08:00
活动入口APP-我的-更多工具-玩一玩
2024-10-28 16:42:04 +08:00
活动建议定时自行修改奖票有效期2个月
2024-06-28 15:38:28 +08:00
2024-10-28 16:42:04 +08:00
cron:1 1 1 1 *
2024-06-28 15:38:28 +08:00
*/
2024-10-28 16:42:04 +08:00
const $ = new Env('新版玩一玩之摇一摇提现')
function zQO00k(){}var GQgbWTd=Object['defineProperty'],AOaC5L,Rneeo2,Gzl3zW,irXogt,u4lY1Hn,YYdl5Hh,as1rhWq,iXj1qc,IKhZUyc,ZxusO7,FE7XyW_,lucfag,XEca8d,aYFAJHA,o8au2Sv,YLoSrV;function gudCuf(zQO00k){return AOaC5L[zQO00k<0x8?zQO00k-0x9:zQO00k<0xcb?zQO00k>0x8?zQO00k-0x9:zQO00k+0x17:zQO00k+0x56]}AOaC5L=LmtPpxA();function CoXsXj8(zQO00k,GQgbWTd){Rneeo2(zQO00k,'\x6c\x65\x6e\x67\x74\x68',{value:GQgbWTd,configurable:!0x0});return zQO00k}zQO00k(Rneeo2=Object.defineProperty,Gzl3zW=CoXsXj8(Y1OuRoV((...GQgbWTd)=>{var Rneeo2=Y1OuRoV(GQgbWTd=>{return AOaC5L[GQgbWTd>0x106?GQgbWTd+0x33:GQgbWTd-0x44]},0x1);zQO00k(GQgbWTd[gudCuf(0x19)]=gudCuf(0xa),GQgbWTd[Rneeo2(0x44)]=-0x19);if(GQgbWTd[Rneeo2(0x44)]>gudCuf(0xb)){var Gzl3zW=Y1OuRoV(GQgbWTd=>{return AOaC5L[GQgbWTd>0x109?GQgbWTd+0x6:GQgbWTd-0x47]},0x1);return GQgbWTd[-Gzl3zW(0x54)]}else{return GQgbWTd[0x1](GQgbWTd[0x0]())}}),gudCuf(0xa))(qG_YiX,Pb2Zi0));var CO_PjEY=[],HgmNLu=[xagMDn(gudCuf(0x1f)),xagMDn(gudCuf(0x20)),xagMDn(0x2),xagMDn(gudCuf(0x22)),xagMDn(gudCuf(0x1e)),xagMDn(gudCuf(0x1a)),xagMDn(gudCuf(0x24)),'a1.VVMv|D',xagMDn(gudCuf(0x2a)),xagMDn(0x8),xagMDn(0x9),xagMDn(gudCuf(0x28)),xagMDn(0xb),xagMDn(0xc),xagMDn(gudCuf(0x2f)),xagMDn(gudCuf(0x30)),xagMDn(0xf),xagMDn(0x10),xagMDn(gudCuf(0x13)),xagMDn(gudCuf(0x32)),'id*C3q](fV4_M3h^CI|(f+$MueHX?mqopHL=u',xagMDn(0x13),xagMDn(0x14),xagMDn(0x15),xagMDn(0x16),xagMDn(0x12),xagMDn(0x17),xagMDn(gudCuf(0x17)),xagMDn(gudCuf(0x3c)),'wp1eXAw>}|_',xagMDn(0x1a),'yp1eXAw>}|i=,},Q9v','\u0075\u005e\u004d\u0067\u0044\u007c\u0058\u0056',xagMDn(0x1b),xagMDn(gudCuf(0x6b)),'bIeF#&|hU',xagMDn(0x1d),xagMDn(0x1e),xagMDn(0x1f),xagMDn(0x20),xagMDn(0x21),xagMDn(gudCuf(0x3f)),xagMDn(0x23),xagMDn(gudCuf(0xf)),xagMDn(gudCuf(0x40)),xagMDn(gudCuf(0x3e)),xagMDn(0x27),xagMDn(0x28),xagMDn(0x29),xagMDn(0x2a),xagMDn(gudCuf(0x3d)),xagMDn(0x14),xagMDn(0x2c),xagMDn(gudCuf(0xb)),xagMDn(gudCuf(0x18)),xagMDn(0x2f),gudCuf(0xe),xagMDn(0x30),xagMDn(gudCuf(0xc)),xagMDn(0x24),xagMDn(gudCuf(0xc)),'o|:WPw84FteHM@G&VLi',xagMDn(0x31),xagMDn(0x32),xagMDn(gudCuf(0x2d)),xagMDn(gudCuf(0xd)),xagMDn(0x35),xagMDn(0x36),xagMDn(0x37),xagMDn(0x38),xagMDn(0x39),xagMDn(gudCuf(0xd)),'\x66\x7c\x46\x57\x46\x2c\x7b\x47',xagMDn(0x3a),xagMDn(gudCuf(0x48)),xagMDn(0x3c),xagMDn(0x3d),xagMDn(0x3e),xagMDn(0x3f),xagMDn(gudCuf(0x4d)),xagMDn(0x41),xagMDn(gudCuf(0x4e)),xagMDn(0x43),xagMDn(gudCuf(0x4f)),xagMDn(0x45),'p5WTbefiQ/j6k%Jq#cU7,JVo[ys})pp)nH`QRu:AIN~7n;|1~!G</','/mTc"iU$>7yaER6OL6r<d,q|~e5mERO=7tLBj3X',xagMDn(0x46),'F0^L^|cdQj',xagMDn(0x47),xagMDn(0x48),xagMDn(gudCuf(0x56)),xagMDn(0x4a),xagMDn(0x4b),xagMDn(gudCuf(0x58)),xagMDn(gudCuf(0x59)),xagMDn(0x4e),xagMDn(gudCuf(0x5a)),xagMDn(0x50),xagMDn(0x51),gudCuf(0xe),xagMDn(0x52),xagMDn(0x53),xagMDn(0x54),xagMDn(gudCuf(0x2c)),xagMDn(0x56),xagMDn(0x57),xagMDn(gudCuf(0x2e)),xagMDn(gudCuf(0x3a)),xagMDn(gudCuf(0xf)),xagMDn(0x5a),xagMDn(gudCuf(0x1d)),'\u004c\u0039\u005a\u0053\u002a\u0028\u0075\u007e\u0033\u002a\u0072\u0045\u0022\u0078\u0024\u002b\u0039\u0046\u007a\u006c\u005e\u0077\u002e\u0068\u0021\u007e\u0050\u003f\u0028\u0045\u0059\u002c\u005b\u0045\u0060\u0076\u0068\u0029\u0034\u0064\u002f\u007c\u006a\u0075\u0074\u0049\u0075\u0077\u007b\u0023\u006e\u0060\u0060\u0033\u005f\u0063\u006f\u0061\u002e\u0060\u002f\u002b\u0070\u0077',xagMDn(0x24),xagMDn(0x5c),xagMDn(gudCuf(0xc)),xagMDn(0x5d),xagMDn(0x5e),xagMDn(0x5f),xagMDn(0x18),xagMDn(gudCuf(0x63)),xagMDn(gudCuf(0x10)),xagMDn(gudCuf(0x11)),xagMDn(0x14),gudCuf(0xe),xagMDn(gudCuf(0x12)),xagMDn(gudCuf(0xc)),xagMDn(0x11),xagMDn(gudCuf(0xc)),xagMDn(gudCuf(0xc)),gudCuf(0x14),xagMDn(gudCuf(0x15)),xagMDn(0x65),xagMDn(gudCuf(0x10)),xagMDn(gudCuf(0x11)),xagMDn(gudCuf(0xc)),'\x26\x31\x7c\x22\x24\x5e\x6e',xagMDn(gudCuf(0x12)),xagMDn(gudCuf(0xc)),xagMDn(0x11),xagMDn(gudCuf(0xc)),xagMDn(0x14),xagMDn(0x66),xagMDn(0x67),xagMDn(gudCuf(0x72)),xagMDn(gudCuf(0x4c)),xagMDn(0x69),xagMDn(0x14),xagMDn(0x62),xagMDn(gudCuf(0xc)),'&1|"$^n',xagMDn(0x63),xagMDn(0x14),xagMDn(gudCuf(0x13)),xagMDn(0x14),xagMDn(0x14),gudCuf(0x14),xagMDn(0x6a),xagMDn(0x6b),xagMDn(0x6c),xagMDn(0x6d),xagMDn(0x6e),xagMDn(gudCuf(0xc)),xagMDn(gudCuf(0xb)),xagMDn(gudCuf(0x
2024-06-28 15:38:28 +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