Story details

One trick that spammers use to mass post to Pligg sites is by creating a lot of accounts. What is annoying is that there isn’t much that we can do to block these account creations if we can’t discover a pattern to them. Your best option to prevent these bot accounts is to rename the register.php file to something random. You can even go one step further, and frequently keep renaming the registration file which really would throw a curve ball and make life more difficult for spammers.



This afternoon I wrote a simple script that will do just that. In roughly 150 lines of code, here is a PHP script that will randomly rename your registration file. What you want to do is save this as a .php file and upload it to the root of your Pligg web directory.

Submit a Comment

Log in to comment or register here