codex_register  by 0x5uo2hen

Automated OpenAI account registration and token extraction tool

Created 2 weeks ago

New!

403 stars

Top 71.9% on SourcePulse

GitHubView on GitHub
Project Summary

OpenAI/ChatGPT Fully Automatic Registration Machine & Token Extractor provides an automated script for registering OpenAI/ChatGPT accounts and extracting authentication tokens. It targets developers or power users needing to programmatically access OpenAI services, offering a solution to bypass current anti-bot measures and obtain essential API credentials.

How It Works

The script automates the entire registration process, including email verification via the mail.tm API. It employs curl_cffi to mimic browser TLS fingerprints, evading Cloudflare and network-level detection. Crucially, it bypasses OpenAI's Sentinel anti-bot system by obtaining necessary authorization tokens before key requests and intercepts the OAuth2 PKCE flow to extract access_token and refresh_token.

Quick Start & Requirements

  • Primary install: git clone https://github.com/0x5uo2hen/codex_register.git and cd codex_register.
  • Dependencies: Python 3.8+ and pip install curl_cffi.
  • Usage: Run python chatgpt.py for continuous registration or python chatgpt.py --once for a single account. Local proxies can be configured via --proxy.
  • Output: Registered accounts are saved as email----password in accounts.txt, and detailed token information (access, refresh, ID tokens) is stored in token_[email]_[timestamp].json files within the tokens/ directory.

Highlighted Details

  • Automated registration and token extraction for OpenAI/ChatGPT.
  • Bypasses OpenAI's Sentinel anti-bot mechanism and TLS fingerprint detection using curl_cffi.
  • Integrates with mail.tm for temporary email verification.
  • Extracts access_token, refresh_token, and id_token via OAuth2 PKCE flow interception.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), roadmap, or sponsorships are present in the provided README snippet.

Licensing & Compatibility

  • License: No standard open-source license (e.g., MIT, Apache) is specified. The project is explicitly designated for "programming learning & academic research" only.
  • Compatibility: Use is strictly prohibited for illegal purposes, mass registration, or any commercial activities violating OpenAI's Terms of Service.

Limitations & Caveats

The project is intended strictly for educational purposes and not for commercial use or TOS-violating activities. OpenAI's anti-bot and risk control policies are subject to frequent changes, meaning the script's effectiveness is not guaranteed long-term. Users bear full responsibility for any account risks or legal issues arising from its use.

Health Check
Last Commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
15
Star History
421 stars in the last 15 days

Explore Similar Projects

Feedback? Help us improve.