recovered snapshot from suspended aaronjaworski710 (history unavailable)

This commit is contained in:
reform
2026-10-23 20:04:06 +03:00
commit fd52c63607
31 changed files with 3645 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
"""new2no.py — register fresh 2nd-no.com account (2captcha turnstile) and save creds."""
import sys, os, json
sys.stdout.reconfigure(encoding='utf-8')
HERE = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.environ.get('SECONDNO_ROOT', os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')))
sys.path.insert(0, HERE)
import importlib.util
spec = importlib.util.spec_from_file_location('sr', os.path.join(HERE, 'sms2no_reserve.py'))
sr = importlib.util.module_from_spec(spec)
sys.argv = ['x', 'a', 'b', 'c', 'd'] # satisfy module-level arg parsing if any
spec.loader.exec_module(sr)
from providers.secondno import full_cycle
solver = sr.TwoCaptchaTurnstile()
res = full_cycle(1, solver=solver)
print(json.dumps(res, ensure_ascii=False, default=str)[:1200], flush=True)
ok = [r for r in res if 'email' in r and 'error' not in r]
if ok:
with open(os.path.join(HERE, '2no_accounts.jsonl'), 'a', encoding='utf-8') as f:
for r in ok:
f.write(json.dumps(r, ensure_ascii=False, default=str) + '\n')
print('SAVED', len(ok), flush=True)
else:
print('FAILED', flush=True)