看到有人直接提取出来开通 GPT PLUS 的链接。 怎么办到的。 查看下面的视频
1
robbit 2023-11-16 20:47:07 +08:00
官方 bug ,没有鉴权吧
|
2
lopssh 2023-11-16 21:26:23 +08:00 via Android
登录官网,浏览器里输入
await fetch("https://chat.openai.com/backend-api/payments/checkout", { method: "POST", headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36", "Authorization": "Bearer ey....." }, redirect: 'follow', referrerPolicy: 'no-referrer' }) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error)); 就能获得支付链接 |
3
fw1314 2023-11-16 21:32:31 +08:00 1
|
4
Bulllelon 2023-11-16 22:03:52 +08:00
厉害
|
5
blackcatjlu OP async function fetchToken() {
try { const response = await fetch('/api/auth/session'); if (!response.ok) throw new Error(`${response.status} ${response.statusText}`); const responseData = await response.json(); const { accessToken } = responseData; return accessToken; } catch (error) { console.error('session 获取过程中出现错误', error); } } async function fetchUrl(token) { try { const response = await fetch('/backend-api/payments/checkout', { method: 'POST', headers: { // 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/119.0', // 默认使用浏览器的 UA 'Authorization': `Bearer ${token}` }, redirect: 'follow', referrerPolicy: 'no-referrer' }); if (!response.ok) throw new Error(`${response.status} ${response.statusText}`); const urlObject = await response.json(); return urlObject; } catch (error) { console.error('跳转过程中出现错误', error); } } (async () => { const token = await fetchToken(); if (token) { const urlObject = await fetchUrl(token); if (urlObject && urlObject.url) { window.open(urlObject.url, '_blank'); // 在新标签页中打开 URL } } })(); |
6
shakespark 2023-11-16 22:56:49 +08:00
fetch("/api/auth/session").then(r =>
r.json()).then(({accessToken}) => { fetch("/backend-api/payments/checkout", {"method": "POST", "headers": { "authorization": `Bearer ${accessToken} `,}, }).then(r => r.json()).then(d => window.open(d.url)) }) |
7
Tufutogo 2023-11-16 23:46:40 +08:00 via Android
这才是 ChatGPT 暂停注册 plus 的原因吗? LOL
|
8
Eins 2023-11-17 09:17:59 +08:00
网页怎么支付呢?貌似国内 visa 和银联都不行呐
|
12
AmoonLight 2023-11-17 11:31:08 +08:00
最新消息,会封号
|
13
zimrigeek 361 天前
准备强制购买啊,会封号尊嘟假嘟?
|