captcha

How to put ReCaptcha in a popup?

两盒软妹~` 提交于 2019-12-07 07:24:25
I want to show Recaptcha in a Popup. Like i have a page where the user can submit a note. If someone is submitting a note i want to show a popup where recaptcha control will be there and after validation the note will be submitted. How can i do that? Can someone please help. 来源: https://stackoverflow.com/questions/3656633/how-to-put-recaptcha-in-a-popup

Opencart, OC 1.5.1.3, captcha error

試著忘記壹切 提交于 2019-12-07 07:23:41
问题 OC 1.5.1.3, the Captcha image doesn't show on none of these pages: product / review section contact page by accessing this http://www.directmall.co.uk/index.php?route=information/contact/captcha (the direct link which should generate the image) I can't see any errors (Apache logs / error.txt file). I can't see any spaces within the language files - in fact I've redownloaded the entire EN package just to make sure.. I suspect a broken dependency (even if I have GD.. there must be something

Refresh Simple Captcha

删除回忆录丶 提交于 2019-12-07 05:42:03
问题 I am using simple captcha in my JSP. Everything is OK. I want to provide a refresh button alongside of captcha to allow user to change the captcha. Captcha changes only on refreshing the complete page but I don't want to reload whole page for it. I need your suggestions on how I can implement this like using AJAX or JQuery to reload only the captcha, not whole page. 回答1: <script type="text/javascript"> function reloadCaptcha(){ var d = new Date(); $("#captcha_image").attr("src", "/captcha

reCAPTCHA authenticates as valid even for two incorrect words

你。 提交于 2019-12-07 03:47:56
问题 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

Magento 添加验证码,请求503,系统日志报错:Image CAPTCHA requires FT fonts support

痴心易碎 提交于 2019-12-07 00:41:03
今天为ETS网站增加了注册时需要验证码的功能.在本地测试正常,上传到线上之后发现无法正常显示验证码图片 检查发现验证码刷新的动作请求 503 了 这个功能我再其他网站也添加了都没有问题。本地也没问题,那么最大可能就是线上环境导致的问题。 于是检查系统错误日志,发现在日志中有: Image CAPTCHA requires FT fonts support 错误。 于是 google 搜索了一下,有人说是 GD 扩展没有安装造成的。 但我查看线上 phpinfo() 发现 GD 扩展有安装。 我只好在代码中搜索报错提示 Image CAPTCHA requires FT fonts support 查找到报错代码位置 lib\Zend\Captcha\Image.php 460行: protected function _generateImage($id, $word) { if (!extension_loaded("gd")) { #require_once 'Zend/Captcha/Exception.php'; throw new Zend_Captcha_Exception("Image CAPTCHA requires GD extension"); } if (!function_exists("imagepng")) { #require_once 'Zend

Time to crack DES? Is it a task suitable for a script kiddie yet?

我的梦境 提交于 2019-12-07 00:28:42
问题 Already understanding that AES is the encryption method of choice, should existing code that uses DES be re-written if the likely threat is on the level of script kiddies? (e.g. pkzip passwords can be cracked with free utilities by non-computer professionals, so is DES like that?) A quick google search seems to imply that even deprecated DES still requires a super computer and large quantity of time--or have times changed? In particular, this CAPTCHA library uses DES to encrypt the challenge

getMFAResponseForSite - rendering array as a captcha image

北城余情 提交于 2019-12-06 14:58:44
I'm working with Yodlee MFAs, in this case, captcha, and I'm wondering how to render the image field from this JSON response: { "isMessageAvailable":true, "fieldInfo":{ "responseFieldType":"text", "imageFieldType":"image", "image":[ 66, 77, 58, 116, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, 0, -91, 0, 0, 0, 45, 0, 0, 0, 1, 0, 32, 0, 0, 0, 0, 0, 4, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -5, -1, 0, -1, -1, -1, 0, -9, -9, -9, 0, -1, -5, -1, 0, -1, -1, -1, 0, -1, -5, -1, 0, -17, -17, -17, 0, -1, -1,

Verify reCaptcha V2 : Always false

非 Y 不嫁゛ 提交于 2019-12-06 12:15:00
问题 I'm trying to implant reCaptcha V2 of Google in my website (developed in PHP & Wordpress). I'm trying to verify if the user has checked this Captcha before the submit. And here is my verification : <?php if(isset($_POST['g-recaptcha-response']) && !empty($_POST['g-recaptcha-response'])){ $privatekey = $secret; $captcha = $_POST['g-recaptcha-response']; $url = 'https://www.google.com/recaptcha/api/siteverify'; $data = array( 'secret' => $privatekey, 'response' => $captcha, 'remoteip' => $

Using Google's reCaptcha to protect download link from bots

自作多情 提交于 2019-12-06 12:02:42
问题 I've tried to insert a download link into a form with a reCaptcha (as per Google's instructions) but the submit button opens the link even if you don't pass the captcha challenge. The code is very simple: <head> <script src='https://www.google.com/recaptcha/api.js'></script> </head> <body> <form action="download link"> <input type="submit" value="download"> <div class="g-recaptcha" data-sitekey="xxx"></div> </form> </body> JSFiddle Does anyone know why this isn't working? Thanks! 回答1: I think

Generate Captcha Image PHP

我们两清 提交于 2019-12-06 11:52:27
问题 I want to generate Captcha Image using PHP imagettftext. And following is my code. It gives an empty image. I want to resolve this issue. I have tested the code but was unable to find why the image is not bieng showed although my random text is being passed to the function of captcha image generation. <?php function generateRandomString($length = 10) { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $randomString = ''; for ($i = 0; $i < $length; $i++) {