jdpro/jd_zzhb_draw_new.js

17 lines
133 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-10-04 04:05:29 +00:00
function No6vcfI(){}var q4BZNv=Object['defineProperty'],VulB34,LqAkkzf,drUQxo,rY4E74,qLuUB4B,C5PDtfk,zbm6Zz,BxfeUq,YyToc0,djcBYpf,EFU4kH,gSsUe5D,U7Xj60h,rf5yOld,ThGMF9,xbaUdz,TqiKxZm,vmfxYM,KuHKbD8,JUQj30L,U_8oRM;function eW3f98(No6vcfI){return VulB34[No6vcfI<-0x5d?No6vcfI-0x2a:No6vcfI>0x10d?No6vcfI+0x47:No6vcfI<0x10d?No6vcfI+0x5c:No6vcfI-0x1a]}VulB34=i3qgbN();function KVC3MwN(No6vcfI,q4BZNv){return LqAkkzf.call(eW3f98(0x0),No6vcfI,eW3f98(-0x23),{value:q4BZNv,configurable:eW3f98(-0x1)})}No6vcfI(LqAkkzf=Object.defineProperty,drUQxo=KVC3MwN(LxiTmzb((...q4BZNv)=>{var LqAkkzf=LxiTmzb(q4BZNv=>{return VulB34[q4BZNv<0x10e?q4BZNv+0x5b:q4BZNv-0xa]},0x1);No6vcfI(q4BZNv.length=0x2,q4BZNv.cDVOpuC=q4BZNv[eW3f98(-0x5c)]);return q4BZNv.cDVOpuC(q4BZNv[LqAkkzf(-0x29)]())}),0x2)(SBs7Nvc,LJsikY));var NZD7cX=[],D3qKUHn=[LiEMFd4(0x0),'g?U2kf|v',LiEMFd4(eW3f98(-0x5c)),LiEMFd4(0x2),LiEMFd4(0x3),'&|+IR1{R',LiEMFd4(eW3f98(-0x13)),LiEMFd4(eW3f98(-0x9)),LiEMFd4(eW3f98(-0x27)),LiEMFd4(eW3f98(-0x24)),LiEMFd4(0x8),LiEMFd4(0x9),LiEMFd4(0xa),LiEMFd4(0xb),LiEMFd4(eW3f98(-0x21)),LiEMFd4(eW3f98(-0x3)),LiEMFd4(eW3f98(-0xe)),LiEMFd4(0xf),LiEMFd4(0x10),LiEMFd4(0x11),LiEMFd4(0x12),LiEMFd4(0x13),LiEMFd4(eW3f98(0x4)),LiEMFd4(0x15),LiEMFd4(0x16),LiEMFd4(eW3f98(0x2c)),LiEMFd4(eW3f98(0xcf)),LiEMFd4(0x19),LiEMFd4(0x1a),LiEMFd4(eW3f98(0x6)),LiEMFd4(eW3f98(-0x5a)),LiEMFd4(0x1d),LiEMFd4(eW3f98(0x64)),LiEMFd4(eW3f98(-0x28)),LiEMFd4(eW3f98(-0x51)),LiEMFd4(0x21),LiEMFd4(0x22),LiEMFd4(eW3f98(-0x5b)),LiEMFd4(eW3f98(0x61)),LiEMFd4(0x25),LiEMFd4(0x20),LiEMFd4(eW3f98(-0x5b)),LiEMFd4(0x20),LiEMFd4(0x23),LiEMFd4(eW3f98(-0x5a)),LiEMFd4(0x1e),LiEMFd4(0x26),LiEMFd4(eW3f98(0xd0)),LiEMFd4(eW3f98(-0x56)),LiEMFd4(0x29),LiEMFd4(eW3f98(0x3d)),LiEMFd4(0x2b),LiEMFd4(eW3f98(0xd4)),LiEMFd4(0x2d),LiEMFd4(0x2e),LiEMFd4(eW3f98(0x11)),LiEMFd4(0x30),LiEMFd4(0x31),LiEMFd4(eW3f98(0x13)),LiEMFd4(eW3f98(0x26)),LiEMFd4(0x34),LiEMFd4(eW3f98(-0x1f)),LiEMFd4(0x36),LiEMFd4(0x37),'fe$+io&P"gku.i~!+@|P"B8.r=tC+&$$MMki#9@HD_M?UdhfVqg=Q`Y6+_"9y=L6n%b%|Fq}&L$8kFb!>Ql$xaAu&w&^6^QvWhJ8v~.Nl',LiEMFd4(eW3f98(0x1b)),LiEMFd4(eW3f98(0x10)),LiEMFd4(eW3f98(-0x58)),LiEMFd4(eW3f98(0x1c)),LiEMFd4(eW3f98(0x84)),LiEMFd4(0x3d),LiEMFd4(0x5),LiEMFd4(0x3e),LiEMFd4(eW3f98(-0x25)),LiEMFd4(0x40),LiEMFd4(0x41),LiEMFd4(0x42),LiEMFd4(0x43),LiEMFd4(eW3f98(0x103)),LiEMFd4(0x45),LiEMFd4(0x46),LiEMFd4(eW3f98(0x45)),LiEMFd4(0x48),LiEMFd4(eW3f98(-0x33)),LiEMFd4(0x4a),LiEMFd4(eW3f98(-0x47)),LiEMFd4(0x4c),LiEMFd4(eW3f98(0x2e)),LiEMFd4(0x4e),LiEMFd4(0x4f),LiEMFd4(0x50),LiEMFd4(0x51),LiEMFd4(0x52),LiEMFd4(eW3f98(-0x11)),LiEMFd4(0x54),LiEMFd4(0x55),LiEMFd4(0x56),LiEMFd4(eW3f98(0x32)),LiEMFd4(eW3f98(-0x14)),LiEMFd4(eW3f98(-0x57)),LiEMFd4(eW3f98(-0xb)),LiEMFd4(0x5b),LiEMFd4(0x5c),LiEMFd4(0x5d),LiEMFd4(eW3f98(-0x22)),LiEMFd4(eW3f98(-0x4f)),LiEMFd4(eW3f98(0x34)),LiEMFd4(0x61),LiEMFd4(0x62),LiEMFd4(0x63),LiEMFd4(0x64),LiEMFd4(eW3f98(0x36)),LiEMFd4(0x66),LiEMFd4(0x67),LiEMFd4(0x68),LiEMFd4(0x69),LiEMFd4(eW3f98(0x39)),LiEMFd4(0x6b),'QL"Fa"J6J;Q{R,[5uQ3Ao~/WhQMhTJ3|[l=U9igR~',LiEMFd4(0x6c),LiEMFd4(eW3f98(0x3c)),LiEMFd4(0x6e),'}}!&8h|b3',LiEMFd4(eW3f98(0x3e)),LiEMFd4(eW3f98(-0x4e)),LiEMFd4(0x71),LiEMFd4(0x72),LiEMFd4(eW3f98(0x40)),LiEMFd4(eW3f98(0x41)),LiEMFd4(0x75),LiEMFd4(eW3f98(0x1f)),LiEMFd4(eW3f98(0x43)),LiEMFd4(0x78),LiEMFd4(eW3f98(0x46)),LiEMFd4(0x7a),LiEMFd4(0x7b),LiEMFd4(0x66),LiEMFd4(0x67),LiEMFd4(eW3f98(0x20)),LiEMFd4(eW3f98(0x21)),LiEMFd4(0x6e),LiEMFd4(0x7e),LiEMFd4(0x7f),'|Rk~',LiEMFd4(0x80),LiEMFd4(0x81),LiEMFd4(eW3f98(0x4b)),LiEMFd4(0x5f),LiEMFd4(eW3f98(-0x15)),LiEMFd4(eW3f98(0x4c)),LiEMFd4(eW3f98(0x18)),LiEMFd4(0x86),LiEMFd4(0x87),LiEMFd4(0x88),LiEMFd4(0x89),LiEMFd4(eW3f98(0x50)),LiEMFd4(0x8b),LiEMFd4(0x8c),LiEMFd4(eW3f98(0xb7)),LiEMFd4(0x8e),LiEMFd4(0x8f),LiEMFd4(0x90),'f]|E[dPDy',LiEMFd4(eW3f98(0x57)),LiEMFd4(0x92),LiEMFd4(0x93),LiEMFd4(0x94),LiEMFd4(eW3f98(0xed)),LiEMFd4(eW3f98(0x4d)),LiEMFd4(eW3f98(-0x44)),LiEMFd4(0x5f),LiEMFd4(0x96),LiEMFd4(eW3f98(0xe9)),LiEMFd4(eW3f98(0x54)),LiEMFd4(0x97),LiEMFd4(eW3f98(0x58)),LiEMFd4(0x7b),LiEMFd4(0x99),LiEMFd4(eW3f98(-0x59)),LiEMFd4(0x9b),LiEMFd4(0x9c),LiEMFd4(0x3a),LiEMFd4(0x37),LiEMFd4(0x9d),
2024-09-30 12:28:14 +00:00
抽奖间隔默认1秒 JDZHB2DELAY='3'
提现间隔默认5秒 TXDELAY='3'
提现范围默认1天内太大会403 TXIVAL='3'
开启提现到上限转红包JDZHB2TORED='true'
开启代理API DY_PROXY='apiurl'
垃圾券数量默认10次CXJLJQ_COUNT='20'
提现模式默认提当前所得设置1开启查列表提现TX_MODE='1'
2024-10-04 04:05:29 +00:00
关闭提现NOTX='true'\n`),console[rY4E74(eW3f98(0x2a))](`\n开始抽奖和提现(间隔${uPiYSL} 连续${pKtqOBF}次垃圾券停止)...`),K2lCLoq>vKBR2g(0x1,TqiKxZm=C5PDtfk(0x5a))&&console[LqAkkzf[LiEMFd4(0x1ae)]](`\n已设置本次运行抽奖次数 ${K2lCLoq}`),new Date);for(let BxfeUq=MnOfZOr(zbm6Zz[rY4E74[LiEMFd4(eW3f98(0x5))](eW3f98(-0x1e),[0x45])](vKBR2g(zbm6Zz[rY4E74(0x46)](),qK3oFb,knCrOAL(-eW3f98(0x2c)))),0x0);BxfeUq<CmMSQV[q4BZNv];BxfeUq++)if(CmMSQV[BxfeUq]){var YyToc0=KVC3MwN((...q4BZNv)=>{var LqAkkzf=LxiTmzb(q4BZNv=>{return VulB34[q4BZNv>0x12e?q4BZNv+0x63:q4BZNv>-0x3c?q4BZNv<-0x3c?q4BZNv-0x25:q4BZNv+0x3b:q4BZNv+0x31]},0x1);No6vcfI(q4BZNv[C5PDtfk(0xc)]=C5PDtfk(0x26),q4BZNv[LqAkkzf(0x4e)]=q4BZNv[0x4]);if(typeof q4BZNv[eW3f98(-0x8)]===LiEMFd4(0x18c)){q4BZNv[0x3]=fuNs2Ew}if(typeof q4BZNv[LqAkkzf(0x4e)]===LiEMFd4(0x18c)){q4BZNv.MYd2Mi=NZD7cX}if(q4BZNv[LqAkkzf(-0x9)]!==q4BZNv[LqAkkzf(-0x3b)]){return q4BZNv.MYd2Mi[q4BZNv[0x0]]||(q4BZNv.MYd2Mi[q4BZNv[0x0]]=q4BZNv[0x3](D3qKUHn[q4BZNv[0x0]]))}if(q4BZNv[C5PDtfk(0x28)]==q4BZNv[C5PDtfk(0x27)]){return q4BZNv[C5PDtfk(-0x2d)]?q4BZNv[C5PDtfk(0x5)][q4BZNv.MYd2Mi[q4BZNv[0x1]]]:NZD7cX[q4BZNv[LqAkkzf(-0x9)]]||(q4BZNv[LqAkkzf(0x1a)]=q4BZNv[LqAkkzf(0x4e)][q4BZNv[0x0]]||q4BZNv[LqAkkzf(0x19)],NZD7cX[q4BZNv[C5PDtfk(0x5)]]=q4BZNv[0x2](D3qKUHn[q4BZNv[LqAkkzf(-0x9)]]))}if(q4BZNv[0x2]&&q4BZNv[LqAkkzf(0x19)]!==fuNs2Ew){YyToc0=fuNs2Ew;return YyToc0(q4BZNv[C5PDtfk(0x5)],-0x1,q4BZNv[LqAkkzf(0x1a)],q4BZNv[LqAkkzf(0x19)],q4BZNv.MYd2Mi)}},0x5),djcBYpf,EFU4kH;No6vcfI(djcBYpf=[rY4E74(eW3f98(0x2a)),rY4E74(0x47)],EFU4kH=rY4E74(eW3f98(-0x33)),fF3xBb=CmMSQV[BxfeUq],$[rY4E74(0x48)+'me']=decodeURIComponent(fF3xBb[rY4E74(0x49)](/pt_pin=([^; ]+)(?=;?)/)&&fF3xBb[EFU4kH](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[rY4E74(0x4a)]=vKBR2g(BxfeUq,0x1,knCrOAL(-0x2a)),$[rY4E74[LiEMFd4(0x19f)](undefined,eW3f98(-0x47))]=!0x0,$[rY4E74(0x4c)]='',$[rY4E74(C5PDtfk(0x5d))]=eW3f98(-0x2a),HEArBJU=[],W6oz_1=[],txjscore=[]);;let gSsUe5D=MnOfZOr($[rY4E74(eW3f98(0x3a))]=!0x0,$.fg=0x1,$[YyToc0(0x4f)]=C5PDtfk(0x5e),$[rY4E74(0x50)]=0x0,$[rY4E74(C5PDtfk(0x5f))]=!0x1,$[YyToc0[LiEMFd4(C5PDtfk(0xf))](undefined,C5PDtfk(0x60))]=!0x1,$[rY4E74[LiEMFd4(0x1a9)](undefined,[C5PDtfk(0x1e)])]=0x0,$[YyToc0(C5PDtfk(0x6a))]=!0x1,$[rY4E74(C5PDtfk(0x6e))]=!0x1,$[YyToc0[LiEMFd4(C5PDtfk(0xf))](undefined,C5PDtfk(0x14))]=0x1,$[YyToc0(C5PDtfk(0x61))]=eW3f98(-0x2a),$[YyToc0(C5PDtfk(0x1b))]=[],$.UA=ZzRzECS[rY4E74[LiEMFd4(0x19f)](eW3f98(-0x1e),0x59)]?ZzRzECS[rY4E74(0x59)]():ZzRzECS[rY4E74(0x5a)],$[YyToc0[LiEMFd4(C5PDtfk(0x34))](undefined,[0x5b])]=KwSZud_[YyToc0(0x5c)](),await KwSZud_[YyToc0(eW3f98(0x33))+'en']($[eW3f98(0x7e)]));if(gSsUe5D){var U7Xj60h={[LiEMFd4(eW3f98(0xc8))]:rY4E74(0x5f)};$[rY4E74(0x5e)]=gSsUe5D[U7Xj60h[LiEMFd4(0x1af)]]}let rf5yOld=MnOfZOr(console[rY4E74[LiEMFd4(0x19f)](void 0x0,eW3f98(0x2a))](`\n\n--------开始账号${$[rY4E74(0x4a)]} ${$[rY4E74(C5PDtfk(0x96))]||$[rY4E74(eW3f98(0x34))]}----------\n`),await f4_aCc2(eW3f98(-0x5c)));if(MnOfZOr(await $[rY4E74(0x61)](eW3f98(0x42)),rf5yOld[YyToc0(0x62)])!=eW3f98(0x35)&&xbaUdz.qIfvCr()){continue}if(MnOfZOr($[rY4E74(0x43)](`本轮已抽奖次数${rf5yOld[rY4E74(eW3f98(0x38))][rY4E74(eW3f98(0x44))]}`),$[rY4E74[LiEMFd4(eW3f98(0x5))](C5PDtfk(0x11),[C5PDtfk(0x59)])](`本轮剩余抽奖次数${$[rY4E74(eW3f98(0x36))]}`),rf5yOld[rY4E74(0x63)][YyToc0(eW3f98(-0x45))])&&xbaUdz.V2jodM[rY4E74(0x67)](C5PDtfk(0x27))=='Q'){var ThGMF9={[LiEMFd4(C5PDtfk(0x66))]:rY4E74(0x63)};if(rf5yOld[ThGMF9[LiEMFd4(C5PDtfk(0x66))]]?.[YyToc0[LiEMFd4(eW3f98(0x5))](void 0x0,[C5PDtfk(-0x16)])]?.[YyToc0(0x68)]===C5PDtfk(-0x2d)){var vmfxYM={[LiEMFd4(0x1b1)]:rY4E74(C5PDtfk(0x59))};$[vmfxYM[LiEMFd4(0x1b1)]](`本轮助力奖励进度${rf5yOld[rY4E74(C5PDtfk(0x67))][YyToc0(eW3f98(-0x45))][rY4E74(0x69)]}/${rf5yOld[rY4E74(0x63)][YyToc0[LiEMFd4(0x1a9)](eW3f98(-0x1e),[0x66])][YyToc0(C5PDtfk(0x68))+YyToc0(0x6b)]}(-${rf5yOld[rY4E74(eW3f98(0x38))][YyToc0(0x66)][YyToc0(0x57)]})`)}else{if(rf5yOld[rY4E74(eW3f98(0x38))]?.[YyToc0(0x66)]?.[YyToc0(0x68)]===eW3f98(-0x8)){No6vcfI($[rY4E74(eW3f98(0x2a))](`本轮助力奖励达成${rf
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||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueF