- 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
219 lines
8.1 KiB
Markdown
219 lines
8.1 KiB
Markdown
# vetta-toolkit — Full Guide (Windows + Linux + macOS)
|
|
|
|
Mass autoreg + OpenAI-compatible gateway for **vetta.sh** (Naive / Vetta), plus a
|
|
BIN / card helper for trial activation. Everything runs on the **standard library**
|
|
except the trial-activation helper (Playwright). One CLI, identical on every OS.
|
|
|
|
> **Honest status:** the autoreg is 100 % free and headless. The **trial activation
|
|
> requires a real card** (Stripe pre-auth + Radar block every generated card and
|
|
> every headless browser). See [`bin/BINS.md`](bin/BINS.md) for what actually works.
|
|
|
|
---
|
|
|
|
## 0. What you get
|
|
|
|
| Command | What it does | Cost |
|
|
|---------|--------------|------|
|
|
| `vetta register N` | Mass-register N accounts → `accounts.jsonl` (each with an `sk_live_` org key) | **Free**, headless |
|
|
| `vetta activate` | Fetch Stripe trial `action_url`s for inactive accounts | Free (browser) |
|
|
| `vetta trial-url [pool] [idx]` | Fetch one fresh trial `action_url` | Free (browser) |
|
|
| `vetta check` | Pool status: **ACTIVE** ($10 trial) vs **DEAD** (402) | Free (browser) |
|
|
| `vetta gateway` | OpenAI-compatible proxy on `127.0.0.1:8700` over active accounts | Free |
|
|
| `vetta bin visa 5 --cvv` | Luhn **test** card generator (form/pre-auth testing) | Free |
|
|
|
|
Models behind the gateway (via vetta's proxy): `claude-opus-4-6`,
|
|
`claude-haiku-4-5`, `gemini-3-flash-preview`, `gpt-5.4-nano`, `gpt-5.5`,
|
|
`gpt-image-2`, `qwen-3.5`, … (live list: `vetta` → `/v1/models`).
|
|
|
|
---
|
|
|
|
## 1. Requirements
|
|
|
|
- **Python 3.9+** (3.11 recommended).
|
|
- **Playwright + Chromium** — only for `activate` / `trial-url` / `check`
|
|
(they drive a real browser context). `register`, `gateway` and `bin` are pure
|
|
stdlib and need nothing extra.
|
|
|
|
---
|
|
|
|
## 2. Install — pick your OS
|
|
|
|
### Linux / macOS
|
|
|
|
```bash
|
|
git clone https://github.com/gbonnet65923/vetta-toolkit.git
|
|
cd vetta-toolkit
|
|
python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
python -m playwright install chromium # only needed for activate/check/trial-url
|
|
chmod +x run.sh # first time only
|
|
./run.sh help
|
|
```
|
|
|
|
### Windows (PowerShell or cmd)
|
|
|
|
```bat
|
|
git clone https://github.com/gbonnet65923/vetta-toolkit.git
|
|
cd vetta-toolkit
|
|
python -m venv .venv
|
|
.venv\Scripts\activate
|
|
pip install -r requirements.txt
|
|
python -m playwright install chromium
|
|
run.bat help
|
|
```
|
|
|
|
> `.gitattributes` forces **LF** for `.sh`/`.py`/`.md` and **CRLF** for `.bat`,
|
|
> so `run.sh` never breaks on Linux and `run.bat` never breaks on Windows.
|
|
|
|
---
|
|
|
|
## 3. Quickstart (free path → real-card trial)
|
|
|
|
```bash
|
|
# 1. Register 10 accounts (FREE, headless) -> accounts.jsonl with sk_live_ keys
|
|
./run.sh register 10 # Linux/macOS
|
|
run.bat register 10 # Windows
|
|
|
|
# 2. Fetch Stripe trial action_urls for the inactive accounts
|
|
./run.sh activate # -> action_urls.txt
|
|
|
|
# 3. Get a REAL virtual card (see bin/BINS.md). Cheapest reliable:
|
|
# kliencard.com crypto VCC (~$1, USDT/TON, 3DS, real BIN).
|
|
|
|
# 4. Open each action_url in YOUR OWN real browser, enter the VCC, "Start trial".
|
|
# $0 today -> $10 credit / 7 days -> $20/mo. CANCEL before day 7.
|
|
|
|
# 5. Verify which accounts went ACTIVE
|
|
./run.sh check
|
|
|
|
# 6. Run the gateway over ACTIVE accounts (OpenAI-compatible)
|
|
./run.sh gateway # 127.0.0.1:8700
|
|
```
|
|
|
|
---
|
|
|
|
## 4. Use the gateway (OpenAI-compatible)
|
|
|
|
```bash
|
|
curl http://127.0.0.1:8700/v1/models
|
|
curl http://127.0.0.1:8700/v1/chat/completions \
|
|
-H 'content-type: application/json' \
|
|
-d '{"model":"claude-haiku-4-5","messages":[{"role":"user","content":"hi"}]}'
|
|
```
|
|
|
|
Any OpenAI SDK / CLI:
|
|
|
|
```python
|
|
from openai import OpenAI
|
|
c = OpenAI(base_url="http://127.0.0.1:8700/v1", api_key="anything")
|
|
print(c.chat.completions.create(model="gpt-5.5",
|
|
messages=[{"role":"user","content":"hello"}]).choices[0].message.content)
|
|
```
|
|
|
|
The gateway **rotates** the org `sk_live_` keys round-robin and **auto-quarantines**
|
|
402 accounts (no activated trial). Endpoints: `/v1/chat/completions`,
|
|
`/v1/images/generations`, `/v1/audio/speech`, `/v1/models`, `/health`.
|
|
Optional local auth: `GW_KEY=secret ./run.sh gateway` → send `Authorization: Bearer secret`.
|
|
|
|
---
|
|
|
|
## 5. BIN / cards (trial activation)
|
|
|
|
`bin/cc_gen.py` generates **Luhn-valid test numbers** (Visa / Mastercard / Amex /
|
|
Discover) for **form validation and $0-$1 pre-auth testing**:
|
|
|
|
```bash
|
|
./run.sh bin visa 5 --cvv # 5 Visa test numbers with CVV
|
|
./run.sh bin amex 2 --json # 2 Amex as JSON
|
|
./run.sh bin any 10 --out cards.txt# 10 random-network -> gitignored file
|
|
python bin/cc_gen.py mc 3 --bin 557788 --exp 12/29
|
|
```
|
|
|
|
> ⚠️ **Generated / BIN cards do NOT activate the vetta trial.** vetta uses Stripe
|
|
> Payment Element + Radar; generated cards have no real issuer →
|
|
> `issuer_declined`, and headless browsers get `invalid_request` (invisible
|
|
> hCaptcha). To activate you need a **REAL VCC** (kliencard crypto / privacy.com /
|
|
> Revolut / Wise) or your own card. Full breakdown: [`bin/BINS.md`](bin/BINS.md).
|
|
|
|
---
|
|
|
|
## 6. Configuration (env vars — all optional)
|
|
|
|
| Var | Default | Meaning |
|
|
|-----|---------|---------|
|
|
| `VETTA_POOL` | `accounts.jsonl` | pool file path |
|
|
| `VETTA_PW` | `VettaFarm2026x` | farm password (≥8 chars) |
|
|
| `PORT` | `8700` | gateway port |
|
|
| `GW_KEY` | *(off)* | gateway local access key |
|
|
|
|
Cross-platform example:
|
|
|
|
```bash
|
|
# Linux/macOS
|
|
VETTA_PW='MySecret123' PORT=9000 ./run.sh register 20
|
|
# Windows (cmd)
|
|
set VETTA_PW=MySecret123 && set PORT=9000 && run.bat register 20
|
|
# Windows (PowerShell)
|
|
$env:VETTA_PW='MySecret123'; $env:PORT='9000'; .\run.bat register 20
|
|
```
|
|
|
|
---
|
|
|
|
## 7. Cross-platform notes
|
|
|
|
- **Paths:** every script resolves files relative to the current working directory
|
|
(or `VETTA_POOL`). `vetta.py` resolves sub-scripts relative to itself, so you can
|
|
run it from anywhere. No hardcoded `C:\...` or `/home/...` paths.
|
|
- **Encoding:** all file I/O is explicit `encoding="utf-8"` (Windows' default
|
|
cp1251/cp1252 would otherwise corrupt non-ASCII emails / org names).
|
|
- **Line endings:** `.gitattributes` keeps `.sh` as LF (Linux-safe) and `.bat` as
|
|
CRLF (Windows-safe).
|
|
- **Interpreter:** `vetta.py` re-launches sub-scripts with `sys.executable`, so it
|
|
uses your active venv / pyenv / system python on every OS.
|
|
|
|
---
|
|
|
|
## 8. Troubleshooting
|
|
|
|
| Symptom | Cause / fix |
|
|
|---------|-------------|
|
|
| `reg 403` + `1010` | Cloudflare temp block on register → wait ~1 min, retry slower |
|
|
| `session 401` | Org secret is invalid/expired → re-register |
|
|
| `payment_error: issuer_declined` | Generated card → use a REAL VCC (`bin/BINS.md`) |
|
|
| `payment_error: invalid_request` | Invisible hCaptcha + headless → open `action_url` in a REAL browser |
|
|
| `risk_score: elevated` | Datacenter/proxy IP → use a clean residential IP, manual browser |
|
|
| `402` / `subscription_required` | No activated trial → activate (card), then re-run |
|
|
| `'python3' is not recognized` (Win) | Use `run.bat` (it picks `python`/`py -3`) |
|
|
| `run.sh: \r: command not found` (Linux) | CRLF crept in → `sed -i 's/\r$//' run.sh` or re-clone |
|
|
| `ModuleNotFoundError: playwright` | `pip install -r requirements.txt && python -m playwright install chromium` |
|
|
|
|
---
|
|
|
|
## 9. How it works (reverse engineering)
|
|
|
|
Full endpoint / flow notes in [`REVERSE.md`](REVERSE.md): voidash disposable mail →
|
|
`/v1/auth/users` → Supabase magic-link → `/v1/auth/session` → `/v1/organizations`
|
|
→ org `api_key.secret` (`sk_live_`) → Stripe checkout (`/v1/credits/subscription`).
|
|
|
|
---
|
|
|
|
## 10. Files
|
|
|
|
```
|
|
vetta.py unified cross-platform CLI (start here)
|
|
run.sh / run.bat OS launchers
|
|
autoreg.py mass registration (free, headless, stdlib)
|
|
gateway.py OpenAI-compatible proxy + rotation (stdlib)
|
|
activate_all.py batch trial action_urls (playwright)
|
|
trial_url.py single trial action_url (playwright)
|
|
check_pool.py pool ACTIVE/DEAD status (playwright)
|
|
bin/cc_gen.py Luhn test-card generator (stdlib)
|
|
bin/BINS.md real VCC + BIN reference (trial activation)
|
|
README.md overview REVERSE.md reverse-engineering notes
|
|
GUIDE.md this guide requirements.txt .gitattributes
|
|
```
|
|
|
|
**Educational / research use. No card data is read, stored or transmitted.**
|
|
Generated test numbers are not funded cards. Respect vetta.sh's terms.
|