captcha

Cross (sub)domain ajax form submit with captcha

前提是你 提交于 2019-12-24 15:42:41
问题 I'm running into the following problem. A frontend website (www.domain.com) is used to fill in a form that belongs to the backend (backend.domain.com). This form is protected with a captcha, and the reference value for the captcha is saved in the user session (in PHP). The submission should be Ajax based, which gives some problems with the cross domains. Therefore a wrote a little PHP proxy on www.domain.com. This proxy requests the form of the backend. When the user submits the form, an Ajax

Get Recaptcha2 Iframe HTML but always EMPTY using GeckoFX Browser in vb.net

本秂侑毒 提交于 2019-12-24 12:05:07
问题 I am using the latest GeckoFX-45 Browser for vb.net. My problem: I can not get the HTML of the Iframe. Here is my code: 'Open Recaptcha2 test site Browser.Navigate("http://patrickhlauke.github.io/recaptcha/") 'Wait for loading (all ways I know) Browser.NavigateFinishedNotifier.BlockUntilNavigationFinished() Dim maxTimeouttime As DateTime = DateTime.Now.AddSeconds(4) While DateTime.Now < maxTimeouttime System.Windows.Forms.Application.DoEvents() System.Threading.Thread.Sleep(100) End While

Varnish Cache with PHP Captcha for Anti-Site-Scrapping Algorithm

我们两清 提交于 2019-12-24 09:48:17
问题 I've got Varnish cache working with PHP Captcha but I don't understand yet how I can set the trigger limits. After the limit of so many requests per hour (or minute) the captcha input is sent. I have it working but would like to be understand how I can alter the req/s limit. Here is the code from: http://drcarter.info/2010/04/how-fighting-against-scraping-using-varnish-vcl-inline-c-memcached/ What is this code saying to me? if (rc == MEMCACHED_SUCCESS) { uint64_t intval; rc= memcached

How to write the Captcha?

久未见 提交于 2019-12-24 05:00:49
问题 I am developing a registration form in that i want to place the CAPTCHA . i generate a random string but how to convert that into the image other wise how can i develop the CAPTCHA code or any reference. thank you 回答1: Try out reCaptcha or check out eh blog post "Captcha Using Asp.Net" which I wrote sometime back. 回答2: While having a captcha may feel like a good feature, it really isn't: Nowadays there's huge swarms of labor houses in China and such where people are paid for successfully

PHP - Captcha replacement

吃可爱长大的小学妹 提交于 2019-12-24 04:35:12
问题 I need your opinions on this code for implementing a anti-spam solution: When page/form is generated, a random string is created, eg. like $string = md5($_SERVER['REMOTE_ADDR']) this string is inserted in the database, and set to expire after let's say 2 hours so we don't fill up database On page load, the form has a hidden input field with no value, let's name it spam_check 10, 15 or 20 secs after the page has loaded a AJAX request automatically fires off that attempts to retrieve that

How to know if reCAPTCHA v3 works or not?

与世无争的帅哥 提交于 2019-12-24 03:43:43
问题 My front end use vuetify like this : validate: async function () { let tokenCaptcha await this.$recaptcha('login').then((token) => { tokenCaptcha = token }) if (this.$refs.form.validate() && tokenCaptcha) { let params = { birthDate: this.birthday, emailAddress: this.email, name: this.fullname, phoneNumber: this.phone, recaptcha: tokenCaptcha } this.modalSummary = true await this.setSummary(params) // Async vuex store / post to api backend if (this.dataSummary) { this.success = true } else {

strategy to defeat CAPTCHA bypass

≯℡__Kan透↙ 提交于 2019-12-24 02:00:35
问题 I have read the posts and the links about how to decode captcha. What I have not seen are strategies to make it more difficult to do this. In particular strategies that are not really complex. Also, does anyone have any strategies to try to detect if people are bypassing captcha? I am developing browser based game and I need to use something to prevent people from using simple bots to play all day long. There are actually companies out that that sell specialized bots for games. such as this

Django simple Captcha “No module named fields” error

可紊 提交于 2019-12-24 01:44:47
问题 Hi I am trying to implement Django simple capcha into my app but when i try to import from view.py "from captcha.fields import CaptchaField" i get an error "No module named fields". but i am able to import this in the django shell terminal. What else am i missing 回答1: Did you add captcha to the INSTALLED_APPS in your settings.py? If so, did you install it, where did you install it, and is it on your Python path? 回答2: I encountered same problem before and I installed django-simple-captcha. It

google recaptcha returns false due to “invalid-input-secret”

本小妞迷上赌 提交于 2019-12-24 00:58:52
问题 I have installed the latest recaptcha from google but it always returns false upon post submit and always returning "invalid-input-secret" error even though the verification is always correct from the frontend view. What could be the reason on this. Btw I am testing everything in localhost xampp with phalcon framework. Here is the part where I check the captcha: protected function validate_data($post, $ip){ $validation = new Validation(); $validation->add( 'user_name', new PresenceOf( array(

Python-3 Request parameter encoding error

為{幸葍}努か 提交于 2019-12-24 00:41:53
问题 I have been working on a django project based upon Python 3 . I am trying to incorporate captcha . I choosed django-recaptcha but unfortunately the package is not available for python3. So tried to tailor it for python3. I did some 2to3 stuff and made some changes as per need. Everything seems to work fine except the url encoding for Request . Following snippet yields POST data should be bytes or an iterable of bytes. It cannot be of type str. exception. def encode_if_necessary(s): if