Files
vetta-toolkit/README.md
T
gothbreach f049a2636d vetta: cross-platform (Windows+Linux) CLI + full guide + BIN/test-card tool
- vetta.py: unified cross-platform CLI dispatcher (register/activate/check/gateway/bin), resolves scripts relative to itself, relaunches via sys.executable (venv-safe)
- run.sh (LF, robust interpreter probe skips broken python3 stubs) + run.bat (CRLF) OS launchers
- .gitattributes: LF for .sh/.py/.md, CRLF for .bat -> run.sh never breaks on Linux, run.bat never breaks on Windows
- bin/cc_gen.py: Luhn-valid test-card generator (Visa/MC/Amex/Discover), stdlib, cross-platform, CLI + JSON
- bin/BINS.md: honest card/BIN reference - real VCCs (kliencard/privacy/Revolut/Wise) that pass Stripe pre-auth vs generated cards that do NOT
- GUIDE.md: full Windows + Linux + macOS setup, quickstart, gateway usage, env config, cross-platform notes, troubleshooting
- encoding fix: activate_all.py + check_pool.py open() now explicit utf-8 (Windows cp1251 default corrupted non-ASCII emails/orgs)
- README: cross-platform quickstart, guide/BIN links, updated file table
- .gitignore: ignore generated card output + Windows pymanager junk
2026-10-14 11:49:24 +03:00

140 lines
6.2 KiB
Markdown

# vetta-toolkit
Reverse-engineering + mass-autoreg toolkit for **Vetta / Naive** (`vetta.sh`),
an AI-API aggregator (merchant Relixir, Inc.). The frontend advertises ~457
models, but the live `/v1/models` catalogue (verified 2026-10-13, paginated)
contains **369 models, all text/chat** — the image/video proxy routes return
`404 no route` and image/video model IDs are `unknown model`. One
OpenAI-compatible proxy key for everything that actually works.
**Cross-platform (Windows · Linux · macOS)** — one CLI (`vetta.py` / `run.sh` /
`run.bat`), stdlib-only except the optional trial helpers (Playwright).
📖 **[GUIDE.md](GUIDE.md)** — full Windows + Linux setup & usage ·
**[bin/BINS.md](bin/BINS.md)** — cards/BINs: what actually activates the trial ·
**[REVERSE.md](REVERSE.md)** — protocol notes.
> Educational / security-research use. Registering accounts and reading a public
> API is fine; **pay for what you use** and cancel trials before they bill.
> Contains **no real card data and no captcha bypass**; `bin/cc_gen.py` generates
> Luhn **test** numbers for pre-auth/form testing only (generated cards do NOT
> activate the trial — see `bin/BINS.md`).
## What's inside
| File | Purpose |
|------|---------|
| `vetta.py` | **Unified cross-platform CLI** — start here (`vetta register/activate/check/gateway/bin`) |
| `run.sh` / `run.bat` | OS launchers (Linux/macOS · Windows) |
| `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 |
| `auto_trial.py` | Semi-auto activation: real Chrome (CDP) fills card + billing address + submits; you only tick the hCaptcha box once |
| `bin/cc_gen.py` | Luhn **test**-card generator (Visa/MC/Amex/Discover) for pre-auth/form testing |
| `bin/BINS.md` | Real VCCs + BIN reference — what actually activates the trial |
| `GUIDE.md` | Full cross-platform guide (Windows + Linux setup, usage, troubleshooting) |
| `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 fully automated activation**: hCaptcha/Radar defeat every
headless browser and token-injection attempt (documented in `REVERSE.md`).
## 2b. Semi-auto: `auto_trial.py` (everything except one click)
Automates the boring 95%: opens the checkout in a **real Chrome** (CDP), fills
email + your card + full billing address, picks the region, submits, then waits
while you tick the visible hCaptcha box **once** — synthetic CDP clicks on that
box are silently ignored (HUMAN Security layer inside Stripe), verified
2026-10-13. After your click the payment completes by itself and the script
verifies balance/subscription via the API.
```bash
# 1. dedicated Chrome with CDP (fresh profile dir; don't touch your daily browser)
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9333 ^
--user-data-dir=C:\chrome_trial --no-first-run about:blank
# 2. your card in card.json (gitignored): {"pan":"...","exp":"08/30","cvv":"...","name":"..."}
# 3. run: target = index into action_urls.txt (from activate_all.py) or a JSON file
python auto_trial.py 0 # first inactive account
python auto_trial.py 0 9333 300 # explicit port + human wait seconds
```
The card never leaves your machine: read from local JSON → typed into Stripe's
own form → masked in logs → never stored. Result lands in
`auto_trial_result.json` (gitignored).
## 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)