Files
vetta-toolkit/README.md
T

97 lines
3.7 KiB
Markdown

# vetta-toolkit
Reverse-engineering + mass-autoreg toolkit for **Vetta / Naive** (`vetta.sh`),
an AI-API aggregator (merchant Relixir, Inc.) exposing ~457 models
(368 text / 59 image / 30 video) behind one OpenAI-compatible proxy.
> Educational / security-research use. Registering accounts and reading a public
> API is fine; **pay for what you use** and cancel trials before they bill.
> This toolkit contains **no card data, no card generation, no captcha bypass**.
## What's inside
| File | Purpose |
|------|---------|
| `autoreg.py` | Mass registration: disposable inbox → register → confirm → session → org → `sk_live` key, appended to `accounts.jsonl` |
| `activate_all.py` | Batch-generate Stripe trial `action_url`s for every INACTIVE account → `action_urls.txt` (manual activation helper) |
| `check_pool.py` | Status check: balance + subscription per account → ACTIVE vs DEAD (no-card / 402) |
| `gateway.py` | Local OpenAI-compatible gateway (`127.0.0.1:8700`) that rotates the pool's `sk_live` keys against vetta's proxy |
| `trial_url.py` | One-off: fetch a fresh Stripe checkout `action_url` for a single account index |
| `REVERSE.md` | Full API map, schemas, auth flow, trial mechanics, honest blocker notes |
| `requirements.txt` | Python deps |
## Setup
```bash
pip install -r requirements.txt
```
Python 3.10+. `autoreg.py` and `gateway.py` are stdlib-only (no deps needed to
run them); `requirements.txt` lists optional helpers.
## 1. Register accounts
```bash
python autoreg.py 5 # register 5 accounts -> accounts.jsonl
VETTA_PW=MyFarmPass123 python autoreg.py 10
```
Each account (~30s) yields an org `api_key.secret` = `sk_live_...` (the master
Bearer). Records land in `accounts.jsonl` (gitignored).
## 2. Activate the trial (your own card, manual)
Fresh accounts are **empty shells**: balance `$0`, proxy → `402
subscription_required`. The $10 / 7-day trial must be activated through Stripe.
Automated browsers get blocked by Stripe's invisible hCaptcha + Radar (see
`REVERSE.md`), and generated/BIN cards don't pass issuer auth — so activation is
**manual, with your own card**:
1. Get checkout URL(s):
```bash
python trial_url.py accounts.jsonl 0 # single account by index
python activate_all.py # batch: every INACTIVE account -> action_urls.txt
```
2. Open the printed `action_url` in a **real browser** (phone/PC).
3. Enter **your own** card + matching billing country, click *Start trial*,
tick the hCaptcha if it appears.
4. $0 today; **cancel before day 7** or it bills $20/mo.
5. Verify what's live:
```bash
python check_pool.py # ACTIVE vs DEAD (no-card / 402)
```
Activate one account at a time — many subscriptions on a single card can get it
flagged. There is **no automated activation**: hCaptcha/Radar defeat every
headless browser and token-injection attempt (documented in `REVERSE.md`).
## 3. Use the gateway
```bash
python gateway.py # 127.0.0.1:8700
```
Then point any OpenAI client at it:
```bash
curl http://127.0.0.1:8700/v1/chat/completions \
-H 'content-type: application/json' \
-d '{"model":"openai/gpt-6.1-sol-pro","messages":[{"role":"user","content":"hi"}]}'
```
The gateway round-robins the pool, auto-quarantines `402` (no-trial) accounts,
and backs off on `429`. Only trial-activated accounts serve traffic.
## Notes / gotchas
- `/v1/auth/session` returns **201**, not 200.
- New users have no org → scoped calls `403` until `POST /v1/organizations`.
- `api_key.secret` (`sk_live_...`) is the master key, **not** the session token.
- Heavy `urllib` probing from one IP can trigger Cloudflare `1010`; back off or
fetch the `action_url` from a browser same-origin context.
---
👻 [**иишко**](https://t.me/AlStack)