vetta-toolkit: autoreg + reverse + gateway (secret-free)
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
# 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` |
|
||||
| `gateway.py` | Local OpenAI-compatible gateway (`127.0.0.1:8700`) that rotates the pool's `sk_live` keys against vetta's proxy |
|
||||
| `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 a checkout URL for an account (uses its `sk_live` secret):
|
||||
```bash
|
||||
python trial_url.py accounts.jsonl 0 # index of the account
|
||||
```
|
||||
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.
|
||||
|
||||
Activate one account at a time — many subscriptions on a single card can get it
|
||||
flagged.
|
||||
|
||||
## 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)
|
||||
Reference in New Issue
Block a user