2023-11-01 21:14:01 +08:00
|
|
|
|
/*
|
|
|
|
|
PDD特价转盘抽奖提现
|
|
|
|
|
|
|
|
|
|
入口:特价版APP——幸运抽奖
|
|
|
|
|
链接:https://pro.m.jd.com/jdlite/active/23CeE8ZXA4uFS9M9mTjtta9T4S5x/index.html
|
|
|
|
|
|
|
|
|
|
轮询提现变量:JD_PDD_TXNUM //轮询提现页数
|
|
|
|
|
|
|
|
|
|
提现间隔时间:JD_PDD_TXWAIT //提现兑换间隔,默认 3 秒
|
2023-11-09 10:15:49 +08:00
|
|
|
|
抽奖间隔时间:JD_PDD_DRAWWAIT //提现兑换间隔,默认 3 秒
|
2023-11-01 21:14:01 +08:00
|
|
|
|
|
2023-11-03 02:10:59 +08:00
|
|
|
|
提现变量:JD_PDD_TXCASH //是否提现,默认不提现(true/false)
|
2023-11-09 10:15:49 +08:00
|
|
|
|
提现上限刷新时长变量:JD_PDD_Swish //是否延长提现时间,默认不延长(true/false) 配合提现页码,上限后延长,可以延迟到期时间,最终效果可以推迟到下个月直接提现。
|
2023-11-03 02:10:59 +08:00
|
|
|
|
|
|
|
|
|
重试变量:
|
2023-11-09 10:15:49 +08:00
|
|
|
|
JD_PDD_TXMAX_RETRY // 已存在状态/待发放,提现中,等最大重试次数 默认 3 次
|
2023-11-03 02:10:59 +08:00
|
|
|
|
JD_PDD_DRAW_RETRY // 抽奖 提示未中奖等最大重试次数 默认 20 次
|
|
|
|
|
|
2023-11-01 21:14:01 +08:00
|
|
|
|
兑换红包变量:
|
|
|
|
|
export JD_PDD_Exchange="true" // 上限后兑换红包,默认关闭
|
|
|
|
|
|
|
|
|
|
注意:轮询页数也大,越容易403,请谨慎填写
|
|
|
|
|
代理变量:
|
|
|
|
|
JD_PDD_PROXY_OPEN // 代理启用变量,默认不开启(true/false)
|
|
|
|
|
JD_PDD_PROXY_TUNNRL // 代理池代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool),格式为:http://ip:port
|
|
|
|
|
JD_PDD_PROXY_URL // API代理地址变量,默认不开启,仅支持 数据格式:txt;提取数量:每次一个,格式为:http://api.xxx.xxx
|
|
|
|
|
JD_PDD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改
|
|
|
|
|
|
|
|
|
|
cron:1 1 1 1 *
|
|
|
|
|
============Quantumultx===============
|
|
|
|
|
[task_local]
|
|
|
|
|
#PDD特价转盘抽奖提现
|
|
|
|
|
1 1 1 1 * jd_pdd_draw.js, tag=PDD特价转盘抽奖提现, enabled=true
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2023-11-03 02:10:59 +08:00
|
|
|
|
const $ = new Env('PDD特价转盘抽奖提现');
|
2023-11-09 10:15:49 +08:00
|
|
|
|
var version_='jsjiami.com.v7';const ll1Ii1=iii1II;(function(i1Il1,li1l1,IIiI1l,IIiI1i,ilIllI,I1IIli,Il1I1i){return i1Il1=i1Il1>>0x7,I1IIli='hs',Il1I1i='hs',function(lIilI1,Il1I1l,Ii1Il1,iIIIli,I1IIll){const iIIIll=iii1II;iIIIli='tfi',I1IIli=iIIIli+I1IIli,I1IIll='up',Il1I1i+=I1IIll,I1IIli=Ii1Il1(I1IIli),Il1I1i=Ii1Il1(Il1I1i),Ii1Il1=0x0;const i1Ii1=lIilI1();while(!![]&&--IIiI1i+Il1I1l){try{iIIIli=parseInt(iIIIll(0x3cc,'E1BY'))/0x1+parseInt(iIIIll(0x350,'#yr@'))/0x2*(-parseInt(iIIIll(0x319,')l2B'))/0x3)+-parseInt(iIIIll(0x385,'[vKF'))/0x4+parseInt(iIIIll(0x177,'Ai(u'))/0x5+-parseInt(iIIIll(0x36f,'E1BY'))/0x6*(-parseInt(iIIIll(0x24b,'v%o2'))/0x7)+-parseInt(iIIIll(0x278,'gKIx'))/0x8*(parseInt(iIIIll(0x106,'gezF'))/0x9)+parseInt(iIIIll(0x3a5,'WjUv'))/0xa*(-parseInt(iIIIll(0x163,'e0&3'))/0xb);}catch(lIilII){iIIIli=Ii1Il1;}finally{I1IIll=i1Ii1[I1IIli]();if(i1Il1<=IIiI1i)Ii1Il1?ilIllI?iIIIli=I1IIll:ilIllI=I1IIll:Ii1Il1=I1IIll;else{if(Ii1Il1==ilIllI['replace'](/[qHpRGJxTFXPkrueYndMthwB=]/g,'')){if(iIIIli===Il1I1l){i1Ii1['un'+I1IIli](I1IIll);break;}i1Ii1[Il1I1i](I1IIll);}}}}}(IIiI1l,li1l1,function(ilIlli,I1IIlI,ilIlll,Ii1Iii,Ii1Iil,ll1IiI,li1li){return I1IIlI='\x73\x70\x6c\x69\x74',ilIlli=arguments[0x0],ilIlli=ilIlli[I1IIlI](''),ilIlll=`\x72\x65\x76\x65\x72\x73\x65`,ilIlli=ilIlli[ilIlll]('\x76'),Ii1Iii=`\x6a\x6f\x69\x6e`,(0x146a68,ilIlli[Ii1Iii](''));});}(0x6000,0x1bb6a,Iii11l,0xc2),Iii11l)&&(version_=ll1Ii1(0x110,'qrOs'));const lI1ilI=require(ll1Ii1(0x1a6,'%03K')),IllliI=require(ll1Ii1(0x27e,'v%o2')),IliIll=require(ll1Ii1(0x297,'%03K')),iIiili=require(ll1Ii1(0x2ca,'dCC0')),lilill=process[ll1Ii1(0x192,'WjUv')][ll1Ii1(0x286,'%03K')]==='true',IilI1=process['env'][ll1Ii1(0x31a,'WjUv')]===ll1Ii1(0x3a4,'qrOs'),l1lI1=process['env'][ll1Ii1(0x21c,'Q0TE')]===ll1Ii1(0x32c,'[vKF'),Ili1I1=process['env']['JD_PDD_TXNUM']||'1',lI1I1i=process[ll1Ii1(0x10c,'Q0TE')][ll1Ii1(0x26d,'TwvM')]===ll1Ii1(0x30d,'$xfD'),liI1II=process['env'][ll1Ii1(0x369,'3tLJ')]||'3',i1Iii1=process[ll1Ii1(0x354,'[vKF')][ll1Ii1(0x15d,'qWbF')]||'3',l1liii=process[ll1Ii1(0x134,'AxTK')]['JD_PDD_TXMAX_RETRY']||'3',I1Ili1=process[ll1Ii1(0x377,'b#oH')][ll1Ii1(0x188,'eTVl')]||'20',l1liil='Wvzc_VpNTlSkiQdHT8r7QA',i1ll1=process['env'][ll1Ii1(0x29a,'EcSk')]===ll1Ii1(0x1c0,'gezF'),lilI1I=process['env'][ll1Ii1(0x15a,'#yr@')],lI1I1l=process[ll1Ii1(0x135,'Z^mn')][ll1Ii1(0x1ff,'Wai&')],Il1Il=process[ll1Ii1(0x1d4,'$xfD')]['JD_PDD_NO_PROXY']||'*.kingran.cf,127.0.0.1,*.baidu.com';let i1IiiI='',lI1I1I=0x0,l1lII=parseInt(liI1II)*0x3e8,lilI1l=parseInt(i1Iii1)*0x3e8;$['PDDEnd']=![];let l1liiI=![];if(i1ll1){l1liiI=!![];try{require(ll1Ii1(0x240,'qrOs'));if(lI1I1l){console[ll1Ii1(0x1b4,'PvxJ')]('\x0a☑️\x20API地址代理已开启:'),console[ll1Ii1(0x268,'E1BY')](ll1Ii1(0x327,'dCC0')+lI1I1l+'\x0a');let i1Iiii=/[a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+\.?/g;global['GLOBAL_AGENT']['NO_PROXY']=i1Iiii['exec'](lI1I1l)[0x0]+','+Il1Il;}else lilI1I?(global['GLOBAL_AGENT'][ll1Ii1(0x276,'qWbF')]=lilI1I,global[ll1Ii1(0xde,'PvxJ')][ll1Ii1(0x205,'qrOs')]=''+Il1Il,console['log'](ll1Ii1(0x1fc,'b#oH')),console[ll1Ii1(0xfa,'Q0TE')]('☑️\x20代理地址为:'+global[ll1Ii1(0x150,'gXBO')][ll1Ii1(0xda,'PvxJ')]+'\x0a')):(console[ll1Ii1(0x1d3,'f)QT')](ll1Ii1(0x21e,'Hn%s')),console[ll1Ii1(0x1d9,'eTVl')](ll1Ii1(0x1ae,'hutf')),console[ll1Ii1(0x2a1,'qrOs')](ll1Ii1(0x1f5,'dCC0')));}catch(l1lIi){console[ll1Ii1(0x1b3,'WjUv')]('\x0a请安装global-agent依赖,才能启用代理!'),console[ll1Ii1(0x265,'Wai&')](ll1Ii1(0x285,'Tgf$')),l1liiI=![];}}else console[ll1Ii1(0x15c,'dCC0')](ll1Ii1(0x186,'WjUv')),console[ll1Ii1(0x3cf,'b#oH')]('⚠\x20开启代理变量:export\x20JD_PDD_PROXY_OPEN=\x27true\x27\x20\x0a');let I1iI1='';const lilI1i=Object[ll1Ii1(0x213,'1&8o')](lI1ilI)[ll1Ii1(0x259,'Wai&')](l1lili=>lI1ilI[l1lili])[ll1Ii1(0x17e,'qWbF')](IIlI1l=>IIlI1l);function iii1II(_0x1f98bd,_0x262c48){const _0xa0f5ae=Iii11l();return iii1II=function(_0x2aa384,_0x5f0d34){_0x2aa384=_0x2aa384-0xc7;let _0xda21e2=_0xa0f5ae[_0x2aa384];if(iii1II['oSRFCW']===undefined){var _0x55df99=function(_0x5058a6){const _0x3e5f
|
2023-11-01 21:14:01 +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
|