Wordpress Plugin: Login and Register Anti-Spam Captcha

Posted on the September 4th, 2007 under PHP, Raz-Soft News, [ En ] by Raz

  It is time to update my Anti-Spam robot for wordpress registration page. The hack presented here for spambots is still working for me but I’m getting a bunch of emails from peoples who can’t backup a file and insert a few lines in their register form. So, let’s cut to the chase: I’ve made a plugin that will insert the captcha (Completely Automated Public Turing test to tell Computers and Humans Apart) image automatically in the Login and/or Register page of your wordpress installation. And that is not all, you can play around with 5 different captcha algoritms and customize them the way you want. Hence, ocr geeks have managed to automatically read the image? no problem… change your captcha fonts, color, add some random lines or dots or switch to a different captcha algorithm and you are done.

You will find 5 captcha algorithms in this plugin:

    (1) PNG-Raz MiXed Fonts : fully customizable
    (2) JPG-Tiny Mini : a mini customizable captcha
    (3) PNG-GOTCHA from Sol Toure
    (4) PNG-phpBB3 8bit Grey from phpBB Group
    (5) PNG-PNG-phpBB3 Advanced from phpBB Group

Just use the one you want or you can customize one just for your site. I’m using the PNG-GOTCHA, here is how it looks on my site : register or login. If the captcha alg will mess the image you can refresh/generate another one by clicking on it.

Requirements

 This plugin requires Wordpress 2.x.x with PHP 4 (v4.3.0 or newer) and GD Library. GOTCHA alg requires the additional FreeType Library to be installed on your web host for loading the fonts. GD and FreeType Library are usually installed already on your host but if they are not just ask your web host to install them…

Installation

 The plugin can be installed in 3 easy steps:
1. Download the plugin (see below).
2. Decompress the .zip archive into your plugins directory (/wp-content/plugins/) keeping zip folder structure intact
3. Enable the plugin in the WordPress Plugins admin page -> Raz-Captcha.
* Go to Options -> Raz-Captcha, adjust the options if necessary and save.
* That’s All! check your login and register pages ;)

Download

*You can find this plugin on Wordpress.org as well (thank you wordpress!)

Final words

 If you have the registration hack installed please restore wp-login.php from your backup or remove the “hacked” lines from wp-login. If you don’t, you will end up with two captcha checks on the registration page.
  This plugin is work in progress, the first beta release, and any shouts from you are welcomed. Stay safe and clean :)>-

115 Responses to 'Wordpress Plugin: Login and Register Anti-Spam Captcha'

  1. September 5, 2007 at 2:32 pm
    Richard Blair
  2. September 5, 2007 at 9:07 pm
    Kees
  3. September 6, 2007 at 8:34 am
    Raz
  4. September 7, 2007 at 10:21 am
    Kees
  5. September 7, 2007 at 10:33 am
    Raz
  6. September 7, 2007 at 11:13 am
    Raz
  7. September 7, 2007 at 9:34 pm
    Kees
  8. September 7, 2007 at 10:29 pm
    Raz
  9. September 10, 2007 at 11:04 pm
    Dicontas
  10. September 10, 2007 at 11:38 pm
    Dicontas
  11. September 11, 2007 at 8:46 am
    Raz
  12. September 13, 2007 at 7:52 am
    Jared
  13. September 13, 2007 at 9:06 am
    Raz
  14. September 20, 2007 at 4:16 pm
    emre murat
  15. September 20, 2007 at 4:31 pm
    Raz
  16. September 21, 2007 at 6:28 pm
    Kretzschmar
  17. September 21, 2007 at 7:11 pm
    Kretzschmar
  18. September 21, 2007 at 11:46 pm
    Raz
  19. September 25, 2007 at 9:59 pm
    Kretzschmar
  20. September 25, 2007 at 10:26 pm
    Raz
  21. September 26, 2007 at 9:25 pm
    m1chu
  22. September 27, 2007 at 8:49 am
    Raz
  23. October 11, 2007 at 2:10 pm
    qwe
  24. October 21, 2007 at 8:32 pm
    Enni
  25. October 22, 2007 at 8:59 am
    Raz
  26. October 24, 2007 at 4:29 am
    Enni
  27. October 24, 2007 at 8:54 am
    Raz
  28. October 24, 2007 at 10:12 am
    Enni
  29. October 24, 2007 at 11:19 am
    Raz
  30. October 24, 2007 at 11:38 am
    Enni
  31. October 24, 2007 at 2:06 pm
    Enni
  32. October 26, 2007 at 12:05 pm
    Raz
  33. October 26, 2007 at 12:22 pm
    m1chu
  34. November 1, 2007 at 3:01 pm
    Marc
  35. November 3, 2007 at 3:14 am
    Matt
  36. November 3, 2007 at 10:29 am
    Raz
  37. December 20, 2007 at 9:51 pm
    Narcis Garcia
  38. December 20, 2007 at 9:54 pm
    Narcis Garcia
  39. December 22, 2007 at 6:19 pm
    Raz
  40. December 31, 2007 at 2:20 pm
    Nisse
  41. January 2, 2008 at 2:35 pm
    Raz
  42. January 2, 2008 at 7:59 pm
    Nisse
  43. January 8, 2008 at 7:11 pm
    Lesiu
  44. January 8, 2008 at 8:46 pm
    Raz
  45. January 9, 2008 at 12:55 pm
    Lesiu
  46. January 9, 2008 at 1:13 pm
    Raz
  47. January 9, 2008 at 2:14 pm
    Lesiu
  48. January 19, 2008 at 10:22 pm
    dqj
  49. January 24, 2008 at 5:12 am
    Krystal
  50. January 24, 2008 at 10:08 am
    Raz

Leave a Reply

Skip, ignore me





XHTML::
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>