A
A
Anton2016-12-22 23:36:04
reCAPTCHA
Anton, 2016-12-22 23:36:04

How to download reCAPTCHA from an external server?

Good day.
Available : A script that receives an xml file as input, parses it, collects a structured json array and sends it with a POST request to a third-party server.
Everything worked well, but recently reCaptcha was added to submitting the form. Now, along with all the data, the code of the solved captcha should be transmitted.
The task is not to bypass the captcha, but to load it and solve it on my server before sending the post request.
When trying to load captcha ( https://www.google.com/recaptcha/api2/anchor?k=........ ) from my server, a js error occurs:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided does not match the recipient window's origin)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-12-23
@Sanasol

no way in php.
phantomjs and similar to use and solve captcha on the fly when the site is open.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question