Giter VIP home page Giter VIP logo

spam_challenger's Introduction

Spam Challenger

Spam Challenger is a TYPO3 CMS extension connected with Formhandler aiming to protect a form from spamming using various technique but without the need of a captcha.

Formhandler is a flexible extension for handling form in TYPO3 CMS. It is a swiss army knife for all kinds of mailforms.

It will basically generate a challenge token stored in the Frontend Session. Upon submitting the challenge will be verified. It may be less efficient than the Captcha technique but will still prevent most spams while keeping the form captcha-free.

  • Was a User Session created?
  • How fast is the User at submitting the form?
  • Honey pot fields

Configuration

# PRE-PROCESSORS
preProcessors {
        1 {
                class = Tx_SpamChallenger_PreProcessor_CreateSpamChallenge
        }
}

# VALIDATORS
validators {
        2 {
                class = Tx_SpamChallenger_Validator_ValidateSpamChallenge
                config {

                        # optional time limit in second - default 5 seconds
                        timeLimitInSecond = 5

                        honeyPotValues {

                                # field "foo" is expected to be NULL
                                foo =

                                # field "bar" is expected to stay "baz"
                                bar = baz
                        }
                }
        }
}

Add in your language file:

<label index="error_spamchallenger_challenge">Spam challenge did not pass. Hey! Who are you?</label>

Debug Spam Challenger

When setting debug = 1 at the formhandler level, debug messages will be outputted:

plugin.Tx_Formhandler.settings.predef.foo {

        name = bar

        # Global flag for debugging formhandler
        debug = 1

}

spam_challenger's People

Contributors

fabarea avatar powerkiki avatar

Watchers

 avatar James Cloos 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.