jdpro/jd_zzhb_draw_new.js

17 lines
123 KiB
JavaScript
Raw Normal View History

2024-06-28 07:47:44 +00:00
/*
转赚红包,只抽奖提现
2024-09-30 12:28:14 +00:00
14 13 * * * https://raw.githubusercontent.com/6dylan6/jdpro/main/jd_zzhb_draw_new.js
2024-06-28 07:47:44 +00:00
*/
const $ = new Env('Jd转赚红包_抽奖提现2');
2024-09-30 12:28:14 +00:00
function JkmBpi(){}var nU7itD=Object['defineProperty'],kpu4eV,zYrJt4,tzJPTkq,qMKrYw,XcwfbkG,voTCbLL,ccy1WO,EiWzAOM,HUbRD2,o4doth,Yl5RIdC,rPLIaC,pMDKXji,NxchzFU,Oyx37Er,b4tpwf,xEv4WnT,J6EFKu,LBCWUnV,fIGT4f,a6f9qCt,oI4P5G_,fm5j7l3;function VbLYnot(JkmBpi){return kpu4eV[JkmBpi>0xda?JkmBpi+0x58:JkmBpi<-0x53?JkmBpi+0x37:JkmBpi+0x52]}kpu4eV=BbjmPDp();function IDEFxRB(JkmBpi,nU7itD){zYrJt4(JkmBpi,'length',{value:nU7itD,configurable:VbLYnot(0x8)});return JkmBpi}JkmBpi(zYrJt4=Object.defineProperty,tzJPTkq=IDEFxRB(nj6qlU((...nU7itD)=>{var zYrJt4=nj6qlU(nU7itD=>{return kpu4eV[nU7itD>0x17e?nU7itD+0x34:nU7itD<0x17e?nU7itD>0x17e?nU7itD+0x30:nU7itD>0x51?nU7itD-0x52:nU7itD-0x4c:nU7itD+0x3f]},0x1);JkmBpi(nU7itD.length=zYrJt4(0x53),nU7itD[zYrJt4(0x52)]=nU7itD[zYrJt4(0x7c)]);return nU7itD[0x1](nU7itD[VbLYnot(-0x52)]())}),VbLYnot(-0x51))(qLfFjD2,iTkAN9l));var LAx1N0f=[],CsCxFz=[_qvBCn(0x0),_qvBCn(VbLYnot(-0x23)),_qvBCn(0x2),_qvBCn(VbLYnot(-0x11)),_qvBCn(0x4),_qvBCn(VbLYnot(-0x14)),_qvBCn(VbLYnot(0x26)),_qvBCn(VbLYnot(-0x24)),_qvBCn(0x8),_qvBCn(VbLYnot(-0x18)),_qvBCn(0xa),_qvBCn(VbLYnot(-0x21)),_qvBCn(0xc),')7e/O#||u9(',_qvBCn(VbLYnot(-0x1f)),_qvBCn(0xe),_qvBCn(0xf),_qvBCn(VbLYnot(0x5f)),_qvBCn(VbLYnot(0x1d)),_qvBCn(VbLYnot(0xc)),_qvBCn(0x13),_qvBCn(VbLYnot(0xd)),_qvBCn(VbLYnot(-0x9)),_qvBCn(VbLYnot(0xc9)),'7ZipHs|e^>5',_qvBCn(0x17),_qvBCn(VbLYnot(0x58)),_qvBCn(VbLYnot(-0x1e)),_qvBCn(VbLYnot(-0x8)),_qvBCn(0x1b),_qvBCn(0x1c),_qvBCn(VbLYnot(0x1c)),_qvBCn(0x1e),_qvBCn(0x1f),_qvBCn(0x20),_qvBCn(VbLYnot(0x14)),_qvBCn(VbLYnot(0x6e)),_qvBCn(0x23),_qvBCn(0x1c),_qvBCn(VbLYnot(-0x50)),_qvBCn(VbLYnot(-0x4d)),_qvBCn(VbLYnot(-0x1d)),_qvBCn(0x20),_qvBCn(0x23),_qvBCn(VbLYnot(0x11)),_qvBCn(VbLYnot(-0x50)),_qvBCn(0x24),_qvBCn(0x25),_qvBCn(0x26),_qvBCn(VbLYnot(0x6f)),_qvBCn(VbLYnot(-0x5)),_qvBCn(VbLYnot(0x3)),_qvBCn(0x2a),_qvBCn(0x2b),_qvBCn(VbLYnot(-0x12)),_qvBCn(0x2d),_qvBCn(VbLYnot(-0xd)),_qvBCn(0x2f),_qvBCn(0x30),_qvBCn(0x31),_qvBCn(0x32),_qvBCn(0x33),_qvBCn(VbLYnot(-0x2a)),_qvBCn(0x35),_qvBCn(0x36),_qvBCn(0x37),_qvBCn(0x38),_qvBCn(VbLYnot(-0x1c)),_qvBCn(0x3a),_qvBCn(0x3b),_qvBCn(0x3c),_qvBCn(0x3d),_qvBCn(0x3e),_qvBCn(0x3f),_qvBCn(0x7),_qvBCn(0x40),_qvBCn(0x41),_qvBCn(0x42),_qvBCn(0x43),_qvBCn(VbLYnot(0x23)),_qvBCn(0x45),_qvBCn(0x46),_qvBCn(0x47),_qvBCn(0x48),_qvBCn(0x49),_qvBCn(0x4a),_qvBCn(VbLYnot(-0x39)),_qvBCn(0x4c),_qvBCn(0x4d),VbLYnot(-0x3d),'m[l1$|u',_qvBCn(0x4e),_qvBCn(0x4f),_qvBCn(VbLYnot(-0x30)),_qvBCn(0x51),_qvBCn(0x52),_qvBCn(VbLYnot(0x57)),_qvBCn(0x54),_qvBCn(VbLYnot(0x44)),_qvBCn(VbLYnot(0x33)),_qvBCn(VbLYnot(0x43)),_qvBCn(0x58),_qvBCn(VbLYnot(-0x4b)),_qvBCn(0x5a),_qvBCn(VbLYnot(-0xc)),_qvBCn(0x5c),'E{9~|F3k','(w:|?dMk',_qvBCn(VbLYnot(-0x4c)),_qvBCn(0x5e),_qvBCn(0x5f),_qvBCn(0x60),_qvBCn(0x61),_qvBCn(0x62),_qvBCn(0x63),_qvBCn(0x64),_qvBCn(0x65),_qvBCn(VbLYnot(0x35)),_qvBCn(VbLYnot(0x2f)),_qvBCn(VbLYnot(-0x3a)),_qvBCn(VbLYnot(-0x4f)),_qvBCn(0x6a),_qvBCn(0x6b),_qvBCn(0x6a),_qvBCn(VbLYnot(0x36)),_qvBCn(VbLYnot(0x37)),_qvBCn(0x6e),_qvBCn(0x6f),_qvBCn(0x70),_qvBCn(VbLYnot(0x38)),_qvBCn(0x72),'Am|5IF!g?Tv>.3vzG^*',_qvBCn(VbLYnot(0x3a)),_qvBCn(0x74),_qvBCn(0x75),_qvBCn(0x76),'|6PIw6/QYrbOhK4Fwm,6',_qvBCn(0x77),_qvBCn(0x78),_qvBCn(0x79),_qvBCn(VbLYnot(0x3d)),'XXp1E,|/]:oG(nv',_qvBCn(0x68),_qvBCn(VbLYnot(-0x4f)),_qvBCn(0x7b),_qvBCn(0x7c),_qvBCn(0x7d),_qvBCn(0x7e),'QTl|ss,lNOW','|pBkiKD`K;I',_qvBCn(VbLYnot(0x4b)),_qvBCn(0x80),_qvBCn(VbLYnot(0x2e)),'`+l|<ZHk',_qvBCn(0x81),_qvBCn(VbLYnot(-0x3c)),_qvBCn(VbLYnot(-0x4e)),_qvBCn(0x83),_qvBCn(0x84),_qvBCn(0x85),_qvBCn(0x86),_qvBCn(0x87),'QTR~|dWk',_qvBCn(VbLYnot(-0x4f)),_qvBCn(0x88),_qvBCn(0x89),_qvBCn(VbLYnot(-0x4e)),')HES|dVVPJ','XXp1E,|/]:oG(nv','|pBkiK&^',_qvBCn(0x8a),_qvBCn(0x7f),_qvBCn(0x8b),_qvBCn(0x69),_qvBCn(VbLYnot(-0x48)),_qvBCn(0x89),_qvBCn(0x8c),')HES|dVVPJ',_qvBCn(0x8d),_qvBCn(0x8e),_qvBCn(0x3c),_qvBCn(VbLYnot(-0x29)),_qvBCn(0x8f),_qvBCn(0x90),_qvBCn(0x91),_qvBCn(0x92),'p7mplynS|3"Zts@hhY}aG~i/g~p','{R%1|mXv/',_qvBCn(0x93),_qvBCn(0x94),_qvBCn(VbLYnot(-0x44)),'{R%1|m"sgbiaA%T(q}P1B',_qvBCn(VbLYnot(-0x2e)),_qvBCn(VbLYnot(-0x43)),_qvBCn(VbLYnot(-0x42)),_qvBCn(VbLYnot(-0x38)),_qvBCn(0x9a),_qvBCn(0
抽奖间隔默认1秒 JDZHB2DELAY='3'
提现间隔默认5秒 TXDELAY='3'
提现范围默认1天内太大会403 TXIVAL='3'
开启提现到上限转红包JDZHB2TORED='true'
开启代理API DY_PROXY='apiurl'
垃圾券数量默认10次CXJLJQ_COUNT='20'
提现模式默认提当前所得设置1开启查列表提现TX_MODE='1'
关闭提现NOTX='true'\n`),console[qMKrYw(0x46)](`\n开始抽奖和提现(间隔${axMlSP} 连续${OI2uD0}次垃圾券停止)...`),GaHx1Q>amnQkuB(nU7itD(0x4e),JjrtoO1(nU7itD(0x24)))&&console[qMKrYw[_qvBCn(0x1a9)](void 0x0,[VbLYnot(0x29)])](`\n已设置本次运行抽奖次数 ${GaHx1Q}`),new Date);for(let ccy1WO=Lz_dlt(voTCbLL[qMKrYw(0x48)](amnQkuB(voTCbLL[qMKrYw(0x49)](),MBKZfAq,JjrtoO1(-VbLYnot(-0x8)))),0x0);ccy1WO<B6GLvW[qMKrYw(VbLYnot(0x46))]&&J6EFKu.tH4WFo[qMKrYw(VbLYnot(0x1c))](nU7itD(0x5d))==VbLYnot(0x50);ccy1WO++)if(B6GLvW[ccy1WO]&&J6EFKu.Qm_eWi2>-VbLYnot(-0x9)){var EiWzAOM=IDEFxRB((...zYrJt4)=>{var tzJPTkq=nj6qlU(zYrJt4=>{return kpu4eV[zYrJt4>0x102?zYrJt4+0x4f:zYrJt4<-0x2b?zYrJt4-0x30:zYrJt4+0x2a]},0x1);JkmBpi(zYrJt4[VbLYnot(-0x13)]=VbLYnot(-0x14),zYrJt4[VbLYnot(0x2a)]=zYrJt4[0x2]);if(typeof zYrJt4[nU7itD(0x60)]===_qvBCn(0x196)){zYrJt4[0x3]=Tev5SM_}zYrJt4.gYlnxG=0x14;if(typeof zYrJt4[0x4]===_qvBCn(0x196)){zYrJt4[0x4]=LAx1N0f}zYrJt4[nU7itD(0x9d)]=zYrJt4[tzJPTkq(0x52)];if(zYrJt4[0x0]!==zYrJt4[0x1]){return zYrJt4[VbLYnot(0x4)][zYrJt4[zYrJt4.gYlnxG-0x14]]||(zYrJt4[zYrJt4[VbLYnot(0x2b)]-0x10][zYrJt4[0x0]]=zYrJt4[zYrJt4.gYlnxG-nU7itD(0x8e)](CsCxFz[zYrJt4[tzJPTkq(0x0)]]))}zYrJt4.Kc5_LkH=zYrJt4.gYlnxG-tzJPTkq(0x39);if(zYrJt4[nU7itD(0x60)]===void 0x0){EiWzAOM=zYrJt4[zYrJt4[tzJPTkq(0x53)]-0x10]}if(zYrJt4[zYrJt4.Kc5_LkH+0xb]===EiWzAOM){Tev5SM_=zYrJt4[zYrJt4[nU7itD(0x9c)]-0x13];return Tev5SM_(zYrJt4[tzJPTkq(0x54)])}if(zYrJt4.a7Fc6d&&zYrJt4[0x3]!==Tev5SM_){EiWzAOM=Tev5SM_;return EiWzAOM(zYrJt4[tzJPTkq(0x0)],-nU7itD(0x4e),zYrJt4.a7Fc6d,zYrJt4[zYrJt4[VbLYnot(0x2b)]-0x11],zYrJt4[VbLYnot(0x4)])}if(zYrJt4[zYrJt4[nU7itD(0x9e)]+nU7itD(0x59)]){[zYrJt4[zYrJt4[nU7itD(0x9e)]+tzJPTkq(0x8)],zYrJt4[nU7itD(0x4e)]]=[zYrJt4[zYrJt4[VbLYnot(0x2d)]+nU7itD(0x50)](zYrJt4[tzJPTkq(0x2c)]),zYrJt4[tzJPTkq(0x0)]||zYrJt4[tzJPTkq(0x54)]];return EiWzAOM(zYrJt4[nU7itD(0x49)],zYrJt4[0x4],zYrJt4.a7Fc6d)}},VbLYnot(-0x14)),HUbRD2,o4doth,Yl5RIdC,rPLIaC;JkmBpi(HUbRD2=qMKrYw(nU7itD(0x9a)),o4doth=EiWzAOM(0x76),Yl5RIdC={[_qvBCn(0x1b4)]:qMKrYw(0x55),[_qvBCn(0x1b5)]:EiWzAOM(VbLYnot(0x2e))},rPLIaC=[qMKrYw(0x51),qMKrYw[_qvBCn(0x1b3)](void 0x0,0x59),qMKrYw(0x5a),qMKrYw(VbLYnot(0x2f))],sT54fNm=B6GLvW[ccy1WO],$[qMKrYw(0x4b)+VbLYnot(0x32)]=decodeURIComponent(sT54fNm[qMKrYw(nU7itD(0xa1))](/pt_pin=([^; ]+)(?=;?)/)&&sT54fNm[qMKrYw(VbLYnot(0x30))](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[qMKrYw(0x4d)]=amnQkuB(ccy1WO,nU7itD(0x4e),LBCWUnV=-0x15),$[qMKrYw(nU7itD(0xa2))]=!0x0,$[qMKrYw[_qvBCn(VbLYnot(0x10))](undefined,0x4f)+nU7itD(0xa3)]='',$[qMKrYw(nU7itD(0x41))]=0x0,Y7ptEpN=[],SU80CeQ=[],txjscore=[]);;let pMDKXji=Lz_dlt($[rPLIaC[0x0]]=nU7itD(0x79),$.fg=nU7itD(0x4e),$[qMKrYw(0x52)]=nU7itD(0x80),$[qMKrYw(0x53)+qMKrYw(0x54)]=0x0,$[Yl5RIdC[_qvBCn(0x1b4)]]=VbLYnot(0xf),$[qMKrYw(VbLYnot(0x33))]=nU7itD(0x80),$[qMKrYw[_qvBCn(VbLYnot(0x10))](undefined,0x57)+qMKrYw(VbLYnot(0x9))]=nU7itD(0x49),$[rPLIaC[VbLYnot(-0x23)]]=nU7itD(0x80),$[rPLIaC[0x2]]=nU7itD(0x80),$[qMKrYw(0x5b)]=0x1,$[qMKrYw(VbLYnot(0x4c))]=0x0,$[qMKrYw(0x5d)]=[],$[VbLYnot(0x34)]=UOTYpy[qMKrYw(0x5e)]?UOTYpy[qMKrYw(0x5e)]():UOTYpy[EiWzAOM(0x5f)],$[Yl5RIdC[_qvBCn(0x1b5)]]=Y6sYG0q[qMKrYw(0x61)](),await Y6sYG0q[qMKrYw(0x62)+'en']($[VbLYnot(0x34)]));if(pMDKXji&&J6EFKu.Qm_eWi2>-0x15){var NxchzFU={[_qvBCn(0x1b6)]:qMKrYw(0x64)};$[EiWzAOM(0x63)]=pMDKXji[NxchzFU[_qvBCn(0x1b6)]]}let Oyx37Er=Lz_dlt(console[qMKrYw[_qvBCn(0x1b3)](VbLYnot(-0x7),0x46)](`\n\n--------开始账号${$[qMKrYw(0x4d)]} ${$[qMKrYw[_qvBCn(0x1a9)](void 0x0,[0x65])]||$[qMKrYw(VbLYnot(0x35))]}----------\n`),await ttFerJ_(VbLYnot(-0x23)));if(Lz_dlt(await $[rPLIaC[VbLYnot(-0x11)]](nU7itD(0xb0)),Oyx37Er[EiWzAOM(VbLYnot(-0x3a))])!='0'&&J6EFKu._VEqr_>-VbLYnot(-0x2a)){continue}if(Lz_dlt($[qMKrYw[_qvBCn(0x1b3)](nU7itD(0x6a),VbLYnot(0x29))](`本轮已抽奖次数${Oyx37Er[EiWzAOM(nU7itD(0x22))][EiWzAOM[_qvBCn(0x1a9)](void 0x0,[0x6a])+EiWzAOM(0x6b)]}`),$[qMKrYw(0x46)](`本轮剩余抽奖次数${$[qMKrYw(nU7itD(0xa7))]}`),Oyx37Er[EiWzAOM(VbLYnot(-0x4f))][qMKrYw(0x6d)])){var b4tpwf=(nU7itD,zYrJt4,tzJPTkq,XcwfbkG,voTCbLL)=>{if(typeof XcwfbkG===_qvBCn(0x196)){XcwfbkG=oI4
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