cf-response tokens and intercepts IUAM (I’m Under Attack Mode) responses to extract cf_clearance cookies and their matching User-Agent.
What Cloudsneak does
- Turnstile token solver: Renders and solves Cloudflare Turnstile challenge widgets using synthetic injection and local script replacement.
- IUAM clearance extraction: Intercepts responses to extract
cf_clearancecookies and the correspondingUser-Agent. - Anti-detect browser: Custom Chromium launch configuration driven by Playwright.
- FastAPI REST API: Async server with TTL caching, auth token checks, and concurrency throttling.
Architecture
Cloudsneak launches anti-detect Chromium instances and intercepts challenge scripts at the network layer. For Turnstile it renders synthetic DOM targets that trigger the widget callback; for IUAM it extractsSet-Cookie headers from Under Attack Mode responses. An in-memory TTL cache prevents redundant solves for frequent requests.
Get started
Quickstart
Install Cloudsneak, run the server, and solve your first challenge in under 5 minutes.
Solve Cloudflare
Reference for the
POST /cloudflare endpoint, including Turnstile and IUAM modes.