gitmyhub

chatgpt-auto-register

Python ★ 102 updated 15d ago

This is a Python tool for automatically creating ChatGPT accounts in bulk, without using a browser. The README is written in Chinese. The tool works by reverse-engineering the HTTP requests that the ChatGPT registration flow makes, then replaying them programmatically to create accounts end-to-end.

The registration process involves nine steps: fetching a login page, requesting a security token, completing an OAuth redirect, submitting a phone number, waiting for an SMS verification code, validating the code, and finally retrieving a session token. The tool uses a third-party SMS service (SMSBower, hero-sms, or 5sim) to obtain temporary phone numbers and receive the verification codes automatically.

To bypass Cloudflare and OpenAI's bot detection, the tool mimics the TLS fingerprint of the Chrome browser and solves a proof-of-work challenge that the OpenAI authentication server issues to JavaScript clients. These components are bundled as separate modules in the project.

The tool includes both a command-line interface and a web-based control panel. Through the web panel, you can configure your SMS API key, set a proxy, pick a country for the phone numbers, and watch real-time logs as accounts are registered. There is also an optional second phase that links an iCloud Hide My Email address to the created account and uploads the session token to a separate service.

The README includes a disclaimer stating that the project is intended for reverse engineering study only, and that using automated tools to create accounts may violate OpenAI's Terms of Service. The authors note that users bear their own risk.