[wordpress插件] Cute Captcha可爱的验证码

wordpress 插件 文章 2020-04-11 00:30 405 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This is my first WordPress plugin that i made it for personal use and to learn how to build plugins.

这是我制作的第一个WordPress插件,供个人使用并学习如何构建插件。

This plugin replaces the submit button on the post comment section with a set of buttons from images.

此插件用图像中的一组按钮替换了帖子评论部分上的“提交”按钮。

A small message provides the user a hint on what button to use to submit the comment.

一条小消息为用户提供了有关使用什么按钮提交评论的提示。

Demo: http://www.arcweb.ro/blog/2011/12/21/testing-cutecaptcha-plugin/

演示:http://www.arcweb.ro/blog/2011/12/21/testing-cutecaptcha-plugin/

Requirements:

要求:

PHP mcrypt should be available on the server, i will add more encryption methods if required.

PHP mcrypt应该在服务器上可用,如果需要,我会添加更多加密方法。

Session support is optional, supports caching of post pages without session but with lower security.

会话支持是可选的,支持不带会话但安全性较低的帖子页面缓存。

Customize:

自定义:

All the information and parameters to configure are in cutecaptcha.php

所有要配置的信息和参数都在cutecaptcha.php

The images and messages can be customized and should be quite fun to adapt it with the

图像和消息可以自定义,并且很有趣,可以通过
进行调整

subject of each website, especially expecting that anybody that wants to post a comment

每个网站的主题,尤其是希望有人发表评论

should have a good idea about that subject.

应该对该主题有个好主意。

Security:

安全性:

The variety in images and messages will make it difficult for automated bots to break it.

图片和消息的多样性将使自动机器人很难破解它。

The plugin is intended for a regular blog that will never attract dedicated spamers.

该插件用于常规博客,永远不会吸引专门的垃圾邮件发件人。

At this moment the association between messages and photos can be analyzed, but it is possible to add

目前,可以分析消息和照片之间的关联,但是可以添加

another layer of protection if required.

如果需要,可以提供另一层保护。

I strongly suggest that each site uses personalized images and

我强烈建议每个网站都使用个性化图片,并且

messages related to their content.

与内容相关的消息。

TODO:

待办事项:

Alternative encryption functions for servers without php mcrypt.

没有php mcrypt的服务器的替代加密功能。

Extra layer of security on images: Raw data inserted in file, modified with

图像上的额外安全层:将原始数据插入文件,并用
进行修改

variable watermarks for each session.

每个会话的可变水印。

Display a specific number of buttons from a gallery of buttons.

从按钮库中显示特定数量的按钮。

IP Block: block ip’s after a number of failed submits for a number of days.

IP封锁:提交失败数天后会封锁ip。

安装步骤

    1. Upload cutecatpcha folder to the /wp-content/plugins/ directory
    2. cutecatpcha 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Customize images, messages and session on/off in cutecaptcha.php file
    6. 在cutecaptcha.php文件中自定义打开/关闭图像,消息和会话

下载地址
https://downloads.wordpress.org/plugin/cutecaptcha.zip
-EOF-

AI助手支持GPT4.0