faker3/jd_wyw_ffl.js

10 lines
174 KiB
JavaScript
Raw Normal View History

2024-07-02 23:09:05 +08:00
/*
2024-09-23 20:29:55 +08:00
35 0-23/3 * * * jd_wyw_ffl.js
2024-07-02 23:09:05 +08:00
*/
2024-09-23 20:29:55 +08:00
const $ = new Env('玩一玩-翻翻乐');
function _0x9A0AAEC(){}var _0x0068BE3=Object['defineProperty'],_0x0C35B8,_0xFB5A917,_0xFE1AE1E,_0xB95F16,_0xC3F21BF,_0xB55CD3B,_0xBFA5B1,_0x0A4F1F6,_0xCA07E6,_0x37F80DC,_0xF4795A,_0x36BDF0,_0xEC68741,_0x62BCF0,_0x26D9E8,_0xA93306F,_0x5455FFA,_0xB23ED8;function _0xA21D646(_0x9A0AAEC){return _0x0C35B8[_0x9A0AAEC>0x194?_0x9A0AAEC+0x1c:_0x9A0AAEC<0x194?_0x9A0AAEC<0x194?_0x9A0AAEC-0x6:_0x9A0AAEC+0x51:_0x9A0AAEC+0x2b]}_0x0C35B8=_0x88A529();function _0x0DF933(_0x9A0AAEC,_0x0068BE3){_0xFB5A917(_0x9A0AAEC,'length',{value:_0x0068BE3,configurable:_0xA21D646(0x9f)});return _0x9A0AAEC}_0x9A0AAEC(_0xFB5A917=Object.defineProperty,_0xFE1AE1E=_0x7B0AB8((_0x9A0AAEC,_0x0068BE3)=>{return _0x0068BE3(_0x9A0AAEC())},0x2)(_0x77F2A6,_0xBC0DB85));var _0x36D79F=[],_0xF639BA=[_0xD080B74(0x0),_0xD080B74(_0xA21D646(0x3c)),_0xD080B74(_0xA21D646(0x51)),_0xD080B74(0x3),_0xD080B74(_0xA21D646(0x3b)),_0xD080B74(_0xA21D646(0x39)),_0xD080B74(0x6),_0xD080B74(_0xA21D646(0x45)),_0xD080B74(0x8),_0xD080B74(0x9),_0xD080B74(0xa),_0xD080B74(_0xA21D646(0x4e)),_0xD080B74(_0xA21D646(0x46)),_0xD080B74(0xd),_0xD080B74(_0xA21D646(0x5b)),_0xD080B74(0xf),_0xD080B74(0x10),_0xD080B74(0x11),_0xD080B74(0x12),_0xD080B74(0x13),_0xD080B74(_0xA21D646(0x69)),'|%KVJ/5',_0xD080B74(0x15),_0xD080B74(0x11),_0xD080B74(0x16),_0xD080B74(_0xA21D646(0x6)),_0xD080B74(0x18),_0xD080B74(0x19),_0xD080B74(_0xA21D646(0x82)),_0xD080B74(0x1b),_0xD080B74(0x1c),_0xD080B74(_0xA21D646(0x83)),_0xD080B74(0x10),_0xD080B74(0xd),_0xD080B74(_0xA21D646(0x38)),'|1jxj',_0xD080B74(_0xA21D646(0x40)),_0xD080B74(0x20),_0xD080B74(0x21),_0xD080B74(0x22),_0xD080B74(0x23),_0xD080B74(_0xA21D646(0x73)),_0xD080B74(_0xA21D646(0x8b)),_0xD080B74(0x26),_0xD080B74(_0xA21D646(0x68)),_0xD080B74(_0xA21D646(0x8c)),_0xD080B74(_0xA21D646(0x8d)),_0xD080B74(_0xA21D646(0x61)),_0xD080B74(0x2b),_0xD080B74(0x2c),_0xD080B74(_0xA21D646(0x22)),_0xD080B74(_0xA21D646(0x89)),_0xD080B74(0x2f),_0xD080B74(0x30),_0xD080B74(0x31),_0xD080B74(_0xA21D646(0x9)),_0xD080B74(_0xA21D646(0xfa)),_0xD080B74(_0xA21D646(0x92)),_0xD080B74(_0xA21D646(0x7f)),_0xD080B74(_0xA21D646(0x65)),_0xD080B74(_0xA21D646(0x93)),_0xD080B74(_0xA21D646(0x52)),_0xD080B74(_0xA21D646(0x28)),_0xD080B74(_0xA21D646(0x29)),_0xD080B74(_0xA21D646(0x95)),_0xD080B74(0x3c),_0xD080B74(0x3d),_0xD080B74(_0xA21D646(0x6)),_0xD080B74(_0xA21D646(0x72)),_0xD080B74(0x3f),_0xD080B74(0x40),_0xD080B74(_0xA21D646(0x60)),_0xD080B74(_0xA21D646(0x97)),_0xD080B74(0x43),_0xD080B74(0x44),_0xD080B74(_0xA21D646(0x99)),_0xD080B74(_0xA21D646(0x9a)),_0xD080B74(_0xA21D646(0x2a)),_0xD080B74(_0xA21D646(0x7)),_0xD080B74(_0xA21D646(0x96)),_0xD080B74(0x4a),_0xD080B74(0x4b),_0xD080B74(0x4c),_0xD080B74(_0xA21D646(0x9e)),_0xD080B74(0x4e),_0xD080B74(0x4f),_0xD080B74(_0xA21D646(0x8)),_0xD080B74(0x39),_0xD080B74(0x51),_0xD080B74(_0xA21D646(0xad)),'|qt^WQg&,9"c=54j"Sv`qDc]fKR.KPV~Y"5:w+<XI>4{,7]<U,sU)',_0xD080B74(_0xA21D646(0x48)),'~[d9)61v|!','R_?`z61v|!',_0xD080B74(_0xA21D646(0xa0)),_0xD080B74(_0xA21D646(0xa1)),_0xD080B74(_0xA21D646(0x55)),_0xD080B74(0x57),_0xD080B74(_0xA21D646(0x54)),_0xD080B74(0x59),_0xD080B74(_0xA21D646(0xa4)),_0xD080B74(0x5b),_0xD080B74(_0xA21D646(0xa)),_0xD080B74(0x46),_0xD080B74(0x47),_0xD080B74(_0xA21D646(0x7)),_0xD080B74(0x17),_0xD080B74(0x4f),_0xD080B74(_0xA21D646(0x8)),_0xD080B74(0x5c),'P,L)J/||b81',_0xD080B74(_0xA21D646(0x9)),_0xD080B74(0x5d),_0xD080B74(_0xA21D646(0x12)),_0xD080B74(_0xA21D646(0x14)),_0xD080B74(_0xA21D646(0xb)),_0xD080B74(_0xA21D646(0xc)),_0xD080B74(_0xA21D646(0xf)),_0xD080B74(0x63),_0xA21D646(0x1f),_0xD080B74(0x64),_0xD080B74(_0xA21D646(0x11)),_0xD080B74(_0xA21D646(0xb6)),_0xD080B74(0x17),_0xD080B74(0x67),_0xD080B74(_0xA21D646(0xb7)),_0xD080B74(0x69),_0xD080B74(_0xA21D646(0x76)),_0xD080B74(_0xA21D646(0xb9)),_0xD080B74(_0xA21D646(0x17)),_0xD080B74(0x6d),_0xD080B74(_0xA21D646(0xa)),_0xD080B74(_0xA21D646(0xba)),_0xD080B74(0x32),_0xD080B74(0x6f),_0xD080B74(0x70),_0xD080B74(_0xA21D646(0xbf)),_0xD080B74(0x72),_0xD080B74(_0xA21D646(0xd)),_0xD080B74(_0xA21D646(0xbd)),_0xD080B74(_0xA21D646(0xe)),_0xA21D646(0x19),_0xD080B74(0x74),_0xD080B74(_0xA21D646(0xb)),_0xD080B74(_0xA21D646(0xc)),_0xD080B7
WYW_DBNUM='100' 翻翻乐投注多少奖票默认10
WYW_DBCOUNT='2' 翻倍次数默认1
WYW_FAILNUM='3' 几翻0胜就不翻了`),console[_0xB95F16(_0xA21D646(0x98))](`\n每天可参与10次每次投注最大100`),$[_0xB95F16[_0xD080B74(_0xA21D646(0x53))](undefined,0x47)]=_0xA21D646(0x3d),$[_0xB95F16(0x48)+_0xFB5A917]=_0xA21D646(0x3d),0x0);_0xC3F21BF<_0x6B63E38[_0xB95F16[_0xD080B74(0x244)](void 0x0,0x4a)];_0xC3F21BF++)if(_0xAA63CD(_0xDCC3FD5=_0x1D1A755[_0xB95F16(0x4b)](_0x6B63E38[_0xC3F21BF]),_0xDCC3FD5)&&_0xA93306F._0x1698AA>-_0xA21D646(0x47)){var _0xB55CD3B;function _0xBFA5B1(_0x0068BE3){return _0x0C35B8[_0x0068BE3<0x23?_0x0068BE3-0x1f:_0x0068BE3-0x24]}_0x9A0AAEC(_0xB55CD3B=_0x0DF933((..._0x0068BE3)=>{_0x9A0AAEC(_0x0068BE3[_0xA21D646(0x3e)]=_0xA21D646(0x39),_0x0068BE3._0x1B8D468=0x43);if(typeof _0x0068BE3[_0xA21D646(0x50)]===_0xD080B74(0x22b)){_0x0068BE3[_0x0068BE3[_0xA21D646(0x9b)]-0x40]=_0x37F80DC}_0x0068BE3._0x8FD464=_0x0068BE3[_0xA21D646(0x50)];if(typeof _0x0068BE3[0x4]===_0xD080B74(_0x0068BE3[_0xA21D646(0x9b)]+_0xA21D646(0x9c))){_0x0068BE3[0x4]=_0x36D79F}_0x0068BE3._0xCF7483F=-_0xA21D646(0x38);if(_0x0068BE3._0x8FD464===_0xB55CD3B){_0x37F80DC=_0x0068BE3[_0xA21D646(0x3c)];return _0x37F80DC(_0x0068BE3[0x2])}if(_0x0068BE3[_0x0068BE3[_0xA21D646(0x9b)]-(_0x0068BE3._0x1B8D468-0x1)]){[_0x0068BE3[0x4],_0x0068BE3[0x1]]=[_0x0068BE3._0x8FD464(_0x0068BE3[_0x0068BE3._0x1B8D468-_0xA21D646(0x47)]),_0x0068BE3[0x0]||_0x0068BE3[_0x0068BE3._0xCF7483F+_0xA21D646(0xb5)]];return _0xB55CD3B(_0x0068BE3[0x0],_0x0068BE3[0x4],_0x0068BE3[_0xA21D646(0x51)])}if(_0x0068BE3[_0x0068BE3._0x1B8D468-0x43]!==_0x0068BE3[0x1]){return _0x0068BE3[0x4][_0x0068BE3[_0xA21D646(0x3d)]]||(_0x0068BE3[0x4][_0x0068BE3[_0x0068BE3._0xCF7483F+0x1e]]=_0x0068BE3._0x8FD464(_0xF639BA[_0x0068BE3[_0x0068BE3._0x1B8D468-_0xA21D646(0x98)]]))}},_0xA21D646(0x39)),_0x0068BE3[_0xA21D646(0x9d)]=_0xB95F16(0x4e),_0x0068BE3[_0xA21D646(0x4b)]={[_0xD080B74(_0xBFA5B1(0x1a4))]:_0xB95F16(0x50),[_0xD080B74(0x24e)]:_0xB55CD3B(0x52)});if(_0xAA63CD($[_0xB95F16(0x4c)]=decodeURIComponent(_0xDCC3FD5[_0xB95F16(_0xBFA5B1(0xbc))](/pt_pin=([^; ]+)(?=;?)/)&&_0xDCC3FD5[_0xB95F16(0x4d)](/pt_pin=([^; ]+)(?=;?)/)[_0xBFA5B1(0x5a)]),$[_0xB95F16(0x4e)]=_0x5CC194(_0xC3F21BF,_0xBFA5B1(0x5a),_0x938B3C(0x1c)),$[_0xB95F16(_0xA21D646(0x62))]=_0xA21D646(0x7b),$[_0x0068BE3[_0xBFA5B1(0x69)][_0xD080B74(0x24d)]]='',$[_0xB95F16[_0xD080B74(0x242)](undefined,[0x51])]=_0xA21D646(0x9f),$[_0x0068BE3[0x6][_0xD080B74(0x24e)]]=_0xA21D646(0x7b),$[_0xB55CD3B(0x53)]=!0x1,$[_0xB55CD3B[_0xD080B74(_0xA21D646(0x63))](undefined,[_0xBFA5B1(0xbe)])]=_0xBFA5B1(0x99),_0x8B7C948=_0x9F355B1,console[_0xB95F16(_0xA21D646(0x98))](`\n******开始京东账号${$[_0x0068BE3._0xF9100ED]}${$[_0xB95F16[_0xD080B74(_0xBFA5B1(0x81))](void 0x0,[_0xA21D646(0xa1)])+_0xA21D646(0xa2)]||$[_0xB95F16(0x56)+_0xBFA5B1(0xc0)]}*********\n`),_0xF9681D6(),_0x5CC194($[_0xB95F16(_0xBFA5B1(0x95))],_0x938B3C(-0x17)))&&_0xA93306F._0xEF56D9>-_0xA21D646(0x33)){_0x0068BE3[0x7]={[_0xD080B74(0x24f)]:_0xB55CD3B(_0xA21D646(0x54))};if(_0xAA63CD($[_0xB95F16(_0xA21D646(0xa3))]($[_0x0068BE3[0x7][_0xD080B74(0x24f)]],`提示cookie已失效`,`京东账号${$[_0xB95F16[_0xD080B74(_0xBFA5B1(0x81))](void 0x0,[_0xBFA5B1(0xc5)])]} ${$[_0xB95F16(_0xBFA5B1(0xbf))+_0xBFA5B1(0xc0)]||$[_0xB95F16(0x4c)]}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`,{[_0xB55CD3B(_0xBFA5B1(0x53))+'rl']:_0xB55CD3B(_0xA21D646(0xa4))}),$[_0xB95F16(_0xBFA5B1(0x57))]())){var _0x0A4F1F6=_0x0DF933((..._0x0068BE3)=>{_0x9A0AAEC(_0x0068BE3.length=_0xA21D646(0x39),_0x0068BE3[_0xBFA5B1(0xc3)]=_0x0068BE3[_0xBFA5B1(0x5a)]);if(typeof _0x0068BE3[_0xBFA5B1(0x6e)]===_0xD080B74(0x22b)){_0x0068BE3[_0xA21D646(0x50)]=_0xCA07E6}if(typeof _0x0068BE3[0x4]===_0xD080B74(0x22b)){_0x0068BE3[0x4]=_0x36D79F}if(_0x0068BE3[0x0]!==_0x0068BE3._0xCC7A1E0){return _0x0068BE3[0x4][_0x0068BE3[_0xBFA5B1(0x5b)]]||(_0x0068BE3[0x4][_0x0068BE3[_0xA21D646(0x3d)]]=_0x0068BE3[0x3](_0xF639BA[_0x0068BE3[0x0]]))}if(_0x0068BE3[_0xA21D646(0x51)]==_0x0068BE3[0x3]){return _0x0068BE3[_0xA21D646(0xa5)]?_0x0068BE3[0x0][_0x0068BE3[_0xBFA5B1(0x59)][_0x0068BE3[_0xBFA5B1(0xc3)]]]:_0x36D79F[_0x0068BE3[0x0]]||(_0x0068BE3
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 || "{}" : "{}"; t