Hi all,
AFter struggling with someone spamming our OSTicket instance via some kind of automated bot the last couple of days, i quickly threw together this, a reCAPTCHA v3 plugin for osTicket 1.18+, implemented as a proper PHAR plugin and compatible with modern PHP versions.
I am aware of https://github.com/DavidMarquezF/osTicket-google-recaptcha but for me, it didnt work, so took a fresh stab at it, with a few more configuration options and niceties too.
The plugin registers a custom form field (reCAPTCHA v3 (Field)) that can be added to Ticket Details and Help Topic forms. Verification is enforced server-side during ticket submission.
Highlights:
- Works on open.php and AJAX-loaded help topic forms
- PHP 8.1 – 8.4 compatible
- No core file modifications
- Server-side enforcement (no client-side bypass)
- Admin-configurable score, action, timeout
- Optional debug logging
Install: upload the PHAR to /upload/include/plugins/, enable the plugin, and add the field to the relevant form.
Repo:
https://github.com/cs2000/osTicket_ReCaptcha_V3
Feedback welcome.