Skip to content

Instantly share code, notes, and snippets.

@robinfang
Created January 25, 2022 00:46
Show Gist options
  • Save robinfang/cb293d44bce58613a4cf1fbf9c0f9692 to your computer and use it in GitHub Desktop.
Save robinfang/cb293d44bce58613a4cf1fbf9c0f9692 to your computer and use it in GitHub Desktop.
北邮人批量换上传量
for(var i=0;i<5;i++ ){
fetch("https://byr.pt/mybonus.php?action=exchange", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "zh-CN,zh;q=0.9,en;q=0.8,ja;q=0.7,ru;q=0.6,zh-TW;q=0.5",
"cache-control": "max-age=0",
"content-type": "application/x-www-form-urlencoded",
"sec-ch-ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"97\", \"Chromium\";v=\"97\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1"
},
"referrer": "https://byr.pt/mybonus.php",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "option=3&submit=%E4%BA%A4%E6%8D%A2",
"method": "POST",
"mode": "cors",
"credentials": "include"
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment