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. February 4, 2008 at 5:51 pm
    Narcis Garcia
    • March 23, 2009 at 8:09 am
      Ted
  2. February 18, 2008 at 10:49 am
    ovizii
  3. February 18, 2008 at 10:58 am
    ovizii
  4. February 20, 2008 at 3:29 am
    peter
  5. February 20, 2008 at 9:59 am
    Raz
  6. February 20, 2008 at 10:48 am
    Raz
  7. February 20, 2008 at 11:14 am
    Narcis Garcia
  8. February 20, 2008 at 11:23 am
    Raz
  9. March 4, 2008 at 3:06 am
    albertcito
  10. March 4, 2008 at 10:49 am
    Raz
  11. March 6, 2008 at 12:39 pm
    Narcis Garcia
  12. March 24, 2008 at 4:03 pm
    Max Kima
  13. March 25, 2008 at 11:20 am
    Anonymous
  14. March 31, 2008 at 8:52 am
    andrew
  15. April 4, 2008 at 2:14 am
    ljmacphee
  16. April 4, 2008 at 2:15 am
    ljmacphee
  17. April 9, 2008 at 8:25 am
    andrew
  18. April 9, 2008 at 1:05 pm
    Raz
  19. April 17, 2008 at 9:09 pm
    PNOOZ
  20. April 21, 2008 at 8:16 am
    Kalina
  21. April 29, 2008 at 12:04 am
    Axel
  22. April 29, 2008 at 7:55 am
    MarkRH
  23. May 9, 2008 at 6:16 am
    MacBros
  24. May 9, 2008 at 6:19 am
    MacBros
  25. May 20, 2008 at 11:07 pm
    Steph
  26. May 20, 2008 at 11:38 pm
    Steph
  27. May 28, 2008 at 10:45 am
    hubevolution
  28. May 28, 2008 at 3:00 pm
    Axel
  29. May 28, 2008 at 4:13 pm
    hubevolution
  30. May 28, 2008 at 9:17 pm
    Axel
  31. June 2, 2008 at 8:36 am
    OJWay
  32. June 3, 2008 at 9:09 am
    hubevolution
  33. June 3, 2008 at 12:49 pm
    Axel
  34. October 13, 2008 at 6:37 am
    Rain
  35. December 22, 2008 at 12:22 pm
    Azubi
  36. December 31, 2008 at 6:59 pm
    gorge
  37. January 27, 2009 at 2:39 am
    keirc
  38. February 24, 2009 at 1:57 pm
    Basti
    • February 24, 2009 at 11:28 pm
      Raz
  39. April 27, 2009 at 9:39 am
    BB4L
  40. May 4, 2009 at 6:14 pm
    Oded
  41. May 4, 2009 at 6:17 pm
    Oded
    • June 21, 2009 at 11:12 pm
      Joe
    • July 2, 2009 at 11:45 am
      Cai
    • August 4, 2009 at 4:54 am
      Cai
  42. June 18, 2009 at 11:01 am
    scaner
  43. August 13, 2009 at 3:08 am
    Evan
  44. August 24, 2009 at 12:57 pm
    myname
  45. September 10, 2009 at 2:34 am
    Victor
  46. January 15, 2010 at 7:00 pm
    MArk
  47. February 1, 2010 at 10:17 pm
    Scott
  48. February 5, 2010 at 4:35 pm
    gdfg
  49. May 29, 2010 at 6:21 pm
    hron84
  50. August 26, 2010 at 11:45 am
    dreamgsm

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>