captcha

Captcha is working fine on localhost , but not online

佐手、 提交于 2019-12-11 03:38:41
问题 I'm using simple-php-captcha( https://github.com/claviska/simple-php-captcha ) script on an ajax form in my wordpress theme, it works fine when it's on localhost but when i upload it on an online host , the captcha codes don't match , every thing works fine , captcha image loads , sessions get created but the captcha code displayed in the image is not the same as when the form is submitted. functions.php require_once( get_template_directory() . '/libs/captcha/simple-php-captcha.php' );

PHP cURL to Simultaneously Save Image & Get Header Response

a 夏天 提交于 2019-12-11 02:49:14
问题 I'm trying to use cURL to simultaneously save an image to file while also returning the headers that were returned upon loading that file for saving. The reason is because there is a unique cookie that is generated every single time the image is loaded and/or saved, so if I save the file and then do another request to the same image URL to get the cookie, the cookie will not be appropriately paired with the image that was save (it is a captcha image). The image can only be loaded once , and

Using captcha in ember js and mvc

馋奶兔 提交于 2019-12-11 02:00:02
问题 I'm creating a site using ember.js and asp.net mvc . In my previous asp.net sites, I've used captchaMVC (http://captchamvc.codeplex.com/). But, I can't figure out how to use it with Ember. Google searches haven't been very helpful for me. Can anyone point me in the right direction for how to use captchaMVC with Ember? 回答1: In reCaptcha the challenge request flow (between the user-agent and the reCaptcha challenge resource server) and user response verification flow (typically between your

Negative Captchas - help me understand spam bots better

筅森魡賤 提交于 2019-12-11 00:45:59
问题 I have to decide a technique to prevent spam bots from registering my site. In this question I am mainly asking about negative captchas. I came to know about many weaknesses of bots but want to know more. I read somewhere that majority of bots do not render/support javascript. Why is it so? How do I test that the visiting program can't evaluate javascript? I started with this question Need suggestions/ideas for easy-to-use but secure captchas Please answer to that question if you have some

MS Captcha timeout duration in registration form in ASP.Net

老子叫甜甜 提交于 2019-12-10 21:11:35
问题 I am currently using MS Captcha in a registration form. It works perfectly if the form is submitted within a minute. But sometimes, after filling in the form the user then searches for documents to upload, and when they finally submit the form, they get server error as below: [NullReferenceException: Object reference not set to an instance of an object.] MSCaptcha.CaptchaControl.ValidateCaptcha(String userEntry) +438 On submit button click, I call the ValidateCaptcha as below: Captcha1

jQuery Qaptcha : do you think that this Captcha System is easily hackable?

匆匆过客 提交于 2019-12-10 20:46:09
问题 http://www.myjqueryplugins.com/QapTcha/demo This plugin looks so user friendly I'm afraid that once it gets popular it gets easily hackable. Do you agree ? 回答1: Is the captcha the slider part? If so yes, it would be trivial to bypass. When you slide the slider all the way to the right it simply removes some arbitary values from a hidden form field "iQpatcha". When you click submit this (with the rest of the form) gets bundled up an POSTed to the server. Anyone will fiddler will be able to

reCAPTCHA v3 not working angular 6 - error executing

走远了吗. 提交于 2019-12-10 20:00:33
问题 I am implementing Google reCAPTCHA v3 with Angular 6. <script src='https://www.google.com/recaptcha/api.js?render=KEY'></script> Added script in index.html In my AppComponent, constructor( @Inject(DOCUMENT) private document: any ) { this.grecaptcha = this.document.grecaptcha; } and when i click form submit, this.grecaptcha.execute('KEY', { action: 'action_name' }) .then(function (token) { // Verify the token on the server. console.log(token); }); But, ERROR TypeError: Cannot read property

Woocommerce Checkout not Working with No CAPTCHA reCAPTCHA for WooCommerce Plugin

对着背影说爱祢 提交于 2019-12-10 19:13:15
问题 when i active 'No CAPTCHA reCAPTCHA for WooCommerce' plugin, so on checkout page of WooCommerce when customer checked the 'Create an account?' check-box and than Place Order, it does not work. the page just scroll on to the top and nothing action. any idea? Reagrds Faizan 回答1: The plugin is just written to protect the Woocommerce Registration and Login, not the Checkout Process. In order to protect the Checkout Process, I tweaked registration.php like this class WC_Ncr_Registration_Captcha

PHP GD image not displaying in Chrome

萝らか妹 提交于 2019-12-10 15:18:59
问题 We have used Captcha.php on one of our project, it opens in all browsers but we are not able to view in Google chrome Version 22. Our Captcha script session_start(); $captcha = new SimpleCaptcha(); $captcha->CreateImage(); class SimpleCaptcha { function CreateImage() { header("Content-Type: image/jpeg"); $md5 = md5(rand(0,9999)); $pass = substr($md5, 10, 5); $_SESSION["pass"] = $pass; $image = ImageCreatetruecolor(100, 20); $clr_white = ImageColorAllocate($image, 0, 0, 0); $clr_black =

How to acceptance test captcha-protected web application functionality?

拈花ヽ惹草 提交于 2019-12-10 14:19:18
问题 I would like to add a captcha, such as reCaptcha, to a certain functionality on my site. How could I adapt my acceptance tests? Is the only solution to disable the captcha's on the staging site? Clarification: Of course I am not speaking of brute-force cracking my own captcha, but e.g. some option to inject a state into the captcha from the server side that my test knows about. PS My server side code uses the Pyramid framework, and my tests are written using Selenium 回答1: The point isn't to