recaptcha

reCaptcha v3 with ColdFusion

南楼画角 提交于 2020-01-24 04:29:25
问题 I'm trying to integrate reCaptcha (v3) to a ColdFusion site. I'm not too hot on the CF syntax and currently I'm seemingly getting nothing back from the verify request on the server side. Can anyone see anything obviously wrong and/or point me in the right direction please? Client Side: <script src='https://www.google.com/recaptcha/api.js?render=6..."></script> <script> grecaptcha.ready(function() { grecaptcha.execute('6...', {action: 'contact'}) .then(function(token) { $("#recaptchaToken")

django forms wizard and recaptcha

懵懂的女人 提交于 2020-01-22 14:31:25
问题 I did a recaptcha integration using the following django snippet settings.py RECAPTCHA_PUBLIC_KEY = '<your public key>' RECAPTCHA_PRIVATE_KEY = '<your private key>' #widgets.py from django import forms from django.utils.safestring import mark_safe from django.conf import settings from recaptcha import captcha class ReCaptcha(forms.widgets.Widget): recaptcha_challenge_name = 'recaptcha_challenge_field' recaptcha_response_name = 'recaptcha_response_field' def render(self, name, value, attrs

(PHP) Stuck making submission form anti spam

天大地大妈咪最大 提交于 2020-01-22 02:31:15
问题 So I am almost done creating this anti spam google recaptcha v3 form. I get failure to the end. could you see what is the problem? I dont use this to send data to DB but to my email. let me know if this is the problem, but i think not. I am almost finished, here what I have done so far: still getting failed to save data error <?php if(isset($_POST['submit'])){ // print_r($_POST); $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "censord", 'response' => $_POST[

How does Google reCAPTCHA v2 work behind the scenes?

谁都会走 提交于 2020-01-18 18:25:03
问题 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 clicking on it. But how can it differentiate a bot from a person just by a click? As per this answer, (assuming a similar implementation), at first "recaptcha" generates a hidden key and attaches it to a hidden input element and also lazily renders a check box (not an actual check box input but a div )

How does Google reCAPTCHA v2 work behind the scenes?

我与影子孤独终老i 提交于 2020-01-18 18:11:10
问题 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 clicking on it. But how can it differentiate a bot from a person just by a click? As per this answer, (assuming a similar implementation), at first "recaptcha" generates a hidden key and attaches it to a hidden input element and also lazily renders a check box (not an actual check box input but a div )

Ajax post always results in error, even though everything seems correct

馋奶兔 提交于 2020-01-17 03:42:09
问题 I'm trying to process captcha in form validation using google's reCaptcha. Basically, my validation function is called using onSubmit in the form tag, and then calls a second function to work with the recaptcha api. Here's the code: var returnValue; var myData = { privatekey : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", remoteip : ip, challenge : challenge, response : response }; $.ajax({ url: "http://www.google.com/recaptcha/api/verify", type: "POST", data: JSON.stringify(myData), dataType: "text"

Django registration form and registration unique email form

末鹿安然 提交于 2020-01-16 14:45:30
问题 I am currently using django-registration v0.8a and django-recaptcha for my registration portion. Everything is working fine with the recaptcha field showing up except that I am unable to get the RegistrationFormUniqueEmail to work. Here are some of the details. I have ensured that my captcha\forms.py is indeed subclassing from the correct form: from registration.forms import RegistrationFormUniqueEmail class RegistrationFormCaptcha(RegistrationFormUniqueEmail): captcha = ReCaptchaField(attrs=

weird reCaptcha error in PHP

人走茶凉 提交于 2020-01-16 01:49:04
问题 I am having a problem with implementing a reCaptcha on my website. I followed the tutorial here: http://code.google.com/apis/recaptcha/docs/php.html and implemented just a basic reCaptcha with an error message. Below is some custom code I use in the file which the form is submitted to: if (!$resp->isValid) { $_SESSION['badLoginCount'] += 1; $_SESSION['incorrect-captcha'] = true; $_SESSION['incorrect-captcha-error'] = $resp->error; header ('Location: ../../signin.php'); exit; } If the user

how should I integrate recaptcha in Codeigniter [closed]

╄→гoц情女王★ 提交于 2020-01-14 06:34:20
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I want to integrate recaptcha in registration form in Codeigniter. The form will post in ajax. Please help me.. thanks in advance 回答1: Here you will find your solution. https://developers.google.com/recaptcha

Force Google Recaptcha Challenge

£可爱£侵袭症+ 提交于 2020-01-12 12:25:33
问题 Is it possible to set some flag in my browser so that I always get the RECAPTHCA image challenges? Sometimes when you click on the "I am not a robot" button, it gives you a pop up challenge with something like "Click all the images which contain a car", but sometimes it just checks off the box and takes your word for the fact that you're not a robot. I would like to test the UI of my tool both on a desktop and on mobile, and make sure that the challenge pop up shows up and interacts well with