This commit is contained in:
reform
2026-11-01 03:36:34 +03:00
commit d19e383777
4 changed files with 208 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# eden-autoreg
Autoreg harness for [Eden AI](https://edenai.co) - an aggregator claiming **$10 free credit** on signup.
## Why this repo is only a harness
Eden protects `/signup` with an **invisible Cloudflare Turnstile** that never renders a visible widget and whose
sitekey is not in the JS bundle. It is only visible in the challenge iframe URL:
```
https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/g/turnstile/f/av0/rch/ukhqk/<SITEKEY>/light/...
```
With the key extracted, the form can be solved by an external solver and injected into the React state by hooking
`window.turnstile.render` before the bundle evaluates it (see `eden_ts2.py`).
## Files
* `eden_ts2.py` - Camoufox + `addInitScript` hook: replaces `turnstile.render` and feeds the solver token into
`opts.callback`, then fills first/last name, business email, password, accepts terms, submits,
reads the 6-digit code from IMAP and opens `/billing` to capture the real balance.
* `mail_read.py` - IMAP helper (code extraction + folder dump).
## Env / args
```
python eden_ts2.py <imap_user> <imap_password> <turnstile_token>
```
IMAP host is `secureimap.t-online.de` by default; the token must be solved for `https://app.edenai.run/signup`.
## Status
Signup blocked at server-side Turnstile validation until a token is injected; sitekey extraction verified.
Balance after success is read from the billing page, not from marketing copy.