Closed enton8 closed 3 years ago
Understood, but as I'm sure you know, there's no 100% way to defeat spam, only help prevent it. Cookies are put in place to balance site performance with security. There is a plan to improve this check but haven't had time to dig into it. Feel free to fork the repo and contribute if you'd like this updated sooner rather than later.
v5 has been released and no longer relies on or uses cookies.
In file class-wpzerospam.php `` public function set_access_cookies( $access ) { these cookies are created:
If a potential bot/spammer creates those cookies manually, they seem to be able to circumvent the complete blocking functionality of the plugin.
The potential problem starts here:
If the wpzerospam_access_checked cookie is set to "true" and the wpzerospam_ip_checked cookie is set to the bot's ip, the values in the other cookies from the client are copied over to the server without further checks. I would never trust the client's cookies...