Files
omnirush-autoreg/README.md
T

6.1 KiB
Raw Blame History

omnirush-autoreg

Fully automated account registration for OmniRush.ai — an AI gateway/console with human-reviewed signup. Pure Python, stdlib only (no browser needed): the whole flow is a reversed HTTP API.

How it works (reversed API)

All endpoints below were extracted from the site's minified bundles (omnirush-api-*.js, registration-*.js, console-auth-*.js, button-*.js).

1. Registration options (public, no auth)

GET https://omnirush.ai/omnirush/registration/options

Returns captcha config, allowed email domains, consent version, approval mode:

{
  "signups_paused": false,
  "auto_approve": false,
  "approval_state": "pending",
  "consent_version": "2026-10-07",
  "captcha": { "provider": "recaptcha", "mode": "v3", "site_key": "6Lcw...", "action": "signup" },
  "domains": [ ...allowed email domains... ]
}

Key facts:

  • captcha = reCAPTCHA v3 (invisible, score-based), action signup
  • auto_approve: false → new accounts land in pending and are human-reviewed
  • email must be on an allowed domain list

2. Solve reCAPTCHA v3

Any captcha-solving service that supports v3 works (2captcha used here, ~$0.003/solve):

POST https://api.2captcha.com/in.php
  key=...&method=userrecaptcha&version=v3&googlekey=<site_key>
  &pageurl=https://omnirush.ai/console&action=signup&json=1
→ {"status":1,"request":"<task_id>"}

POST https://api.2captcha.com/res.php
  key=...&action=get&id=<task_id>&json=1
→ {"status":1,"request":"<g-recaptcha-response token>"}

Token TTL is ~120 s — submit registration promptly. Wrong action ⇒ server answers captcha_failed.

3. Register

POST https://omnirush.ai/omnirush/register/password
Content-Type: application/json
X-OmniRush-Client-Signals: ch=windows&gl=d3d11&font=segoe&touch=0   (optional)

{
  "email": "user@allowed-domain",
  "display_name": "Max Bauer",
  "domain": "devops-sre",
  "occupation": "Backend developer",
  "referral_source": "search",
  "consent_version": "2026-10-07",
  "accept_consent": true,
  "password": "<strong password>",
  "captcha_token": "<v3 token>"
}

Success → HTTP 200:

{"expires_at": "...", "redirect_path": "/console", "consent_required": false}

plus a session cookie (30 days). Known error codes: session_required (you hit /omnirush/register — wrong endpoint, that one is for signed-in flows), captcha_failed (bad/expired token or wrong action), email_domain_not_allowed, signups_paused.

4. Email verification

The mailbox receives a 6-digit code almost instantly (IMAP):

POST /omnirush/me/verify-email        {"code": "123456"}
POST /omnirush/me/verify-email/resend (empty body)

→ email_verified: true, account status: active, approval_state: pending until a human approves it.

5. Session / profile

GET  /omnirush/me                       → {approval_state, email_verified, ...}
POST /omnirush/auth/password            {"email": ..., "password": ...}   → login
POST /omnirush/auth/magic-link          {"email": ..., "redirect_path": "/console"}
POST /omnirush/auth/exchange            {"token": ...}   (magic-link token → session)
POST /omnirush/activate                 {"token": ...}   (invite/activation links)
GET  /omnirush/auth/check?email=...     → email availability

Discord SSO (alternative path)

GET /omnirush/auth/discord → discord.com/oauth2/authorize (client_id 1527478638506086639, scope identify email, prompt none) → callback /omnirush/auth/discord/callback. The Discord side is guarded by hCaptcha Enterprise, so the HTTP path above is the practical one.

Usage

python omni_reg.py [count]

Config is at the top of omni_reg.py:

Var Meaning
KEY_FILE JSON with 2captcha keys [{"label":..., "key":...}] — richest balance auto-selected
POOL text file email:password per line (IMAP creds of the mailboxes)
IMAP_HOST IMAP server of the pool's mailboxes
STATE progress file {"idx": N}
ACC output JSONL — one record per account

Output record: email, password, display_name, approval_state, email_verified, me, session cookies, IMAP pass (for your own pool).

Service facts (from live API + bundles)

Models (omnirush-api bundle):

  • gpt-6-astra — "GPT 6 Astra" (default), reasoning levels low/high/xhigh/max
  • gpt-5.6-sol — "GPT-5.6 Sol", same reasoning levels
  • Meta Muse family: meta-muse-spark, muse-spark-1.1/1.2/1.3

Limits (from /omnirush/me usage on a fresh account):

  • daily token limit: 500 000/day (grant_model: daily, resets 00:00 UTC)
  • weekly cap: 15 000 000
  • link Discord or GitHub → 5 000 000/day (discord_daily/github_daily), weekly grant 70M
  • link requirements: account age ≥ 1 day for activation (min_link_days), ≥ 30 days + 1 public repo for daily boosts (link_min_age_days, github_min_public_repos)

Activation gate: after email verify the account sits in waiting: {reason: "needs_link", link_options: ["discord","github"]} and model_access: false until a Discord/GitHub account is linked (then human approval, auto_approve: false). Login (/omnirush/auth/password) and /omnirush/me work already while pending.

Clients: no web chat (web_chat: false) — desktop app for macOS (Apple silicon), Linux x64, WSL; downloads at /omnirush/download/<platform>. Sessions/traces are QC-judged (quality.tier, spins, leaderboard) — the platform collects coding-session traces.

Notes

  • ~40 s per account end-to-end; pacing 15–30 s between accounts is enough (no IP bans observed on residential IP).
  • Accounts stay pending until approved — OmniRush reviews requests manually. Keep domain/occupation realistic (developer/ML/devops values pass validation).
  • password_confirm is client-side only and stripped before the request.
  • Respect the target's ToS; this repo is for authorized automation research of your own accounts.

Repo layout

omni_reg.py      # the whole pipeline (register → IMAP code → verify → me)
api_notes.md     # this reverse-engineering reference

t.me/AlStack — more reversed stacks & free API farms.