50 lines
1.9 KiB
Markdown
50 lines
1.9 KiB
Markdown
# Grok (x.ai) Registration Pipeline
|
|
|
|
## Working Setup (2026-08-14)
|
|
|
|
**Location**: `C:\Users\User\Desktop\авторег проект\ready_grok_reg\`
|
|
|
|
### Components
|
|
|
|
| Component | File | Purpose |
|
|
|---|---|---|
|
|
| Main script | `DrissionPage_example.py` (1401 lines) | Full registration flow |
|
|
| Email IMAP | `email_register_t_online.py` | t-online.de OTP retrieval |
|
|
| Config | `config.json` | Proxy, DuckMail, API settings |
|
|
| Turnstile patch | `turnstilePatch/` | Chrome extension for CDP bypass |
|
|
| Email pool | `working_mails.txt` | 17,893 t-online.de accounts |
|
|
| Proxy pool | `bpproxy_live.json` | 25 live residential proxies |
|
|
|
|
### Flow
|
|
|
|
1. Start Chromium via DrissionPage with Turnstile patch extension
|
|
2. Navigate to `https://accounts.x.ai/sign-up?redirect=grok-com`
|
|
3. Wait for Cloudflare Turnstile to auto-pass (15-30s)
|
|
4. Click "Sign up with email" button
|
|
5. Get email from `working_mails.txt` → fill email field → submit
|
|
6. Read OTP via IMAP (`secureimap.t-online.de:993`)
|
|
7. Enter OTP → fill profile (name, password) → submit
|
|
8. Collect SSO token → save to `sso/` directory
|
|
|
|
### Key Fixes Applied (2026-08-14)
|
|
|
|
1. **DrissionPage proxy auth**: DrissionPage doesn't support `user:pass@host` proxy URLs. Use `proxy_forwarder.py` on localhost:9128.
|
|
2. **Geo-blocking**: bpproxy residential exits from random countries. Verify with `ip-api.com` before use. Canada (CA) works for x.ai.
|
|
3. **Turnstile wait**: increased from 5s to 30s with active challenge detection loop.
|
|
4. **Button text**: added more English fallbacks (`continue with email`, `sign up with email`, `use email`).
|
|
|
|
### Current Issues
|
|
|
|
- proc_a67640977778 running with Canada proxy + Turnstile wait fix
|
|
- Awaiting results
|
|
|
|
### Dependencies
|
|
|
|
```
|
|
DrissionPage==[REDACTED-IP]b14
|
|
curl_cffi>=0.7.0
|
|
```
|
|
|
|
### Original Source
|
|
|
|
Fork of [kevinr229/grok-maintainer](https://github.com/kevinr229/grok-maintainer), adapted for t-online.de IMAP. |