captcha

python captcha decoder library

倾然丶 夕夏残阳落幕 提交于 2019-11-28 07:53:49
I need a Captcha decoder for python to read simple image captchas like the following picture: Do you know of a library that can help me read this captcha? If you don't know of a library for reading captchas, could you help me to read this (and others like this) with PIL? I hope this captcha is not used anywhere. Following is a dummy way to decode it. Basically what you need are the patterns from 0 to 9 as present in these captchas. From your examples, I have only the patterns for 0 3 4 5 7 8. Since everything is fixed on them, you know where to split each character. You also know each

CCaptcha displaying no image yii

こ雲淡風輕ζ 提交于 2019-11-28 07:48:15
问题 I have a user registration form, in which I am trying to display a Captcha image by using Yii widget CCaptcha, however my image link appears broken, Controller file: public function actions() { return array( // captcha action renders the CAPTCHA image displayed on the contact page 'captcha'=>array( 'class'=>'CCaptchaAction', 'backColor'=>0xFFFFFF, ), ); } Model File: public function rules() { return array( array('verifyCode','captcha','allowEmpty'=>!CCaptcha::checkRequirements(),'on'=>'insert

Most effective form of CAPTCHA?

家住魔仙堡 提交于 2019-11-28 06:56:16
Of all the forms of CAPTCHA available, which one is the "least crackable" while remaining fairly human readable? I agree with Thomas. Captcha is on its way out. But if you must use it, reCAPTCHA is a pretty good provider with a simple API. I believe that CAPTCHA is dying. If someone really wants to break it, it will be broken. I read (somewhere, don't remember where) about a site that gave you free porn in exchange for answering CAPTCHAs to they can be rendered obsolete by bots. So, why bother? Anyone who really wants to break this padlock can use a pair of bolt cutters, so why bother with the

Need suggestions/ideas for easy-to-use but secure captchas [closed]

狂风中的少年 提交于 2019-11-28 06:17:10
问题 To start with, I am well aware of the security/usability trade-off associated with captchas and do not need any explanation on that. I know that reCAPTCHA is the state-of-the-art in captcha technology but we just do not want to use it for our site because of the difficulty faced by users to read distorted words. Our site is a study portal for students offering live online classes, so the users will be students (leaving certificate level) and teachers. I have been searching for different ideas

How to retrieve captcha and save session with PHP cURL?

不想你离开。 提交于 2019-11-28 05:55:00
问题 UPDATE: SOLVED Hi all, i've got it, just save cookie to temp file, and resubmit form with curl and set cookies with previous temp file :) thanks all for respond :) This my working code $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url_register); curl_setopt($ch, CURLOPT_USERAGENT, $this->useragent); curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookie); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); $out['result'] = curl_exec($ch); $out['error'] =

How to use GMail as a free SMTP server and overcome captcha

不打扰是莪最后的温柔 提交于 2019-11-27 20:52:08
GMail can used as a SMTP server. I've written the code that does it. But as we all know GMail may occasionally authenticate using captcha ( image verification as they call it). The same thing may be the cause to reject SMTP authentication. As I've seen google shows image verification when you try to log-in for the first time from some machine. All consecutive log-ins from the same machine (to the same account) use regular login. I'm a bit afraid this captcha may also come up again for some other reasons that I can't control. So. Is it possible to still authenticate when special measures are

How can I avoid google mail server asking me to log in via browser?

夙愿已清 提交于 2019-11-27 18:08:14
I am trying to send emails from Django using an email configured by Google Apps, my configuration at the settings.py file looks something like this: EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_USER = 'contact@mydomain.com' EMAIL_HOST_PASSWORD = 'password' EMAIL_PORT = 587 EMAIL_USE_TLS = True When I try to send an email using: from django.core.mail import send_mail send_mail("Happy new year", "We wish you the best for 3001", "contact@mydomain.com", ["someuser@gmail.com"]) I get the following error: SMTPAuthenticationError: (535, '5.7.1 Please log in with your web browser and then try again. Learn

Recommendations for java captcha libraries [closed]

梦想的初衷 提交于 2019-11-27 17:01:14
I'm looking for a replacement for JCaptcha, which doesn't seem to be maintained any more, and isn't very good to begin with. The replacement has to integrate nicely with JavaEE webapps. As I can see it, there are three options: JCaptcha - No longer maintained, crude API SimpleCaptcha - much nicer API, nicer captchas, but seems to be Java6 only ReCaptcha - easy to use, uses remote web-service to generate captchas, but not much control over look and feel Has anyone used any others, that they'd recommend? Francis ReCaptcha is the only captcha you should use, because it's the only captcha that

Limiting user login attempts in PHP

独自空忆成欢 提交于 2019-11-27 15:15:25
I've seen web apps with limitations for user login attempts. Is it a security necessity and, if so, why? For example: you had three failed login attempts, let's try again in 10 minutes!! Clarification This is a completion to the other answers. Using a good implemented captcha alongside an anti-bruteforce mechanism using sessions for example. The questioner marked this as accepted assuming that captchas are unreadable by machines (she's almost right) and so it's getting negative points, because people think it's not a complete answer & they're right. Also using a good implemented CAPTCHA could

If i use captcha will i be able to stop the spam completely in my blog?

こ雲淡風輕ζ 提交于 2019-11-27 15:15:05
I have a Wordpress blog and the only user input is the commenting system. I want to totally avoid spam comments. Wordpress comes with Akismet but I can also use Captcha. Which plugin/method should I use? My client doesn't mind users entering verification strings to post comments. If I adopt either Akisment or Captcha will I be able to completely control the spam? Is it possible to use either Akismet or Captcha for a simple 4-digit verification? If not then please also recommend a plugin/method capable of just a 4-digit verification. The captchas seem to be fooled by adept people. The Akismet