Perplexity Pro 一年免费 by Xfinity Rewards

感谢 :heart:

感谢分享,回馈泥潭
XFINITYAR5SPFSN

3 个赞

作为perplexity 重度用户万分感谢!

楼上的code都invalid了? 这么快的吗 不是每个code可以用8次?

这个能否具体说说怎么用? 谢谢

首先按照这里搭起 Open WebUI 本体,然后用这个 pipeline 集成 perplexity

Open WebUI 真的是很强大的存在,可以让你自由在 GPT-4/Claude/Llama/Perplexity 之间切换,还能集成自己的工具(比如连搜索引擎实现自己的 perplexity)。有空可以写个完整的帖子

7 个赞

求一个!

来晚了,蹲一个好心人的码

xfinity37ngbq03
xfinity3328jaxq

2 个赞

求两个:racehorse:,谢谢辣

来晚了,同求一个优惠码,感谢。

发现优惠码是xfinity + 8个字母/数字,想暴力跑字典,但是没能监测到网络连接 :rofl:

不知道这个前端是怎么写的,为什么验证激活码时没有网络连接,也不懂js代码不知道怎么调试,只能模拟浏览器。

有没有前端工程师解惑

叫gpt写了份python代码,随机生成优惠码测试,不知道有没有用,大家一起跑啊,分布式破解 :yaoming:

import random
import string
import json
import asyncio
import os
from playwright.async_api import async_playwright

COOKIE_FILE = "cookies.json"  # File to store cookies

async def generate_random_string(length=8):
    letters = string.ascii_letters + string.digits
    res = ''.join(random.choice(letters) for i in range(length))
    res = "XFINITY" + res.upper()
    # print(res)
    return res

async def save_cookies(page):
    cookies = await page.context.cookies()
    with open(COOKIE_FILE, 'w') as f:
        json.dump(cookies, f)
    print("Cookies saved.")

async def load_cookies(page):
    if os.path.exists(COOKIE_FILE):
        try:
            with open(COOKIE_FILE, 'r') as f:
                cookies = json.load(f)
                if cookies:  # Check if the cookies list is not empty
                    await page.context.add_cookies(cookies)
                    print("Cookies loaded.")
                else:
                    print("Cookies file is empty.")
        except json.JSONDecodeError:
            print("Error decoding JSON. The cookies file might be empty or corrupted.")
    else:
        print("No cookies file found, starting fresh.")

async def main():
    async with async_playwright() as p:
        browser = await p.firefox.launch(headless=False, proxy={"server": "socks5://127.0.0.1:9050"})
        context = await browser.new_context()

        page = await context.new_page()

        # Load cookies if they exist
        await load_cookies(page)

        # Replace the URL with the actual URL of the page you're testing
        await page.goto('https://www.perplexity.ai/join/p/xfinity')

        print("Script paused. Please log in manually.")
        await page.pause()  # Pause to allow manual login

        # Save cookies after login
        await save_cookies(page)

        print("Starting to test promo codes...")

        while True:
            random_code = await generate_random_string()
            print(f"Testing promo code: {random_code}")

            # Fill the promo code input
            await page.fill('input[placeholder="Promo Code"]', random_code)
            
            # Click the continue button
            await page.click('button[type="submit"]')

            # Check for the "Promo code invalid" message
            try:
                # Wait for the error message indicating an invalid code
                error_message = await page.wait_for_selector('text=Promo code invalid', timeout=2000)
                if error_message:
                    print(f"Invalid promo code: {random_code}")
            except:
                # If no error message is found, the code might be valid
                print(f"Potentially valid promo code found: {random_code}")
                break  # Exit the loop or handle the valid code scenario

            # Add a small delay to avoid overwhelming the server
            await asyncio.sleep(0.5)

        await browser.close()

asyncio.run(main())
2 个赞

它用的是websocket通信,你可以在 Network →
wss://www.perplexity.ai/socket.io/* → Messages里面看到实际的 requests & responses.

另外我觉得也可能是perplexity给xfinity一个生成随机code的api,所以你刷到的都是别人真实生成过的code而不是还未发放/生成的。另外不管怎样,8个字母/数字的字典space有36^8,大概2.8e12量级,估计还没怎么跑起来就被cloudflare封了。

7 个赞

谢谢分享,目前都用光了

那个code其实是stripe的。我猜perplexity用stripe的api生成8次有效的code,可能实时生成,也可能预先生成一堆。如果是前者暴力不太可能跑出来。

同求个code
好人一生平安

Code: XFINITYGRX6V2HM

1 个赞

求个code,感谢大家 :pray: :pleading_face:

uber one好像也送

uber one会员没收到送的
直接找客服要了一个code今天

2 个赞

我是试用期的uber one,点开offer发现并没有给perplexity的code :joy: