This commit is contained in:
44
README.md
44
README.md
@@ -6,6 +6,7 @@ A Node.js service that automates Chromium to bypass **Cloudflare IUAM** and **Tu
|
||||
|
||||
- **Cloudflare IUAM Bypass**: Automatically solves "I'm Under Attack Mode" challenges super fast within 3.337 seconds 💖
|
||||
- **Turnstile Challenge Solver**: Handles Cloudflare Turnstile captchas
|
||||
- **Generic Cookie Waiter**: Opens a page, waits for a named cookie, and returns it
|
||||
- **Proxy Support**: Full HTTP proxy integration with authentication
|
||||
- **Smart Timeout**: 20-second timeout with graceful null responses
|
||||
- **Browser Management**: Concurrent browser limit control
|
||||
@@ -110,6 +111,48 @@ Bypass Cloudflare protection and get cookies/tokens.
|
||||
}
|
||||
```
|
||||
|
||||
### POST /cookie
|
||||
|
||||
Open a page and wait for a specific cookie to appear.
|
||||
|
||||
#### Request Body
|
||||
```json
|
||||
{
|
||||
"domain": "https://example.com/",
|
||||
"cookieName": "session_id"
|
||||
}
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
- **`domain`** (required): Target website URL
|
||||
- **`cookieName`** (required): Cookie name to wait for
|
||||
- **`user_agent`** (optional): User-Agent to use for the browser session
|
||||
- **`proxy`** (optional): Proxy configuration object
|
||||
|
||||
#### Response (Success)
|
||||
```json
|
||||
{
|
||||
"cookie_name": "session_id",
|
||||
"cookie_value": "abc123",
|
||||
"cookie_domain": ".example.com",
|
||||
"cookie_path": "/",
|
||||
"http_only": true,
|
||||
"secure": true,
|
||||
"user_agent": "Mozilla/5.0...",
|
||||
"elapsed_time": 1.42
|
||||
}
|
||||
```
|
||||
|
||||
#### Response (No Cookie Found)
|
||||
```json
|
||||
{
|
||||
"cookie_name": "session_id",
|
||||
"cookie_value": null,
|
||||
"user_agent": "Mozilla/5.0...",
|
||||
"elapsed_time": 60.0
|
||||
}
|
||||
```
|
||||
|
||||
## 🌐 Proxy Configuration
|
||||
|
||||
The service supports HTTP proxies with authentication:
|
||||
@@ -141,6 +184,7 @@ python api_test.py
|
||||
cf-bypass/
|
||||
├── endpoints/
|
||||
│ ├── cloudflare.js # IUAM bypass logic
|
||||
│ ├── cookie.js # Generic cookie waiter
|
||||
│ └── turnstile.js # Turnstile solver
|
||||
├── cache/
|
||||
│ └── cache.json # Response cache
|
||||
|
||||
Reference in New Issue
Block a user