全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 28469|回复: 146

[疑问] 狗东养红包自动脚本

  [复制链接]
发表于 2019-10-22 09:54:30 | 显示全部楼层 |阅读模式
本帖最后由 XianD 于 2019-10-22 10:53 编辑

活动地址:
https://happy.m.jd.com/babelDiy/GZWVJFLMXBQVEBDQZWMY/XJf8bH6oXDWSgS91daDJzXh9bU7/index.html

浏览器打开控制台(console)按F12直接粘贴下面js等完成即可

(首次参加,要先打开京东APP,首页右侧浮标“疯抢一亿”开启活动不然也会报错)
(提示打开app的不用管)
(报错:VM69:1 Uncaught (in promise) TypeError: Cannot read property 'result' of undefined的需要先在m.jd.com登录下才行)
(报错:VM69:1 Uncaught (in promise) TypeError: Cannot read property 'result' of undefined的需要先在m.jd.com登录下才行)
(报错:VM69:1 Uncaught (in promise) TypeError: Cannot read property 'result' of undefined的需要先在m.jd.com登录下才行)


教程来了
1. 浏览器打开上面地址后按F12打开控制台如下图

2. 粘贴下面js代码到右边(你的右边那个控制台可能在下面,一样的不影响直接粘贴即可)粘贴后按Enter即可

  1. let productList=[],shopList=[],url="https://api.m.jd.com/client.action";function autoPost(id,type){fetch(`${url}?timestamp=${new Date().getTime()}`,{method:"POST",mode:"cors",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`functionId=raisepacket_collectScore&body={"type":${type},"ext":"${id}","appsign":1,"msgsign":2}&client=wh5`}).then(function(response){return response.json()}).then(function(res){console.log(res.data.biz_msg)})}function start(){fetch(`${url}?${new Date().getTime()}`,{method:"POST",mode:"cors",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:'functionId=raisepacket_getShopAndProductList&body=&client=wh5'}).then(function(response){return response.json()}).then(function(res){productList=res.data.result.productList;shopList=res.data.result.shopList;console.log(`获取到任务,商品:${productList.length}商品:${shopList.length}`);autoProductTask()})}function autoProductTask(){for(let i=0,leng=productList.length;i<leng;i++){(function(index){setTimeout(()=>{let item=productList[index];autoPost(item['id'],4);console.log(`商品总任务数:${leng}当前任务数:${index+1}`);if(leng-1==index){autoShopTask()}},index*1500)})(i)}}function autoShopTask(){for(let i=0,leng=shopList.length;i<leng;i++){(function(index){setTimeout(()=>{let item=shopList[index];autoPost(item['id'],2);console.log(`商铺总任务数:${leng}当前任务数:${index+1}`);if(leng-1==index){autoPlay()}},index*1500)})(i)}}function autoPlay(){for(let i=0,leng=4;i<leng;i++){(function(index){setTimeout(()=>{autoPost(0,5);console.log(`好玩互动:${leng}当前任务数:${index+1}`);if(leng-1==index){autoInteract()}},index*1000)})(i)}}function autoInteract(){for(let i=0,leng=4;i<leng;i++){(function(index){setTimeout(()=>{autoPost(0,10);console.log(`视频直播:${leng}当前任务数:${index+1}`);if(leng-1==index){autoShopping()}},index*1000)})(i)}}function autoShopping(){for(let i=0,leng=3;i<leng;i++){(function(index){setTimeout(()=>{autoPost(0,3);console.log(`精彩会场:${leng}当前任务数:${index+1}`)},index*1000)})(i)}}start();
复制代码


 楼主| 发表于 2019-10-22 10:01:41 | 显示全部楼层
Wyatt 发表于 2019-10-22 09:58
提示去app养红包怎么破

不用管 直接console粘贴js
发表于 2019-10-28 09:23:52 | 显示全部楼层
提示速度太快。。。。
 楼主| 发表于 2019-10-24 09:48:11 | 显示全部楼层

一次就好
发表于 2019-10-22 09:58:21 | 显示全部楼层
提示去app养红包怎么破
发表于 2019-10-22 10:02:49 | 显示全部楼层
这么骚的操作简直要支持一波,虽然不知道怎么弄
发表于 2019-10-22 10:03:54 | 显示全部楼层
这种不怕封号吗?
发表于 2019-10-22 10:04:25 | 显示全部楼层
多谢大佬的脚本,这个只要点进去操作直接执行就行,提示 去APP养红包 也没事,一样可以执行成功
 楼主| 发表于 2019-10-22 10:04:32 | 显示全部楼层
lancolor 发表于 2019-10-22 10:03
这种不怕封号吗?

应该不会吧...
发表于 2019-10-22 10:05:09 | 显示全部楼层
很牛逼,但是我用不来
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 09:08 , Processed in 0.089339 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表