How hitamlegit6777/cfast works
cfast is a browserless Cloudflare Turnstile and managed-challenge solver: it replays a recorded browser profile over HTTP, analyzes challenge JavaScript and VM programs, then obtains a token or clearance cookie. The graph follows that workflow and retains the documented capture and compatible-API capabilities. Relationships grounded in README statements or SOURCE INDEX references are cited; unverified runtime links are dashed. Several internals are represented at subsystem level because their source was not sampled.
Main entry points: session Challenge session replay · client.rs HTTP client and requests · solver_api.py Compatible solve API · script.rs Parsed script and VM recovery
Components 21
User entry points
- Challenge CLI
source/src/bin/challenge/main.rs - Compatible solve API
solver_api.py
Profile capture
- Capture proxy
source/src/bin/capture-proxy/main.rs - Traffic and profile capture
source/src/capture - Recorded browser profile
HTTP challenge protocol
- HTTP client and requests
source/src/http/client.rs - Challenge session replay
source/src/session - Challenge page parsing
source/src/embedding_page/page.rs - Managed challenge orchestration
source/src/challenge/orchestrator.rs
Challenge analysis
- Script deobfuscation
source/src/deobfuscate/pipeline.rs - Parsed script and VM recovery
source/src/script.rs - Encoder and payload extraction
source/src/challenge/program.rs - Challenge program analysis
source/src/challenge - Stage-two probes and analysis
source/src/stage2
VM and solving
- VM session recovery
source/src/vm/session.rs - VM disassembly and interpretation
source/src/vm.rs - Browser behavior emulation
source/src/engine.rs - Token and clearance solving
source/src/solver.rs
Other components
- Solver user
- Cloudflare challenge service
- Token or clearance cookie
Connections 25
- Solver user → Challenge CLI: runs solve
- Solver user → Compatible solve API: submits task
- Capture proxy → Traffic and profile capture: captures traffic
source/src/bin/capture-proxy/main.rs - Traffic and profile capture → Recorded browser profile: records profile
- Challenge CLI → Challenge session replay: starts replay
- Compatible solve API → Challenge CLI: dispatches solve
- Challenge session replay → Recorded browser profile: loads profile
- Challenge session replay → HTTP client and requests: sends requests
- HTTP client and requests → Cloudflare challenge service: fetches challenge
- Cloudflare challenge service → HTTP client and requests: returns scripts
- HTTP client and requests → Challenge page parsing: provides page
- Challenge page parsing → Managed challenge orchestration: discovers flow
- Challenge session replay → Script deobfuscation: processes script
- Script deobfuscation → Parsed script and VM recovery: parses output
- Parsed script and VM recovery → Encoder and payload extraction: extracts constants
source/src/challenge/program.rs - Parsed script and VM recovery → VM session recovery: recovers definition
source/src/script.rs - VM session recovery → VM disassembly and interpretation: initializes VM
source/src/vm/session.rs - VM disassembly and interpretation → Challenge program analysis: disassembles program
source/src/challenge/program.rs - Challenge program analysis → Stage-two probes and analysis: analyzes probes
- Challenge session replay → Browser behavior emulation: emulates behavior
- Challenge session replay → Token and clearance solving: coordinates solve
- Managed challenge orchestration → Cloudflare challenge service: posts challenge answers
- Token and clearance solving → HTTP client and requests: posts proof
- Token and clearance solving → Token or clearance cookie: returns token or cookie
- Compatible solve API → Token or clearance cookie: responds with token