CAPTCHAFORUM
Administrator
https://2captcha.com/h/how-to-bypass-captcha-in-openbullet
OpenBullet is a robust platform designed for automating various tasks such as credential checking, scraping, and data extraction. However, when CAPTCHA protection is enabled on the target website, automation processes can be interrupted. To maintain workflow continuity, integrating a CAPTCHA-solving service like 2Captcha is essential.
This guide outlines the steps to incorporate 2Captcha’s API into your OpenBullet configuration, enabling the automatic resolution of CAPTCHA challenges.
Requirements
To proceed, you will need the following:- An active 2Captcha API key
- OpenBullet (version 1 or 2) with permission to edit configurations
- Basic knowledge of OpenBullet’s config structure and HTTP request blocks
Overview of the Integration Process
OpenBullet handles CAPTCHA solving through HTTP request blocks within a configuration. The standard procedure includes:- Identifying the CAPTCHA Type – For example, reCAPTCHA v2 or v3, Cloudflare Turnstile, or GeeTest.
- Extracting Key Parameters – Obtain the sitekey and the URL of the CAPTCHA-protected page.
- Submitting a CAPTCHA Solving Task – Send a properly formatted POST request to https://api.2captcha.com/createTask.
- Polling for the Solution – After a brief delay, query https://api.2captcha.com/getTaskResult to retrieve the CAPTCHA response.
- Injecting the Solution – Use the returned token in the appropriate request field (e.g., g-recaptcha-response) to pass the CAPTCHA challenge.
Step-by-Step Example: Solving reCAPTCHA v2 (Proxyless)
Step 1: Collect Site Data
Using tools such as browser developer tools, Burp Suite, or OpenBullet logs, locate the required information:
- The websiteKey (also known as sitekey)
- The websiteURL (the page address where the CAPTCHA is located)
Step 2: Create the CAPTCHA Task
Submit a POST request to https://api.2captcha.com/createTask, including your API key and task configuration. If successful, the response will contain a unique taskId.
Step 3: Retrieve the CAPTCHA Solution
After a short waiting period (typically 5–10 seconds), send another POST request to https://api.2captcha.com/getTaskResult with the corresponding taskId. Repeat the request until the response contains the solution object with a valid CAPTCHA token.
Step 4: Apply the CAPTCHA Token
Once the token (e.g., gRecaptchaResponse) is retrieved, include it in the POST data of your final request, typically under the g-recaptcha-response field.
Supported CAPTCHA Formats
OpenBullet, when used with 2Captcha, supports a wide range of CAPTCHA types including:- reCAPTCHA v2 and v3 (with or without proxy)
- Cloudflare Turnstile
- GeeTest
- FunCaptcha
- Image-based CAPTCHAs
Common Issues and Solutions
- If the response includes an errorId other than zero, check the formatting of your request payload.
- If the status is processing for a long time, increase the polling interval or allow more time.
- If no solution is returned, verify that the websiteKey and URL are correct and that the site is properly reachable.
By correctly using the createTask and getTaskResult endpoints of the 2Captcha API, OpenBullet configurations can automatically solve many CAPTCHA challenges, such as reCAPTCHA v2, without manual intervention. This integration significantly improves the efficiency and reliability of automated workflows.For advanced usage involving Turnstile, reCAPTCHA v3, or other types, consult the official 2Captcha API documentation for detailed task schemas and integration practices.