Rename the Register.php File

Shared by
Published
Genre
Web Security

External source

pligg.com External website

You are viewing the Vahuk Story page. The link above opens the shared source website.

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.

Community reactions

Karma 171.5

1 reactions

Start the discussion

Discussion

0 comments

No comments yet. Be the first to join the discussion.

Leave a Reply

Your email will not be published.