【白嫖】阿里云马克杯抢购脚本

阿里云马克杯活动实在是太火了,结果导致抢不到,然后就有大神写出脚本了,自测~

打开https://developer.aliyun.com/adc/series/fc/ 改下收件信息 然后F12 在console里面粘贴回车就行
代码如下

setInterval(function(){ fetch("https://developer.aliyun.com/developer/api/award/receivePrize", {
  "headers": {
    "accept": "*/*",
    "content-type": "application/json",
    "x-requested-with": "XMLHttpRequest"
  },
  "referrerPolicy": "no-referrer-when-downgrade",
  "body": "{\"mobile\":\"13800000000\",\"awardId\":\"e7b816800c3f4ca9811eaaf3b6a29ccf\",\"name\":\"隔壁老王\",\"extension\":\"{ 'address': '地址' }\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
}).then(function(data) {console.log(data.json())}).then(function(Json) {console.log(Json);})},1000)

上面的代码自己改手机号姓名地址哈~

转自行云博客

你可能感兴趣的:(学习技术)