Questions tagged [recaptcha]
For questions about the reCAPTCHA service: Designed to protect against spam and abuse by blocking bots while allowing valid users access.
recaptcha
404
questions
32
votes
8
answers
70k
views
How to use .env variables in Nuxt 2 or 3?
I have .env file in the project root, and in my nuxt config I am using variables to configure ReCaptcha like this:
import dotenv from 'dotenv'
dotenv.config()
export default {
modules: [
[...
47
votes
2
answers
95k
views
How does reCAPTCHA 3 know I'm using Selenium/chromedriver?
I'm curious how reCAPTCHA v3 works. Specifically the browser fingerprinting.
When I launch an instance of Chrome through Selenium/chromedriver and test against reCAPTCHA 3 (https://recaptcha-demo....
60
votes
6
answers
236k
views
How can I bypass the Google CAPTCHA with Selenium and Python?
How can I bypass the Google CAPTCHA using Selenium and Python?
When I try to scrape something, Google give me a CAPTCHA. Can I bypass the Google CAPTCHA with Selenium Python?
As an example, it's ...
13
votes
4
answers
31k
views
Google ReCAPTCHA how to make required?
Does anyone know how to make the "Google ReCAPTCHA (v2)" be "required" in a form?
I mean no form submission until recaptcha is filled-in?
I use ParsleyJs in my form, but didnt find a way to make it ...
119
votes
17
answers
164k
views
How do I show multiple recaptchas on a single page?
I have 2 forms on a single page. One of the forms has a Recaptcha displaying all the time. The other should display a Recaptcha only after a certain event such as maxing out login attempts. So ...
18
votes
2
answers
52k
views
Find the reCAPTCHA element and click on it -- Python + Selenium
I need some help.
There is URL: https://www.inipec.gov.it/cerca-pec/-/pecs/companies.
I need to click checkbox Captcha:
My code is look like:
import os, urllib.request, requests, datetime, time, ...
77
votes
12
answers
157k
views
How to validate Google reCAPTCHA v3 on server side?
I've just set up the new google recaptcha with checkbox, it's working fine on front end, however I don't know how to handle it on server side using PHP. I've tried to use the old code below but the ...
427
votes
26
answers
522k
views
Using reCAPTCHA on localhost
I'm developing a website using PHP and I want to make a human verification in one of the sessions. For the development, I'm initially running the system locally and when it is ready, I'm going to put ...
161
votes
17
answers
423k
views
How can I validate google reCAPTCHA v2 using javascript/jQuery?
I have a simple contact form in aspx.
I want to validate the reCaptcha (client-side) before submitting the form.
Please help.
Sample code:
<%@ Page Language="VB" AutoEventWireup="false" ...
175
votes
14
answers
75k
views
Has reCaptcha been cracked / hacked / OCR'd / defeated / broken? [closed]
Have any programming methods have been used to defeat reCAPTCHA?
I'm interested in seeing evidence and potentially demonstrations that reCAPTCHA in particular has been made obsolete by completely ...
2
votes
2
answers
9k
views
How to interact with the reCAPTCHA audio element using Selenium and Python
I want to, click on the button to resolve the captcha through the audio, but selenium does not detect the specified "id".
browser.get("https://www.google.com/recaptcha/api2/demo")
mainWin = browser....
3
votes
1
answer
20k
views
how to test Recaptcha with jQuery Validate plugin
I am using validate jquery plugin and recaptcha for a contact form and i woudld like to know how can i check if the code in the captcha is correct before the form get submitted if not send an error ...
123
votes
23
answers
174k
views
ReCaptcha API v2 Styling
I have not had much success finding how to style Google's new recaptcha (v2). The eventual goal is to make it responsive, but I am having difficulty applying styling for even simple things like width.
...
101
votes
8
answers
276k
views
Google Recaptcha v3 example demo
Until now, I was working with Google Recaptcha v2, but now I want to update my WebApp using the lastest version (v3).
Is it possible to anyone add a fully working Google Recaptcha v3 example for a ...
8
votes
5
answers
42k
views
How to click on the reCAPTCHA using Selenium and Java
Why am I getting errors when trying to get the driver to click on the reCAPTCHA button?
This is the site where I am trying to get it to work: https://rsps100.com/vote/760/
This is my current code so ...
98
votes
7
answers
113k
views
How to check in js that user has checked the checkbox in Google recaptcha?
I have added the following before end of head
<script src='https://www.google.com/recaptcha/api.js'></script>
I have added this before end of form
<div class="g-recaptcha" data-...
15
votes
4
answers
78k
views
Is there any possible ways to bypass cloudflare security checks?
We all know, sometimes cloudflare like to check their client visitor to make sure that the visitor isn't a real human. The security check require us to pass Google Recaptcha. What i want to ask is it ...
318
votes
5
answers
150k
views
How does Google reCAPTCHA v2 work behind the scenes?
This post refers to Google ReCaptcha v2 (not the latest version)
Recently Google introduced a simplified "captcha" verification system (video) that enables users to pass the "captcha" just by ...
64
votes
12
answers
171k
views
How to Validate Google reCaptcha on Form Submit
Recently, Google completely overhauled their reCaptcha API and simplified it to a single checkbox.
The problem is, I can submit a form with the reCaptcha included without checking it and the form ...
60
votes
8
answers
95k
views
How can I make reCAPTCHA a required field?
I'm using Google reCAPTCHA and have been able to add the CAPTCHA component to my page inside a form. But when I submit the form there's no validation taking place to check if the CAPTCHA has been ...
2
votes
3
answers
5k
views
Google reCaptcha with Laravel
I am trying to install Google reCaptcha v2 with Laravel 8 without any packages. I am trying to follow this tutorial. I tried with this tutorial also.
But captcha is not showing in Blade file.
How can ...
266
votes
15
answers
310k
views
How to hide the Google Invisible reCAPTCHA badge
When implementing the new Google Invisible reCATPTCHA, by default you get a little "protected by reCAPTCHA" badge in the bottom right of the screen that pops out when you roll over it.
I'd like to ...
81
votes
11
answers
119k
views
Validating Recaptcha 2 (No CAPTCHA reCAPTCHA) in ASP.NET's server side
The new Recaptcha 2 looks promising, but i didn't find a way to validate it in ASP.NET's server side,
if(Page.IsValid) in This answer, is valid for the old Recaptcha, but not the new one,
How to ...
68
votes
6
answers
80k
views
Recommendations for java captcha libraries [closed]
I'm looking for a replacement for JCaptcha, which doesn't seem to be maintained any more, and isn't very good to begin with. The replacement has to integrate nicely with JavaEE webapps.
As I can see ...
46
votes
4
answers
208k
views
Google reCAPTCHA: How to get user response and validate in the server side?
I am doing a Java (JSP + Servlet) web application (I understand that this question is technology-independent). I hope to use the latest Google reCAPTCHA service.
I am playing with a Google reCAPTCHA ...
25
votes
8
answers
54k
views
Google reCAPTCHA - keep getting `incorrect-captcha-sol`
I am trying to add a reCAPTCHA to my site, but keep getting incorrect-captcha-sol error when I submit the answer.
Can anyone tell me if I am correct in doing the following?
I have a generic index.php, ...
24
votes
5
answers
73k
views
How to implement reCaptcha V3 in ASP.NET
Does anyone have a full implementation demo of reCaptcha V3 in ASP.NET?
I found this article: Google Recaptcha v3 example demo
At the moment I am using reCaptcha V2 with the following code:
public ...
24
votes
3
answers
23k
views
How to use Joomla recaptcha plugin with my custom module?
I have created a custom module for my contactus form. Now I want to use Joomla recaptcha plugin with this module.
Any idea how to get this done?
5
votes
2
answers
7k
views
How to identify the 32 bit data-sitekey of ReCaptcha V2 to obtain a valid response programmatically using Selenium and Python Requests?
Pretty much new with captcha and Python requests. The captcha documentation says to copy the value of data-sitekey parameter.
Here was my attempt, using Selenium to open the url and using Python ...
98
votes
14
answers
170k
views
Change New Google Recaptcha (v2) Width
We've just started to implement the new google recaptcha as listed https://www.google.com/recaptcha/intro/index.html
However the new method seems to be contained within an iFrame rather than embedded ...
30
votes
3
answers
46k
views
reCAPTCHA with Content Security Policy
I'm trying to make reCAPTCHA work along with a strict Content Security Policy. This is the basic version I have, which works correctly:
HTML
<script src='//www.google.com/recaptcha/api.js' async ...
13
votes
3
answers
16k
views
reCaptcha v3 handle score callback
I followed recaptcha v3 example and managed to make it return a callback with a score for a page, similar with their demo.
What I don't understand is how to handle the score that is returned.
I ...
9
votes
2
answers
9k
views
How to implement Google reCaptcha in an MVC3 application?
Can anyone explain how to have reCaptcha functionality like stackoverflow in my MVC3 application.
And how can you customize that?
3
votes
3
answers
8k
views
reCaptcha usage in cordova/phonegap application
I am trying to integrate google recaptcha with cordova html5 application. But cordova uses file protocol in the application. So using captcha in the app gives "Error: invalid domain for site key".
I ...
211
votes
9
answers
226k
views
How to Reload ReCaptcha using JavaScript?
I have a signup form with AJAX so that I want to refresh Recaptcha image anytime an error is occured (i.e. username already in use).
I am looking for a code compatible with ReCaptcha to reload it ...
56
votes
1
answer
63k
views
ReCaptcha 2.0 With AJAX
I have managed to get ReCaptcha 2.0 working in my website. However, it's only working when I don't use AJAX and I let the form submit "naturally".
I want to submit the form with the captcha and ...
37
votes
8
answers
29k
views
How can I process HTML form validation before reCAPTCHA's validation?
I integrated the new hidden reCAPTCHA (v2) framework which by default verifies the user with the click event of the submit button. But this event is triggered before the built-in HTML form validation. ...
11
votes
3
answers
8k
views
Problems with new Google reCAPTCHA in IE when inside modal or dialog
reCAPTCHA works perfectly well in Chrome.
However, (only when reCAPTCHA iframe is inside a dialog box or a modal) in IE the placeholder won't go away.
Whatever the user writes is considered part of ...
10
votes
1
answer
32k
views
How to make Google reCAPTCHA a required field? [closed]
How can I make Google's No CAPTCHA reCAPTCHA a required field?
I mean, I want to check it with HTML or JavaScript.
5
votes
1
answer
13k
views
django customize reset password form
I am a beginner in django (django 1.7 python 2.7).
I am trying to add no captcha recaptcha onto my django reset password form.
I am trying to use this recaptcha djano plugin.
I have followed the ...
2
votes
1
answer
877
views
ReCaptcha keeps saying im a bot, doesn't ever succeed?
I was using the old ReCaptcha on my site but just upgrading to the new ReCaptcha i've 3-4 different tutorials but it keeps failing and giving the fail error.
HTML
<form method="POST" action="/...
101
votes
17
answers
414k
views
reCAPTCHA ERROR: Invalid domain for site key
I have implemented my reCAPTCHA in line with as is shown in the example.
I have this script in the head tag:
<script src="https://www.google.com/recaptcha/api.js"></script>
In my form ...
82
votes
2
answers
82k
views
ReCaptcha 2.0: enable Submit button on callback if recaptcha successful
I have a very simple form as follows. I want to make it so that the Submit button is disabled, and only enabled after the user has successfully completed the ReCaptcha.
I'm assuming I'm going to need ...
81
votes
3
answers
46k
views
reCAPTCHA - error-codes: 'missing-input-response', 'missing-input-secret' when verifying user's response (missing details on POST)
I am setting an invisible reCAPTCHA in my web application and having trouble verifying the user's response. (even though I am passing the correct POST parameters)
I am programmatically invoking the ...
80
votes
11
answers
86k
views
Google reCaptcha response "Uncaught (in promise) null"
I'm use reCaptcha v2 but in dev console response Uncaught (in promise) null in in any case (and moving the .reset() function)
console:
my code for recaptcha:
<div class="text-xs-center" style="...
78
votes
10
answers
47k
views
Is it possible to force fail a recaptcha v2 for testing purposes? (I.e. pretend to be a robot)
I'm implementing an invisible reCAPTCHA as per the instructions in the documentation: reCAPTCHA V2 documentation
I've managed to implement it without any problems. But, what I'd like to know is ...
70
votes
11
answers
139k
views
Test invisible recaptcha
We have integrated invisible recaptcha in one of our websites. Whenever we submit the form it automatically submits.
I read in some google groups that we would get a challenge when accessed on edge ...
66
votes
16
answers
26k
views
Are reCAPTCHA CAPTCHAs getting harder or is just me [closed]
As I have been testing sites, I have found reCAPTCHAs getting more and more difficult to read. Is it just me or are others having this problem too?
Along with this, I had a user this morning complain ...
55
votes
4
answers
76k
views
New reCaptcha with jQuery Validation Plugin
I searched and can't figure out how to validate the new reCaptcha, before form submit, along with the validate function of jQuery validation Plugin.
My intent:
$.validator.addMethod('...
44
votes
2
answers
44k
views
ReCaptcha v2 client side events
Does ReCaptcha v2 expose any client side events? I am looking specifically to identify when the Captcha response has been returned once the box is ticked, so I can reveal the "Continue" button below.
...