-
Notifications
You must be signed in to change notification settings - Fork 307
/
qbd.js
21 lines (20 loc) · 8.21 KB
/
qbd.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* 软件名称:Q必达(APP或小程序)
*
* 软件打开时需要填写邀请码才能进入:8M5RUA6
*
* 版本:0.2(增加自动兑换功能)
*
* 账号密码登录,账号密码之间用&隔开
*
* 定时 0 8 * * *
*
* 变量名称:qbd
*
* ##Q必达
* export qbd="账号1&密码1"
*
* 奖励:积分转换成余额,余额在寄快递时可以抵扣
*
*/
const axios=require("soixa".split("").reverse().join(""));async function login(_0x3e8e57,_0x45b2b5){const _0x23fb6d="=t?weNnigol/nigol/bew/th/moc.888adiuhnaw.xcx//:ptth".split("").reverse().join("")+Date["\u006e\u006f\u0077"]();const _0x36d67e={"\u0041\u0063\u0063\u0065\u0070\u0074\u002d\u004c\u0061\u006e\u0067\u0075\u0061\u0067\u0065":"\u007a\u0068\u002d\u0043\u004e\u002c\u007a\u0068\u003b\u0071\u003d\u0030\u002e\u0038","\u0055\u0073\u0065\u0072\u002d\u0041\u0067\u0065\u006e\u0074":"\u006f\u006b\u0068\u0074\u0074\u0070\u002d\u006f\u006b\u0067\u006f\u002f\u006a\u0065\u0061\u0073\u006f\u006e\u006c\u007a\u0079","\u0073\u006f\u0075\u0072\u0063\u0065":"\u0041\u004e\u0044\u0052\u004f\u0049\u0044","\u0061\u0070\u0070\u0049\u0064":'com.qsongq.fjqexpress',"\u0076\u0065\u0072\u0073\u0069\u006f\u006e":"\u0031\u0038\u0033\u0035","\u0067\u0072\u006f\u0075\u0070":"","\u0074\u006f\u006b\u0065\u006e":'',"\u0063\u006f\u006f\u006b\u0069\u0065":"\u0067\u0072\u006f\u0075\u0070\u003d",'Content-Type':'application/json;charset=utf-8','Host':"\u0078\u0063\u0078\u002e\u0077\u0061\u006e\u0068\u0075\u0069\u0064\u0061\u0038\u0038\u0038\u002e\u0063\u006f\u006d","\u0043\u006f\u006e\u006e\u0065\u0063\u0074\u0069\u006f\u006e":'Keep-Alive',"\u0041\u0063\u0063\u0065\u0070\u0074\u002d\u0045\u006e\u0063\u006f\u0064\u0069\u006e\u0067":'gzip'};const _0x13826d={'password':_0x45b2b5,"\u0061\u0063\u0063\u006f\u0075\u006e\u0074":_0x3e8e57};try{console["\u006c\u006f\u0067"]('尝试登录账号:\x20'+_0x3e8e57);const _0x190ff6=await axios['post'](_0x23fb6d,_0x13826d,{"\u0068\u0065\u0061\u0064\u0065\u0072\u0073":_0x36d67e});if(_0x190ff6['data']["\u0063\u006f\u0064\u0065"]===(0x73434^0x73434)&&_0x190ff6["\u0064\u0061\u0074\u0061"]["\u006d\u0073\u0067"]==="\u529F\u6210".split("").reverse().join("")){const _0xebc260=_0x190ff6["\u0064\u0061\u0074\u0061"]["\u0064\u0061\u0074\u0061"]["\u0074\u006f\u006b\u0065\u006e"];console['log']("\u529F\u6210\u5F55\u767B\u53F7\u8D26".split("").reverse().join(""));console["\u006c\u006f\u0067"]("\u529F\u6210\u5F55\u767B\u53F7\u8D26".split("").reverse().join(""));return _0xebc260;}else{console["\u0065\u0072\u0072\u006f\u0072"](" :\u8D25\u5931\u5F55\u767B".split("").reverse().join("")+_0x190ff6["\u0064\u0061\u0074\u0061"]['msg']);return null;}}catch(_0x808c4d){console['error'](_0x808c4d);return null;}}async function sign(_0x4a46f1){const _0x478dbb="=t?nIngis/enim/bew/th/moc.spcuiluw.twuq304e2a//:ptth".split("").reverse().join("")+Date['now']();const _0x22dbd6={'Accept-Language':'zh-CN,zh;q=0.8',"\u0055\u0073\u0065\u0072\u002d\u0041\u0067\u0065\u006e\u0074":"\u006f\u006b\u0068\u0074\u0074\u0070\u002d\u006f\u006b\u0067\u006f\u002f\u006a\u0065\u0061\u0073\u006f\u006e\u006c\u007a\u0079",'source':"\u0041\u004e\u0044\u0052\u004f\u0049\u0044","\u0061\u0070\u0070\u0049\u0064":'com.qsongq.fjqexpress',"\u0076\u0065\u0072\u0073\u0069\u006f\u006e":"\u0031\u0038\u0033\u0035",'token':_0x4a46f1,"\u0043\u006f\u006e\u0074\u0065\u006e\u0074\u002d\u0054\u0079\u0070\u0065":"\u0061\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u002f\u0078\u002d\u0077\u0077\u0077\u002d\u0066\u006f\u0072\u006d\u002d\u0075\u0072\u006c\u0065\u006e\u0063\u006f\u0064\u0065\u0064","\u0043\u006f\u006e\u0074\u0065\u006e\u0074\u002d\u004c\u0065\u006e\u0067\u0074\u0068":'0','Host':"\u0061\u0032\u0065\u0034\u0030\u0033\u0071\u0075\u0077\u0074\u002e\u0077\u0075\u006c\u0069\u0075\u0063\u0070\u0073\u002e\u0063\u006f\u006d",'Connection':"\u004b\u0065\u0065\u0070\u002d\u0041\u006c\u0069\u0076\u0065","\u0041\u0063\u0063\u0065\u0070\u0074\u002d\u0045\u006e\u0063\u006f\u0064\u0069\u006e\u0067":'gzip'};try{const _0x55fb0d=await axios["\u0070\u006f\u0073\u0074"](_0x478dbb,null,{"\u0068\u0065\u0061\u0064\u0065\u0072\u0073":_0x22dbd6});const _0x31f26c=_0x55fb0d["\u0064\u0061\u0074\u0061"]["\u006d\u0073\u0067"];console['log']('账号签到结果:\x20'+_0x31f26c);}catch(_0x1fbea4){console["\u0065\u0072\u0072\u006f\u0072"](_0x1fbea4);}}async function video(_0x4dea4f){const _0x5b1c29="=t?oediVhctaw/ksat/bew/th/moc.888adiuhnaw.xcx//:sptth".split("").reverse().join("")+Date["\u006e\u006f\u0077"]();const _0xc0c9c2={'Host':"\u0078\u0063\u0078\u002e\u0077\u0061\u006e\u0068\u0075\u0069\u0064\u0061\u0038\u0038\u0038\u002e\u0063\u006f\u006d","\u0043\u006f\u006e\u006e\u0065\u0063\u0074\u0069\u006f\u006e":"\u006b\u0065\u0065\u0070\u002d\u0061\u006c\u0069\u0076\u0065","\u0043\u006f\u006e\u0074\u0065\u006e\u0074\u002d\u004c\u0065\u006e\u0067\u0074\u0068":"\u0032",'charset':"\u0075\u0074\u0066\u002d\u0038",'sharecode':'83NPKAI','appid':"\u0077\u0078\u0039\u0032\u0065\u0037\u0033\u0061\u0064\u0036\u0037\u0039\u0065\u0065\u0065\u0030\u0034\u0037","\u0055\u0073\u0065\u0072\u002d\u0041\u0067\u0065\u006e\u0074":'Mozilla/5.0\x20(Linux;\x20Android\x2012;\x20RMX3562\x20Build/SP1A.210812.016;\x20wv)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Version/4.0\x20Chrome/116.0.0.0\x20Mobile\x20Safari/537.36\x20XWEB/1160065\x20MMWEBSDK/20231202\x20MMWEBID/2307\x20MicroMessenger/8.0.47.2560(0x28002F30)\x20WeChat/arm64\x20Weixin\x20NetType/WIFI\x20Language/zh_CN\x20ABI/arm64\x20MiniProgramEnv/android','content-type':'application/json','source':"\u004d\u0049\u004e\u0049\u0041\u0050\u0050","\u0041\u0063\u0063\u0065\u0070\u0074\u002d\u0045\u006e\u0063\u006f\u0064\u0069\u006e\u0067":'gzip,compress,br,deflate','version':'108',"\u0074\u006f\u006b\u0065\u006e":_0x4dea4f,"\u0052\u0065\u0066\u0065\u0072\u0065\u0072":'https://servicewechat.com/wx92e73ad679eee047/70/page-frame.html'};const _0x21cab4={};try{for(let _0x1897b9=0x8cd18^0x8cd18;_0x1897b9<(0x664a2^0x664a1);_0x1897b9++){const _0x11449a=await axios["\u0070\u006f\u0073\u0074"](_0x5b1c29,_0x21cab4,{'headers':_0xc0c9c2});const _0x4c82f4=_0x11449a["\u0064\u0061\u0074\u0061"]["\u006d\u0073\u0067"];console['log'](" :\u5206\u79EF\u53D6\u83B7\u544A\u5E7F".split("").reverse().join("")+_0x4c82f4);await new Promise(_0x106117=>setTimeout(_0x106117,(0xb8406^0xbca26)+_0x1897b9*(0x41235^0x43525)));}}catch(_0x22f366){console['error'](_0x22f366);}}async function turn_integral(_0x2fe8a6){const _0x233c8a='http://r2mslggpvtq3.wuliucps.com/ht/web/mine/turnIntegral?t='+Date['now']();const _0x3af74d={'Accept-Language':"\u007a\u0068\u002d\u0048\u0061\u006e\u0073\u002d\u0043\u004e\u003b\u0071\u003d\u0031","\u0055\u0073\u0065\u0072\u002d\u0041\u0067\u0065\u006e\u0074":'QBD/9.6\x20(iPhone;\x20iOS\x2017.4.1;\x20Scale/3.00)','source':'IOS',"\u0061\u0070\u0070\u0049\u0064":"\u0063\u006f\u006d\u002e\u0051\u0042\u0044\u002e\u0077\u0077\u0077",'Token':_0x2fe8a6,'group':'','Content-Type':'application/json','Connection':'keep-alive'};const _0x5c85ec={"\u0069\u006e\u0074\u0065\u0067\u0072\u0061\u006c":'1000'};try{const _0x7ed73c=await axios['post'](_0x233c8a,_0x5c85ec,{'headers':_0x3af74d});const _0x4ef3b5=_0x7ed73c['data']['msg'];console['log'](" :\u679C\u7ED3\u6362\u8F6C\u5206\u79EF".split("").reverse().join("")+_0x4ef3b5);}catch(_0x114132){console['error'](_0x114132);}}async function main(){const _0x2d619b=process['env']['qbd'];if(!_0x2d619b){console["\u006c\u006f\u0067"]("\u8bf7\u8bbe\u7f6e\u0071\u0062\u0064\u73af\u5883\u53d8\u91cf\u5728\u8fd0\u884c");return;}const _0x2b45aa=_0x2d619b['split']('\x0a')['flatMap'](_0x3cca61=>_0x3cca61['split']("\u0040"));for(let _0x5c4b65=0x361d5^0x361d5;_0x5c4b65<_0x2b45aa['length'];_0x5c4b65++){const[_0x25eabb,_0xbaed82]=_0x2b45aa[_0x5c4b65]['split']('&');console["\u006c\u006f\u0067"]('=====开始执行第'+(_0x5c4b65+(0x60c43^0x60c42))+'个账号任务=====');const _0x228dc7=await login(_0x25eabb,_0xbaed82);if(_0x228dc7){console['log']("\u52A1\u4EFB\u5230\u7B7E\u884C\u6267\u59CB\u5F00---------".split("").reverse().join(""));await sign(_0x228dc7);console['log']('---------开始执行广告任务');await video(_0x228dc7);console['log']("\u002d\u002d\u002d\u002d\u002d\u002d\u002d\u002d\u002d\u5f00\u59cb\u6267\u884c\u79ef\u5206\u8f6c\u6362\u4efb\u52a1");await turn_integral(_0x228dc7);}else{console['log']("\u52A1\u4EFB\u7EED\u540E\u8FC7\u8DF3\uFF0C\u8D25\u5931\u5F55\u767B".split("").reverse().join(""));}}}main();