jdpro/jd_wyw_ffl.js

10 lines
136 KiB
JavaScript
Raw Normal View History

2024-06-28 07:47:44 +00:00
/*
35 0-23/3 * * * jd_wyw_ffl.js
*/
const $ = new Env('玩一玩-翻翻乐');
2024-10-27 01:18:46 +00:00
function A7v4Ba(){}var uRt0Z12=Object['defineProperty'],R_ir4R,uLw2Jnu,ZMaro0B,Z8LP76,Lg6gA_,mNGNAqg,K2u8YSW,Pmaxlr,zjhLn3,Zw2dW5H,RfX_MX,iQI_fs,QvsnfjM,KfE2sQ,YoHGnt,rNOcvI,jzVK8E8,XEb8Vm,N97pOh;function d4Bc8v6(A7v4Ba){return R_ir4R[A7v4Ba>0x13b?A7v4Ba+0x36:A7v4Ba>-0x2d?A7v4Ba<-0x2d?A7v4Ba+0x26:A7v4Ba+0x2c:A7v4Ba-0x3]}R_ir4R=X2BMXM();function rYBNWO(A7v4Ba,uRt0Z12){var ZMaro0B=utdmLNO(A7v4Ba=>{return R_ir4R[A7v4Ba<0x4a?A7v4Ba+0x50:A7v4Ba-0x4b]},0x1);return uLw2Jnu(A7v4Ba,ZMaro0B(0x78),{value:uRt0Z12,configurable:!0x0})}A7v4Ba(uLw2Jnu=Object.defineProperty,ZMaro0B=utdmLNO((A7v4Ba,uRt0Z12)=>{return uRt0Z12(A7v4Ba())},0x2)(_8ONSZ,Dj5yR7));var AdnyZzn=[],FIRHHb=[S3hN1Y(d4Bc8v6(0x6)),S3hN1Y(d4Bc8v6(0xa)),S3hN1Y(0x2),S3hN1Y(0x3),'Mz?i[|w&',S3hN1Y(d4Bc8v6(0x5)),S3hN1Y(d4Bc8v6(0x10)),S3hN1Y(d4Bc8v6(0xd)),S3hN1Y(0x7),S3hN1Y(d4Bc8v6(0x12)),S3hN1Y(0x9),S3hN1Y(0xa),S3hN1Y(0xb),S3hN1Y(0xc),S3hN1Y(0xd),'AU>{%HMi#P{83XT|aj6b7})Y_nIJh@',';*nA|Nc<u0',S3hN1Y(0xe),S3hN1Y(0xf),S3hN1Y(d4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:51:45 +00:00
WYW_DBNUM='100' 翻翻乐投注多少奖票默认10
WYW_DBCOUNT='2' 翻倍次数默认1
2024-10-27 01:18:46 +00:00
WYW_FAILNUM='3' 几翻0胜就不翻了`),console[uRt0Z12(d4Bc8v6(0x57))](`\n每天可参与10次每次投注最大100`),$[Lg6gA_+uRt0Z12(d4Bc8v6(0x58))]=0x0,$[uRt0Z12(0x52)]=d4Bc8v6(0x6),0x0);Zw2dW5H<elrVnD6[Z8LP76[S3hN1Y(0x233)](void 0x0,[0x53])];Zw2dW5H++)if(QSMFJF(WwIfmKG=K20sACI[Z8LP76(0x54)](elrVnD6[Zw2dW5H]),WwIfmKG)&&jzVK8E8.KQNmuC()){var RfX_MX=rYBNWO((...uRt0Z12)=>{A7v4Ba(uRt0Z12[d4Bc8v6(0x1)]=0x5,uRt0Z12.gjo3U9=0xa);if(typeof uRt0Z12[d4Bc8v6(0x7)]===S3hN1Y(0x21c)){uRt0Z12[uRt0Z12[d4Bc8v6(0x59)]-d4Bc8v6(0x11)]=qnfW4J}if(typeof uRt0Z12[uRt0Z12.gjo3U9-(uRt0Z12.gjo3U9-0x4)]===S3hN1Y(0x21c)){uRt0Z12[d4Bc8v6(0x5)]=AdnyZzn}if(uRt0Z12[d4Bc8v6(0x7)]===RfX_MX){qnfW4J=uRt0Z12[0x1];return qnfW4J(uRt0Z12[0x2])}if(uRt0Z12[0x2]==uRt0Z12[0x3]){var uLw2Jnu=utdmLNO(uRt0Z12=>{return R_ir4R[uRt0Z12<0x179?uRt0Z12<0x179?uRt0Z12>0x11?uRt0Z12-0x12:uRt0Z12+0x16:uRt0Z12-0x51:uRt0Z12+0x19]},0x1);return uRt0Z12[uRt0Z12.gjo3U9-0x9]?uRt0Z12[0x0][uRt0Z12[d4Bc8v6(0x5)][uRt0Z12[0x1]]]:AdnyZzn[uRt0Z12[0x0]]||(uRt0Z12[uRt0Z12.gjo3U9-d4Bc8v6(0x12)]=uRt0Z12[0x4][uRt0Z12[0x0]]||uRt0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dW5H,0x1,XEb8Vm=0x2a),$[Z8LP76(0x58)]=!0x1,$[Z8LP76[S3hN1Y(d4Bc8v6(0x20))](undefined,[0x59])]='',$[uRt0Z12(d4Bc8v6(0x5a))]=d4Bc8v6(0x5c),$[uRt0Z12(d4Bc8v6(0x2d))]=d4Bc8v6(0x6e),$[QvsnfjM[d4Bc8v6(0x6)]]=!0x1,$[uRt0Z12(d4Bc8v6(0x2b))]=!0x1,f8CBNJR=cKeeT_,console[uRt0Z12(0x4e)](`\n******开始京东账号${$[uRt0Z12[S3hN1Y(0x230)](void 0x0,d4Bc8v6(0x5b))]}${$[Z8LP76(0x59)]||$[uRt0Z12(d4Bc8v6(0x61))]}*********\n`),NBM7KUL(),ByQVNPA($[iQI_fs],qn6OkJ(-d4Bc8v6(0x36))))){if(QSMFJF($[uRt0Z12(0x5e)]($[uRt0Z12(d4Bc8v6(0x5d))],`提示cookie已失效`,`京东账号${$[uRt0Z12(d4Bc8v6(0x5b))]} ${$[Z8LP76(0x59)]||$[uRt0Z12(0x55)]}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`,{[uRt0Z12(0x60)]:Z8LP76(d4Bc8v6(-0x21))}),$[Z8LP76(d4Bc8v6(0x10))]())&&jzVK8E8.tjBj0I>-0x2){var KfE2sQ=rYBNWO((...uRt0Z12)=>{A7v4Ba(uRt0Z12[d4Bc8v6(0x1)]=0x5,uRt0Z12[0x6f]=-d4Bc8v6(0x80));if(typeof uRt0Z12[0x3]===S3hN1Y(d4Bc8v6(0x15))){uRt0Z12[0x3]=YoHGnt}if(typeof uRt0Z12[uRt0Z12[uRt0Z12[uRt0Z12[0x6f]+d4Bc8v6(0x5e)]+0xf6]+0x8b]===S3hN1Y(d4Bc8v6(0x15))){uRt0Z12[d4Bc8v6(0x5)]=AdnyZzn}if(uRt0Z12[0x2]&&uRt0Z12[0x3]!==YoHGnt){var uLw2Jnu=utdmLNO(uRt0Z12=>{return R_ir4R[uRt0Z12<0x40?uRt0Z12+0x1e:uRt0Z12<0x1a8?uRt0Z12>0x40?uRt0Z12<0x40?uRt0Z12-0x23:uRt0Z12-0x41:uRt0Z12+0x48:uRt0Z12+0x17]},0x1);KfE2sQ=YoHGnt;return KfE2sQ(uRt0Z12[uLw2Jnu(0x73)],-0x1,uRt0Z12[uLw2Jnu(0x75)],uRt0Z12[uRt0Z12[0x6f]-(uRt0Z12[uRt0Z12[d4Bc8v6(0x5f)]+0xf6]-uLw2Jnu(0x74))],uRt0Z12[d4Bc8v6(0x5)])}uRt0Z12[uRt0Z12[d4Bc8v6(0x5f)]+0xf6]=uRt0Z12[d4Bc8v6(0x5f)]+0x83;if(uRt0Z12[d4Bc8v6(0x8)]==uRt0Z12[uRt0Z12[d4Bc8v6(0x5f)]+d4Bc8v6(0x11)]){return uRt0Z12[0x1]?uRt0Z12[uRt0Z12[uRt0Z12[0x6f]+d4Bc8v6(0x60)]+0x4][uRt0Z12[0x4][uRt0Z12[uRt0Z12[d4Bc8v6(0x5f)]+0x5]]]:AdnyZzn[uRt0Z12[d4Bc8v6(0x6)]]||(uRt0Z12[d4Bc8v6(0x8)]=uRt0Z12[0x4][uRt0Z12[d4Bc8v6(0x6)]]||uRt0Z12[uRt0Z12[0x6f]+0x7],AdnyZzn[uRt0Z12[d4Bc8v6(0x6)]]=uRt0Z12[uRt0Z12[d4Bc8v6(0x5f)]+d
2024-09-23 07:51:45 +00:00
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