Blog
How identify and obtain reCaptcha 's' data

How identify and obtain reCaptcha 's' data

Logo of Capsolver

CapSolver Blogger

How to use capsolver

21-Nov-2023

recaptcha data blob , recaptcha extra data

How identify and obtain recaptcha s data

Step 1: Identify that you need to submit s data

The initial step involves determining if the recaptcha you aim to solve necessitates submitting a s data. Failure to submit this data when required results in an invalid token or a high chance of token invalidation. To ascertain if a s data is needed, utilize the captcha detection feature of Capsolver. This tool can be further explored here:
Learn about Capsolver's captcha detector

When a data blob is needed, Capsolver's extension will show a display panel as illustrated below:

Step 2: Find where to obtain this value

This stage covers the process of obtaining the s data value. Start by opening the Inspect Element tool (F12), navigate to the network tab, and activate the recaptcha. A request URL will appear like this:

/fc/gt2/public_key/613F48sD7-3DCD-468D-8557-CFF418CF794D

Note that the 'sitekey' part (613F48sD7-3DCD-468D-8557-CFF418CF794D) will vary. Inspecting the payload of the POST request reveals a "s data" parameter, from which you can copy the value.

Then, in the inspect element tool, press CTRL + S to open the search panel. Enter the s data value here, and the request that generated this value should appear.

In some instances, this method may not work if the value is HTML encoded, encrypted, or located elsewhere. It's advisable to examine the response body of each request to locate where this value originates.

Keep in mind that this value changes each time. Therefore, it's essential to scrape it anew before each captcha submission to ensure the captcha token remains valid.

When specifying the data in the required format, it should be entered as follows:

"enterprisePayload": {
      //Optional, required if the website uses recaptcha enterprise
      "s": "[VALUE]"
    },

More