- 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
20 lines
692 B
Bash
20 lines
692 B
Bash
#!/usr/bin/env bash
|
|
# vetta toolkit launcher — Linux / macOS. (Windows: use run.bat)
|
|
# Resolves the repo dir, picks python3/python, forwards all args to vetta.py.
|
|
set -e
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# Pick the first interpreter that actually runs (skips broken stubs such as the
|
|
# Windows Store `python3` alias, which exists but has no runtime installed).
|
|
PY=""
|
|
for cand in python3 python; do
|
|
if command -v "$cand" >/dev/null 2>&1 && "$cand" -c 'import sys; sys.exit(0)' >/dev/null 2>&1; then
|
|
PY="$cand"
|
|
break
|
|
fi
|
|
done
|
|
if [ -z "$PY" ]; then
|
|
echo "No working python3/python found — install Python 3.9+." >&2
|
|
exit 1
|
|
fi
|
|
exec "$PY" "$DIR/vetta.py" "$@"
|