Files
smallfawn-QLScriptPublic/qbd.js
qifengle1 765211c9cf Update qbd.js
Q必达
2025-02-17 13:27:07 +08:00

13 lines
5.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
版本v2
入口Q必达APP
奖励:低价寄快递+看广告得积分换余额
实现功能:签到+看广告+自动积分换现金
登录需要填写邀请码才能进入8M5RUA6
变量名qbd
变量值export qbd="账号&密码"
多账号换行
*/
const _0x522308=_0x4a97;(function(_0x3e9e1a,_0x2529b3){const _0x24bb19=_0x4a97,_0x4b9bd0=_0x3e9e1a();while(!![]){try{const _0x326c39=-parseInt(_0x24bb19(0x107))/0x1+-parseInt(_0x24bb19(0x111))/0x2+parseInt(_0x24bb19(0xeb))/0x3+parseInt(_0x24bb19(0x10d))/0x4*(-parseInt(_0x24bb19(0xf9))/0x5)+-parseInt(_0x24bb19(0x104))/0x6*(-parseInt(_0x24bb19(0x102))/0x7)+-parseInt(_0x24bb19(0xee))/0x8*(parseInt(_0x24bb19(0x100))/0x9)+parseInt(_0x24bb19(0x10c))/0xa*(parseInt(_0x24bb19(0xf7))/0xb);if(_0x326c39===_0x2529b3)break;else _0x4b9bd0['push'](_0x4b9bd0['shift']());}catch(_0x3ad53b){_0x4b9bd0['push'](_0x4b9bd0['shift']());}}}(_0x5a97,0x892f4));const axios=require(_0x522308(0xfc)),dotenv=require(_0x522308(0xf1));function _0x5a97(){const _0xcf3bd5=['env','580684uLZoXd','log','❌\x20登录失败:','application/json;charset=utf-8','code','includes','data','error','token','http://xcx.wanhuida888.com/ht/web/login/loginNew?t=','Keep-Alive','2824242ylcpCU','1000','❌\x20登录异常:','1656huuiGk','\x0a🎉\x20所有账号任务执行完毕','application/json','dotenv','✅\x20账号登录成功','✅\x20广告获取积分:','❌\x20登录失败跳过该账号任务','❌\x20未设置环境变量\x20qbd请检查配置','now','22MVbSIw','✅\x20账号签到结果:','5VpjxQG','post','qbd','axios','gzip','length','msg','44424OsPebz','尝试登录账号:\x20','681331CuBxIp','exit','6gvXWfD','https://xcx.wanhuida888.com/ht/web/task/watchVideo?t=','split','621375ILuYsm','1835','❌\x20请求失败:','com.qsongq.fjqexpress','http://r2mslggpvtq3.wuliucps.com/ht/web/mine/turnIntegral?t=','12293740xYfuhW','4008472JCXWQo','okhttp-okgo/jeasonlzy','ANDROID'];_0x5a97=function(){return _0xcf3bd5;};return _0x5a97();}dotenv['config']();const authorization=process[_0x522308(0x110)][_0x522308(0xfb)];!authorization&&(console['error'](_0x522308(0xf5)),process[_0x522308(0x103)](0x1));const accounts=authorization[_0x522308(0xe5)]('\x0a')||authorization[_0x522308(0xe5)]('@')?authorization['replace'](/\n/g,'@')[_0x522308(0x106)]('@'):[authorization];function getHeaders(_0x975661){const _0x4a3837=_0x522308;return{'Accept-Language':'zh-CN,zh;q=0.8','User-Agent':_0x4a3837(0x10e),'source':_0x4a3837(0x10f),'appId':_0x4a3837(0x10a),'version':_0x4a3837(0x108),'token':_0x975661,'Content-Type':_0x4a3837(0xe3),'Connection':_0x4a3837(0xea),'Accept-Encoding':_0x4a3837(0xfd)};}function _0x4a97(_0x2438bd,_0x99a32a){const _0x5a97ac=_0x5a97();return _0x4a97=function(_0x4a97b3,_0x145b08){_0x4a97b3=_0x4a97b3-0xe1;let _0x15c337=_0x5a97ac[_0x4a97b3];return _0x15c337;},_0x4a97(_0x2438bd,_0x99a32a);}async function requestPost(_0x4c36f4,_0x3f0bc2,_0x5d06e9={}){const _0x2769c7=_0x522308;try{const _0x1f3ef2=await axios[_0x2769c7(0xfa)](_0x4c36f4,_0x5d06e9,{'headers':getHeaders(_0x3f0bc2)});return _0x1f3ef2[_0x2769c7(0xe6)];}catch(_0x387190){return console[_0x2769c7(0xe7)](_0x2769c7(0x109),_0x387190['message']),null;}}async function login(_0x226592,_0x4bac4e){const _0x109951=_0x522308,_0x2a8058=_0x109951(0xe9)+Date[_0x109951(0xf6)](),_0x33e1f1={'password':_0x4bac4e,'account':_0x226592};try{console[_0x109951(0xe1)](_0x109951(0x101)+_0x226592);const _0x3794f6=await axios['post'](_0x2a8058,_0x33e1f1,{'headers':{'Content-Type':_0x109951(0xf0)}});return _0x3794f6[_0x109951(0xe6)][_0x109951(0xe4)]===0x0?(console[_0x109951(0xe1)](_0x109951(0xf2)),_0x3794f6['data'][_0x109951(0xe6)][_0x109951(0xe8)]):(console[_0x109951(0xe7)](_0x109951(0xe2),_0x3794f6['data'][_0x109951(0xff)]),null);}catch(_0x30b98d){return console[_0x109951(0xe7)](_0x109951(0xed),_0x30b98d['message']),null;}}async function sign(_0x4ee73d){const _0x58c12c=_0x522308,_0x21531c='http://a2e403quwt.wuliucps.com/ht/web/mine/signIn?t='+Date[_0x58c12c(0xf6)](),_0x29031b=await requestPost(_0x21531c,_0x4ee73d);if(_0x29031b)console[_0x58c12c(0xe1)](_0x58c12c(0xf8),_0x29031b[_0x58c12c(0xff)]);}async function watchVideos(_0x3f808f){const _0x4371b9=_0x522308,_0x5085e5=_0x4371b9(0x105)+Date['now']();for(let _0x5282e3=0x0;_0x5282e3<0x3;_0x5282e3++){const _0x1a2ec0=await requestPost(_0x5085e5,_0x3f808f);if(_0x1a2ec0)console[_0x4371b9(0xe1)](_0x4371b9(0xf3),_0x1a2ec0[_0x4371b9(0xff)]);await new Promise(_0x10f527=>setTimeout(_0x10f527,0x4e20+_0x5282e3*0x2710));}}async function turnIntegral(_0x4b4bf7){const _0x175d92=_0x522308,_0x2a8152=_0x175d92(0x10b)+Date[_0x175d92(0xf6)](),_0xd820ad={'integral':_0x175d92(0xec)},_0x23fb57=await requestPost(_0x2a8152,_0x4b4bf7,_0xd820ad);if(_0x23fb57)console[_0x175d92(0xe1)]('✅\x20积分转换结果:',_0x23fb57[_0x175d92(0xff)]);}async function main(){const _0x6663b2=_0x522308;console['log']('\x0a✨✨✨\x20Q必达任务脚本启动\x20✨✨✨');for(let _0x5752b3=0x0;_0x5752b3<accounts[_0x6663b2(0xfe)];_0x5752b3++){const [_0x153d03,_0x12103a]=accounts[_0x5752b3][_0x6663b2(0x106)]('&');console[_0x6663b2(0xe1)]('\x0a🚀\x20开始执行账号\x20'+(_0x5752b3+0x1)+'\x20的任务...');const _0x4c04a4=await login(_0x153d03,_0x12103a);_0x4c04a4?(await sign(_0x4c04a4),await watchVideos(_0x4c04a4),await turnIntegral(_0x4c04a4)):console['error'](_0x6663b2(0xf4)),await new Promise(_0x57119b=>setTimeout(_0x57119b,0x7d0));}console[_0x6663b2(0xe1)](_0x6663b2(0xef));}main();