recaptcha

Uncaught ReferenceError: Recaptcha is not defined

﹥>﹥吖頭↗ 提交于 2019-12-13 02:15:58
问题 I am running into an issue with implementing the reCaptcha control on a contact form. The following error is thrown on load: Uncaught ReferenceError: Recaptcha is not defined Here is a partial snippet of the code I am using: <form role="form" id="ContactMessageForm"> <div class="form-group"> <div id="CaptchaContainer"></div> </div> <button type="button" class="btn btn-default" id="ContactMessageSendButton">Send</button> </form> <script type="text/javascript" src="/scripts/mail.min.js" defer=

Google reCaptcha - empty error message, not receiving response to challenge (The reCAPTCHA wasn't entered correctly)

∥☆過路亽.° 提交于 2019-12-12 19:35:58
问题 EDIT: I'm using reCaptcha 2.0, should I not be using recaptchalib.php? Live DEMO http://josiahbertoli.com/ I'm getting the following error when I submit a form (ignore the blank values for the input fields)(with debug code): Error _POST: ========= Array ( [first_name] => [last_name] => [email] => [subject] => [comments] => [g-recaptcha-response] => big-long-value ) ========= The reCAPTCHA wasn't entered correctly. Go back and try it again.(reCAPTCHA said: )` How my webpage is set up: HTML

Uncaught SecurityError: Blocked a frame with origin “https://www.google.com” from accessing a frame with origin “http://my.site.com”.

大憨熊 提交于 2019-12-12 18:06:15
问题 I am using google reCaptcha v2.0 and this is working in the same domain when i am trying to do it with a sample html page but same thing is not working when I am trying to integrate with the full production page. After clicking on reCaptcha checkbox it's keep on loading for sometimes and after that it is throwing the error below in details. Uncaught SecurityError: Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://my.site.com". The frame requesting

Captcha handling using Selenium

雨燕双飞 提交于 2019-12-12 16:00:49
问题 I am trying to automate one form where I get re-Captcha as a part of form submission. I got stuck and figuring out that how can we handle the captcha text using selenium webdriver. Though this captcha is turing test implementation in realtime but, still I am finding some way so that I can handle this scenario. 回答1: So you can't really do that, captcha is by definition meant to break your automation. That said, I have had some luck using Tesseract OCR, but I was dealing with rather simplistic

Can recaptcha be bypassed by sending NULL bytes?

血红的双手。 提交于 2019-12-12 13:48:31
问题 We're running Atomic Secured Linux, and it's been catching posts that are sending NULL bytes in the recaptcha_response_field. The posts in question are definitely spammy, but the only field that gets null bytes is "recaptcha_response_field". In particular, the following is present twice in the POST body: recaptcha_response_field=%00%00%00%00%00%00%00%00 I'm wondering if this is a known attack against recaptcha, or otherwise a known method of compromising web servers. And if so, what it's

Google ReCaptcha Uncaught DOMException: Blocked a frame with origin “https://www.google.com”

社会主义新天地 提交于 2019-12-12 13:37:55
问题 I'm not sure why this is happening, and it isn't the usual, common error of: Uncaught SecurityError: Block a frame with origin. The error I'm getting is: Uncaught DOMException: Blocked a frame with origin "https://www.google.com" from accessing a cross-origin frame. I'm following Google's instructions on how to enable ReCaptcha, but it isn't working for me! // top of the page <script src="https://www.google.com/recaptcha/api.js" async defer></script> // then somewhere in the bottom <div class

How to secure a form which sends out emails

时光怂恿深爱的人放手 提交于 2019-12-12 13:27:42
问题 I have the following code which sends emails out. Is this good/secure enough for a production environment. i.e. will it stop bots, curl scripts sending spam using it, and stop email injections etc etc? <?php require_once('recaptchalib.php'); $privatekey = "private keys goes here"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens when the CAPTCHA was entered

reCAPTCHA field on page that is loaded through AJAX doesn't load. Suggestions?

橙三吉。 提交于 2019-12-12 13:26:07
问题 Live Examples: Without AJAX With AJAX (click Email Us link) When I view the source page everything works fine, but when I load through an AJAX request, in the place where the reCAPTCHA should be, I see... <noscript> <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LfwkccSAAAAALr_z6vDBqkySowo5KIiR0mVM1BX" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response

Spam Defeating All My Captcha

心已入冬 提交于 2019-12-12 12:41:04
问题 I have a wordpress blog and I had the Captcha plugin on it for the longest time because it worked. Lately though I am getting mass amounts of spam. I then tried to do a "Add These Random Numbers Together" that were generated via PHP but still no luck. I'm not quite sure what I need to do to block this spam but it is quite annoying. I was reading about some kind of visual script that spammers use - that reads your webpage or something thats why Captcha has the messy images to block this sort

google reCaptcha - [“missing-input-response”,“missing-input-secret”]

流过昼夜 提交于 2019-12-12 11:46:02
问题 I made some changes to ReCaptcha\RequestMethod\Post.php from Google API class Post implements RequestMethod { /** * URL to which requests are POSTed. * @const string */ const SITE_VERIFY_URL = 'https://www.google.com/recaptcha/api/siteverify'; /** * Submit the POST request with the specified parameters. * * @param RequestParameters $params Request parameters * @return string Body of the reCAPTCHA response */ public function submit(RequestParameters $params) { /** * PHP 5.6.0 changed the way