Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

Expand
titleClick here to expand the table of contents
Table of Contents
minLevel1
maxLevel7
exclude^Оглавление$

...

Description

Allows you to be verified on sites with installed protection against bots. The method is only suitable for captchas: reCAPTCHA v2, reCAPTCHA v2 Invisible and reCAPTCHA v3 .

...

Via context menu Add ActionTabsRecognize ReCaptcha

...

Or use smart search .

...

What is it used for?

  • Passing registrations

  • Parsing sites and search engines

  • Performing bulk actions

...

  1. Selecting a module for captcha recognition. Select the desired captcha recognition service from the drop-down list (you must first specify its API key in the settings ).

  2. Service captcha settings .

  3. Installing CapMonster.Cloud as the default service

  4. Registration of an account in CapMonster.Cloud. All ZennoPoster license holders receive $ 5 free of charge on the balance of the service for solving captchas.

...

Expand
titleSending Token in Browser

After receiving the token, you must substitute it in the appropriate field.

Below we will see how to call the field in the browser.

Image RemovedImage Added

Call the Element Tree through the context menu and find the ( textarea ) field for entering inside the captcha

Image RemovedImage Added

Call the context menu with the right mouse button and click In the action designer

Image RemovedImage Added
  1. Selecting the style attribute

  2. Set the value to display: block

Using the Test button, you can check whether the function will work in the browser or not. Next, add the action to the project.

Image RemovedImage Added

Under the captcha itself, a field will appear where you need to enter the token. This can be done with the action Setting the value .

Expand
titleSending Token to the server through requests

After successfully recognition the captcha, the response containing the token will be placed in the variable to be sent to the server. It must be substituted into the request, most often it is the g-recaptcha-response argument.

An example of a website request can always be viewed in the traffic window

...

Recognizing reCaptcha v3 in a tab

...

Expand
titleHow to get SiteKey
  • In the source code of the DOM page

Image RemovedImage Added

Click on the request and go to the Parameters tab

Image RemovedImage Added
Info

The parameter can be named k or key

...

When loading a page in the traffic window, it is very important to pay attention to the request

...

Expand
titleHow to send a token in a browser

The token is sent in the browser by substituting it. The tab method is only suitable when the request to Google will occur after the form has been submitted

Image RemovedImage Added

Consider the example of a site https://lessons.zennolab.com/captchas/recaptcha/v3.php?level=beta

During the loading of the site, there was no request for the captcha, which means that the method of recognition in the tab suits us.

Image RemovedImage Added

Setting up a cube for solving ReCaptcha v3

Image RemovedImage Added

We receive the token. Next, using the C # C# snippet, we send it to the site:

Code Block
languagec#
var sitekey =  project.Variables["имя_переменной_sitekey"].Value;
var newToken = project.Variables["имя_переменной_token"].Value;
var replaceRegex = @"(?<=\[""rresp"","")[^""]+";
instance.ChangeResponse("https://www.google.com/recaptcha/api2/reload\\?k="+sitekey,
  new List<string> {replaceRegex}, new List<string> {newToken}, false);

The use of SiteKey in the snippet is optional. But keep in mind that without using SiteKey, requests from all captchas, including ReCaptcha2, will be intercepted.

If this is not a problem, you can use this version of the snippet:

Code Block
languagec#
var newToken = project.Variables["имя_переменной_token"].Value;
var replaceRegex = @"(?<=\[""rresp"","")[^""]+";
instance.ChangeResponse("https://www.google.com/recaptcha/api2/reload\\?k=",
  new List<string> {replaceRegex}, new List<string> {newToken}, false);

We send the form on the site.

In the traffic window, you can make sure that the substitution of the token for the required one has occurred

...

Expand
titleHow to change token

If in the traffic window we see that the request is being executed along with the loading of the site page, then the procedure differs from recognition in the Tab

First, we set up the cube for solving the captcha and get the token

We receive the token. Next, using the C # C# snippet, we send it to the site:

Code Block
languagec#
var sitekey =  project.Variables["имя_переменной_sitekey"].Value;
var newToken = project.Variables["имя_переменной_token"].Value;
var replaceRegex = @"(?<=\[""rresp"","")[^""]+";
instance.ChangeResponse("https://www.google.com/recaptcha/api2/reload\\?k="+sitekey,
  new List<string> {replaceRegex}, new List<string> {newToken}, false);

The use of SiteKey in the snippet is optional. But keep in mind that without using SiteKey, requests from all captchas, including ReCaptcha2, will be intercepted.

If this is not a problem, you can use this version of the snippet:

Code Block
languagec#
var newToken = project.Variables["имя_переменной_token"].Value;
var replaceRegex = @"(?<=\[""rresp"","")[^""]+";
instance.ChangeResponse("https://www.google.com/recaptcha/api2/reload\\?k=",
  new List<string> {replaceRegex}, new List<string> {newToken}, false);

Only after that we load the page with ReCaptcha v3 and perform the necessary actions

...

Today, many resources are protected by Google. It helps sites to suppress mass actions or identify bots, but thanks to the Zennoposter functionality, it will not be difficult to pass such checks.

...

  1. Traffic window

  2. Variable window

  3. Data

  4. CapMonster Cloud