captcha

Captcha library for Swing?

丶灬走出姿态 提交于 2019-12-05 13:41:29
I'm looking for a captcha library or component that I could use inside a Swing Gui. Do you know any ? Edit: It seems not to exist. I'll program a small one myself. Even though I don't really understand the need for captcha in Swing app, you can probably use JCaptcha http://jcaptcha.sourceforge.net/ Let me try to explain the reason @eugener tries to talk you out of a CAPTCHA: Normally a CAPTCHA is used to prevents bot registration as you already said. This is done by having the server post a problem, that the client/user has to solve. Since you are looking for a Swing lib it sounds like you

javax.faces.FacesException: Cannot find public key for catpcha

有些话、适合烂在心里 提交于 2019-12-05 12:35:12
I want to implement captcha in my application, but i get this error can anybody tell me reason ?? juin 01, 2014 12:22:04 PM com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback visit GRAVE: javax.faces.FacesException: Cannot find public key for catpcha, use primefaces.PUBLIC_CAPTCHA_KEY context-param to define one See the message, you need to register for a CAPTCHA key then add the following to your web.xml <context-param> <param-name>primefaces.PUBLIC_CAPTCHA_KEY</param-name> <param-value>your-publickey</param-value> </context-param> <context-param> <param-name>primefaces

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.

Refresh Simple Captcha

回眸只為那壹抹淺笑 提交于 2019-12-05 11:31:24
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. javaghost <script type="text/javascript"> function reloadCaptcha(){ var d = new Date(); $("#captcha_image").attr("src", "/captcha_generator.jsp?"+d.getTime()); } </script> ... <img id="captcha_image" src="/captcha_generator.jsp"

Vkontakte API using OAuth does not work with Captcha

限于喜欢 提交于 2019-12-05 11:19:31
问题 Vkontakte API rejects requests with Captcha. Here is the example what I do. After the third request I get: Captcha error (14) - Captcha needed. According to documentation it's sufficient to add captcha_sid and captcha_key parameters to the original requests and repeat the request. But the response is still Captcha error (14) . Is it possible to work with Captcha and OAuth in Vkontakte API? 回答1: Captcha error Error code: 14 Error text: Captcha needed and captcha confirmation is required, when:

Gem-idea: Automatic spam protection with captcha in before_filter when HTTP-method is post,put or delete

◇◆丶佛笑我妖孽 提交于 2019-12-05 08:18:38
问题 I'm thinking about writing an automatic spam protection system (maybe I will write a public gem) for rails. My concept is to include a helper method in application_controller f.e.: class ApplicationController < ActionController::Base automatic_captcha_redirect(:min_time => 30.seconds :limit => 50) ... end Then I want to include automatical a before_filter in every controller, which checks, if the current request is via post, put or delete-method. If the user's last post-request is smaller

Why is my PHP E-mail form attracting spam?

风格不统一 提交于 2019-12-05 08:13:58
问题 I have built a website and I want to have an e-mail contact form on the web page, so that someone can send me a message. I am using the code from this website: http://www.w3schools.com/php/php_secure_mail.asp I am using the part that says PHP Stopping E-mail Injections Even though my site gets very few hits per day (like less than 10 visitors) I am finding that I am getting 3 or 4 messages every day from "spammers" who just seem to be sending me random messages that are not related to the

Another answer to the CAPTCHA problem? [closed]

老子叫甜甜 提交于 2019-12-05 07:57:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Most sites at least employ server access log checking and banning along with some kind of bot prevention measure like a CAPTCHA (those messed-up text images). The problem with CAPTCHAs is that they poss a threat to the user experience. Luckily they now come with user friendly features like refresh and audio

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