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
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ JS = """async (a)=>{
|
||||
}"""
|
||||
|
||||
def main():
|
||||
accs = [json.loads(l) for l in open("accounts.jsonl") if l.strip()]
|
||||
accs = [json.loads(l) for l in open("accounts.jsonl", encoding="utf-8") if l.strip()]
|
||||
print(f"pool: {len(accs)} accounts")
|
||||
out = []
|
||||
with sync_playwright() as p:
|
||||
@@ -59,7 +59,7 @@ def main():
|
||||
print(f"[ERR] {a['email']} {res}")
|
||||
time.sleep(2)
|
||||
br.close()
|
||||
with open("action_urls.txt", "w") as f:
|
||||
with open("action_urls.txt", "w", encoding="utf-8", newline="\n") as f:
|
||||
for o in out:
|
||||
f.write(json.dumps(o) + "\n")
|
||||
print(f"\n{len(out)} action_url(s) -> action_urls.txt")
|
||||
|
||||
Reference in New Issue
Block a user