1

Is it possible to get Google reCaptcha sitekey only knowing the domain name of a given website where the sitekey is used but without being abled to access the website directly? Like doing a request to a Google api or something like that.

P.S. The public key would be enough, the private key is not needed of course.

L. K.
  • 139
  • 2
  • 12
  • For using Google reCaptcha, you need two keys, one public key and one private/secret key. While public key is available and visible on public domain, private key can only be accessed by site owner. So to answer to your question, **NO**, you can only see/access the public key but you cannot access/see the private key just by knowing the domain name. – Rajdeep Paul Oct 17 '16 at 14:20
  • The public key would be enough, I don't need the private one – L. K. Oct 17 '16 at 14:21
  • Yes, you can access the public key from the site. Look for this line in the site `
    `
    – Rajdeep Paul Oct 17 '16 at 14:24
  • Yes but my question is if is possible to access it without being abled to access the website, so without viewing the HTML of the web page. – L. K. Oct 17 '16 at 14:25
  • I don't think there's any in-built procedure where you can get the public key just by knowing the domain name. You need to, anyhow, scrub the webpage to find the key. – Rajdeep Paul Oct 17 '16 at 14:29
  • Do you know any workaround? – L. K. Oct 17 '16 at 14:30
  • Search on Google, on how to scrub a web page. Here's a head start, [http://stackoverflow.com/questions/819182/how-do-i-get-the-html-code-of-a-web-page-in-php](http://stackoverflow.com/questions/819182/how-do-i-get-the-html-code-of-a-web-page-in-php) – Rajdeep Paul Oct 17 '16 at 14:33
  • I know how to create a scraper, but I can't navigate to the webpage. I only know that a given domain name have a sitekey linked. – L. K. Oct 17 '16 at 14:35

0 Answers0