Coder Social home page Coder Social logo

vari's Introduction

vari

visual illusion based captcha system

Vari (comes from Finnish word väri, which means colour) is a naive way to seperate dumb bots from clever bots (and humans).

The program flashes two colors (for example red and blue) at very high speed. What you would see instead of red and blue would be purple. Taking a computer screenshot would show the color to be either red or blue, but not purple. If the process could be crypted so that the colors could not be guessed, no bot should have an idea what color is actually displayed.

Have a look at example directory for a visual demo. You can run it with node and see the magic happen at localhost:8000.

As I said, this is naive implementation for number of reasons:

  1. CSS hex colors can be solved with basic maths
  2. There should be more than one color so screenshots could not be overlapped: implement some random factor which chooses color from pool of choices
  3. There's this thing called color blindness (although I do have few friends who could help me!)
  4. Currently the package uses only named CSS colors; some dedicated mind could just go trough each of the possible combinations of 147 colors and render this fine roadblock useless.
  5. See the previous issue - some initial data would be needed if the colors are randomized. Although, something like reCAPTCHA implementation could work, where you have one challenge which result is known and one which is not.
  6. Fluency in English may result in some variance with the naming of the colors - see issue #5
  7. To make issue #5 and #6 even possible, a centralized challenge server (oh god) would be needed.

Luckily everything doesn't need to be webscale and serious business.

vari's People

Contributors

jhvst avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.