recaptcha

reCaptcha file_get_contents(): SSL operation failed

泪湿孤枕 提交于 2019-12-05 16:20:56
I'm using Google reCaptcha for my webpage. In testing mode everything works fine. No SSL. When I test my webpage in production environment the following errors occures: Warning : file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php on line 68 Warning : file_get_contents(): Failed to enable crypto in /vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php on line 68 Warning : file_get_contents( https://www.google.com

Zend Framework 2: How to properly replace Figlet with reCaptcha on zfcUser

笑着哭i 提交于 2019-12-05 16:06:37
I am trying to replace Figlet with reCaptcha on a zfcUser registration form. Partial instruction on how to accomplish this can be found on https://github.com/ZF-Commons/ZfcUser#changing-registration-captcha-element but no complete instruction exists. Checking the README.md file has a two-step instruction on how to accomplish this but still the CAPTCHA uses Figlet when rendered on the form. Has anyone successfully implemented this? I really need a hand on this one. Thanks in advance. EDIT: Here is a proven working solution I developed: 1. Add to composer.json // Add the lines below under the

Google recaptcha V2 supported content types

跟風遠走 提交于 2019-12-05 15:06:09
When querying the state of the "I'm not a robot" user challenge, you have to make a POST request to https://www.google.com/recaptcha/api/siteverify passing your secret key and the response token to know the result of the challenge. But it is undocumented which Content-Type s (MIME types) are supported. I guess every common MIME type is supported (application/x-www-form-urlenconded, application/json, application/xml), but, just for curiosity, Which are the Content-Type s supported by siteverify ? Or is that "supported mime types" list for POST request standarized somehow? lossleader I could not

Google Invisible ReCaptcha not invisible

白昼怎懂夜的黑 提交于 2019-12-05 12:06:26
I just try to get Google Invisible ReCaptcha to work after submitting a form. My problem is, the ReCaptcha is NOT invisible, it looks like the "old" recaptcha is popping up. I don't understand why. My site-key is for invisible recaptcha. Please help me. First of all i'm loading the API: <script src='https://www.google.com/recaptcha/api.js?render=explicit&onload=onScriptLoad' async defer></script> My form looks like this: <form method="post" id="contact-form-face" class="clearfix" onsubmit="return false"> <input type="text" required name="name" value="name" onFocus="if (this.value == 'name')

recaptcha plugin for rails

心不动则不痛 提交于 2019-12-05 11:58:25
I am currently using ambethia's recaptcha plugin for rails. I want to disable the message "incorrect-captcha-sol" whenever the user incorrectly enters the wrong recaptcha. How should I go about doing this? In the source file I get the following tags surrounding the error message <p class="recaptcha_error">incorrect-captcha-sol</p> The plugin sets the flash (more precisely flash[:recaptcha_error]), i.e. it won't display message automatically. Most likely you have a piece of code that displays all flash messages. Try removing it and/or excluding flash[:recaptcha_error] from being displayed.

Recaptcha - Script tag injection failing sporadically

岁酱吖の 提交于 2019-12-05 08:56:11
I have a form which uses reCAPTCHA. For some reason, when a user submits this form with an incorrect recapture value, when the page is re-rendered, the recapture fails to render. What it looks like it happening is that recapture attempts to inject a "script" tag, and sporadically (and only in certain browsers, certain environments, and in certain scenarios), it is failing to add that "script" tag to the DOM. It happens like this: 1) There is some inline javascript embedded in the form that looks like this: https://www.google.com/recaptcha/api/challenge?k=<our public key> 2) That script

How to prevent spam reviews in Magento

廉价感情. 提交于 2019-12-05 08:50:16
We have been seeing a number of spam product reviews in our Magento store. I recently installed the Fontis reCaptcha extension to add a reCaptcha form to the reviews form. In all my testing, this works great. A "real" user can't submit the form without filling out the reCaptcha portion. However, this hasn't fixed the problem. We are still getting spam reviews. Interestingly, these spam reviews also don't have a star rating. Somehow, these spam bots are able to submit a review without all the required information and completely circumventing the reCaptcha code. Any thoughts on how I can fix

Error: ReCAPTCHA placeholder element must be empty

女生的网名这么多〃 提交于 2019-12-05 08:20:56
问题 I am using recaptcha with my laravel application. I just want to check recaptcha's response on form submit using jquery and stop user by alert that pleade validate captcha. but , I could not stop form submission even if captcha is not filled. here is my code. $('#payuForm').on('submit', function (e) { var response = grecaptcha.getResponse(); if(response.length == 0 || response == '' || response ===false ) { alert('Please validate captcha.'); e.preventDefault(); } }); <div class="captcha"> {{

reCAPTCHA authenticates as valid even for two incorrect words

跟風遠走 提交于 2019-12-05 06:43:00
Just to give a background for my question, I am using Vanilla Forums for a website I run. Vanilla Forums comes with baked-in support for using reCAPTCHA to authenticate new registrations on the website, which I have enabled. Recently on my forum, however, I have seen a spike in spam registrations (obvious 'spammy' usernames, same email address used, et al.) I looked into this to try to see how spambots could be getting past the reCAPTCHA verification. I know that in reCAPTCHA, one of the words is known by the system and the other isn't , so it is possible that a form submit might validate even

How to reduce the Recaptcha difficulty?

坚强是说给别人听的谎言 提交于 2019-12-05 05:47:14
I use RecaptchaControl , and the users complain that the image is not that clear (the black part in the the captcha is too hard to read). Is there any property to make the image less difficult (less noisy)? <recaptcha:RecaptchaControl ID="recaptcha" runat="server" PublicKey="XXX" PrivateKey="YYY" OverrideSecureMode="true" /> Possibly not what you are looking for but there are lots of custom captcha controls out there i.e. CaptchaNET_2.aspx With a bit of knowledge of the Graphics classes in C# it isn't a hard job to tweak the code to make the captcha simplier (or harder). We use one for a