poralix / reCaptcha2_validation-free

Protect your users' WordPress instances with a reCaptcha 2 from Google. Installed once server-wide, it frees you from a need to do anything on PHP application's side.
GNU General Public License v3.0
9 stars 9 forks source link

Version

Serverwide reCAPTCHA VALIDATION FOR WordPress Login page $ v.0.9-Free (beta)

Copyright notice

Copyright (C) 2016-2024 Alex S Grebenschikov. Written by Alex S Grebenschikov.

Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net AUTHORS: Mike Crawford, Ben Maurer

Contacts

About

How it works

Supported Control Panels

Requirements

IPv6

IMPORTANT Since users are redirected to http://hostname/ you should make sure that your hostname has a valid IPv6 record in order to validation for IPv6 to work properly!

Installation

cd /usr/local/src
wget -O reCaptcha2_validation-free.tar.gz https://github.com/poralix/reCaptcha2_validation-free/archive/master.tar.gz
tar -zxvf reCaptcha2_validation-free.tar.gz
cd reCaptcha2_validation-free-master/install/
./install.sh

and clean files:

cd /usr/local/src
rm -rf reCaptcha2_validation*
rm -rf /var/www/html/reCaptcha2_validation-free.tar.gz

Uninstallation

In case you want to remove the reCaptcha run the script:

cd $(ls -1d /var/www/html/__captcha_validation_free-*)
./uninstall/uninstall.sh

After the script cleans cron and Apache config you can remove the directory /var/www/html/__captcha_validation_free-*

Exclude a domain from reCaptcha protection

Since version 0.6 you can disable reCaptcha for one or several domains by following the guide:

Enable reCaptcha for a domain

If you previously disabled reCaptcha for a domain follow the guide to enable it back:

History of changes

LICENSE

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.