Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


OLS alternative captcha providers
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

OLS alternative captcha providers

I recently implemented 3 captcha providers in one of my project and found out all of them have nearly similar interface. So I decided to build captcha modules for both LS and Nginx.

I tested Hcaptcha module and Cloudflare Turnstile module with OLS. They should work with enterprise version too if I am not wrong. These binaries are for RHEL/fork 8.7. If these binary don't work for your distro let me know the distro name and release version.
https://github.com/istiak101/lscaptcha/releases/tag/1.0.0

Backup the old binary and .shtml from /usr/local/lsws/lsrecaptcha. Rename the new binary to _recaptcha and chmod to 555. And remove the provider name extension from .shtml and restart LS.

https://openlitespeed.org/kb/recaptcha-with-openlitespeed/

Thanked by 2ordinanceb donko

Comments

  • FatGrizzlyFatGrizzly Member, Host Rep

    @Boogeyman said:
    I recently implemented 3 captcha providers in one of my project and found out all of them have nearly similar interface. So I decided to build captcha modules for both LS and Nginx.

    I tested Hcaptcha module and Cloudflare Turnstile module with OLS. They should work with enterprise version too if I am not wrong. These binaries are for RHEL/fork 8.7. If these binary don't work for your distro let me know the distro name and release version.
    https://github.com/istiak101/lscaptcha/releases/tag/1.0.0

    Backup the old binary and .shtml from /usr/local/lsws/lsrecaptcha. Rename the new binary to _recaptcha and chmod to 555. And remove the provider name extension from .shtml and restart LS.

    https://openlitespeed.org/kb/recaptcha-with-openlitespeed/

    can you publish the code in GitHub? I wish to compile myself.

    Thanked by 1ordinanceb
  • BoogeymanBoogeyman Member
    edited March 2023

    @FatGrizzly said: can you publish the code in GitHub? I wish to compile myself.

    Interestingly I found out your code after I finished the work. I wonder why you didn't release binaries or templates. My work is similar to your one except it will build with latest go. Your one should compile fine with the version from LS build.sh.

  • FatGrizzlyFatGrizzly Member, Host Rep

    @Boogeyman said:

    @FatGrizzly said: can you publish the code in GitHub? I wish to compile myself.

    Interestingly I found out your code after I finished the work. I wonder why you didn't release binaries or templates. My work is similar to your one except it will build with latest go. Your one should compile fine with the version from LS build.sh.

    It was actually done for another company, i later decided to put it on GitHub and forgot that it existed. I'll probably make releases in a few days.

Sign In or Register to comment.