dzmitry-duboyski / MTCaptcha-solving-example

Example of MTCaptcha solution using Puppeteer and 2captcha service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mtcaptcha-image

How to automate an MTcaptcha solution in JavaScript (Puppeteer)

Description

In this example, you can see how automate an MTcaptcha solution in JavaScript using Puppeteer and the 2captcha service. Puppeteer is Node.js library using for automation. 2captcha is service used to solve the captcha.

To interact with the 2captcha API, this demo uses the 2captcha-ts package.

The entire process of automating the MTCaptcha bypass is described as comments in the index.js file.

In the example, a page with a captcha MTcaptcha is opened, then the sitekey value is searched on the page, then the captcha is sent to the 2captcha service for solution. When a solution is received, the resulting solution is applied on the page, and then a check occurs to see if the solution worked successfully.

If necessary, you can use a proxy server to solve MTcaptcha.

Presetting

Set your 2captcha APIKEY in index.js file instead of "<Your 2captcha APIKEY>"

Usage

npm i

npm run start

Useful links:

About

Example of MTCaptcha solution using Puppeteer and 2captcha service

License:MIT License


Languages

Language:JavaScript 100.0%