Giter Site home page Giter Site logo

dzmitry-duboyski / mtcaptcha-solving-example Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 19 KB

Example of MTCaptcha solution using Puppeteer and 2captcha service

License: MIT License

JavaScript 100.00%
2captcha demo mtcaptcha mtcaptcha-bypass mtcaptcha-captcha-solver mtcaptcha-solver mtcaptcha-solver-nodejs puppeteer puppeteer-demo rucaptcha

mtcaptcha-solving-example's Introduction

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:

mtcaptcha-solving-example's People

Contributors

dzmitry-duboyski avatar

Stargazers

 avatar

Watchers

 avatar

mtcaptcha-solving-example's Issues

Captcha validation issue

Hi, im facing an issue who block your code to submit the solution token, i have try multiple way to avoid this but the issue persist.

The thing is that the submit button of the website is enabled only when the MTCaptcha is completed by typing the right code, but when the code solve it using the solution token it doesn't enable this button , i have tried to remove the disabled attribute of the buton but i still get the error 'Please fill the captcha correctly'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.