Hi
I have programmed a system wide captcha that redirects all POST requests via this captcha validation page.
It is not based on recaptcha, I have fixed something easy myself: the sum of two numbers. (example: What is the sum of 'two' and 'fourteen') and a dropdown to chose from. I suspect no bot expects this question with a dropdown, so I think it will be easy for a human and difficult for a bot.
I have found code on this forum, and changed it to my liking.
It works for all POST requests on wordpress (contactpage, loginpage, comments page,...), joomla, drupal.
Except for json based POST requests (=> prestashop, or a shop based on joomla). I don't know yet if I can somehow fix this.
The client can disable this captcha if it does not work for them.
You can find the code on github:
Please let me know if there is a solution for the json based POST requests.
Kr
Dries
I have programmed a system wide captcha that redirects all POST requests via this captcha validation page.
It is not based on recaptcha, I have fixed something easy myself: the sum of two numbers. (example: What is the sum of 'two' and 'fourteen') and a dropdown to chose from. I suspect no bot expects this question with a dropdown, so I think it will be easy for a human and difficult for a bot.
I have found code on this forum, and changed it to my liking.
It works for all POST requests on wordpress (contactpage, loginpage, comments page,...), joomla, drupal.
Except for json based POST requests (=> prestashop, or a shop based on joomla). I don't know yet if I can somehow fix this.
The client can disable this captcha if it does not work for them.
You can find the code on github:
GitHub - dri3sp/serverwide-POST-captcha-validation
Contribute to dri3sp/serverwide-POST-captcha-validation development by creating an account on GitHub.
github.com
Please let me know if there is a solution for the json based POST requests.
Kr
Dries