cloudsneak
Cloudflare clearance cookie (cf_clearance) and Turnstile token solver service ported to Python.
Features
- Turnstile Token Solver: Render and solve Cloudflare Turnstile challenge widgets using synthetic injection and local script replacement.
- IUAM clearance cookie Extraction: Intercept responses to extract
cf_clearancecookies and correspondingUser-Agent. - Anti-Detect Browser Integration: Custom Chrome launch configurations with Playwright.
- FastAPI REST API: Server with TTL caching, authentication token checks, and concurrency throttling.
Installation
pip install .
Ensure Playwright browsers are installed:
playwright install chromium
Running the Server
Start the REST service:
cloudsneak --host 0.0.0.0 --port 8742
Or via python:
python -m cloudsneak.cli
API Usage
POST /cloudflare
Turnstile Mode
{
"mode": "turnstile",
"domain": "https://example.com",
"siteKey": "0x4AAAAAAACk534..."
}
IUAM Mode
{
"mode": "iuam",
"domain": "https://example.com"
}
Metadata
Release files for cloudsneak 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cloudsneak-1.0.0.tar.gz | 29.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cloudsneak-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.3 kB
Release files / cloudsneak-1.0.0.tar.gz
| Download URL | cloudsneak-1.0.0.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75fc9180e2f5a705636525c5e59635042dc8b603ef9575ceff4ef1202e059fac
|
|
BLAKE2b-256 checksum How to use checksums |
1ade858777fabcbdbd64f41efa544df60abbb37af6560e8624b498e994f0882c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / cloudsneak-1.0.0-py3-none-any.whl
| Download URL | cloudsneak-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27317e653863aab8945443e7d3ec7856b2e606e2d6e57c7e15770f8b81afb89f
|
|
BLAKE2b-256 checksum How to use checksums |
e9a0cd06a269d63d3f4b2ce0aa2aa5a02edf72bfb48b29aa5bf611b6bfb602d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|