back to Hackles

Help fight SPAM bots

intro  |  addies  |  spamtricker is a perl script that generates a static HTML page filled with fake email addresses. It is more effective than because you can link to the page it generates instead of to a CGI script. Many email harvesting robots ignore pages that are obviously CGI-generated. The disadvantage of is that you need cron permission on the server to install it correctly.
See an example generated page.
Download spamtricker.


In order to install, you should have permission to run cron on your web host (on a UNIX server). Your web host must be able to run perl as well.
  1. Download and unzip it.

  2. Upload to your web host.

  3. Change the permissions to make the script executable, e.g.:

    chmod 755

  4. Edit the file with a text editor. Change the line:

    my $pageName="/home/httpd/html/";
    so that $pageName points to the name and location of the file you want to generate (make sure you have write permission for that location).

  5. Edit your cron schedule:

    crontab -e
    and add an entry to run at certain intervals. For example:
    0 * * * * /home/users/fred/public_html/
    In this example, is located in /home/users/fred/public_html/. The script will generate a new page of fake email addresses every hour, on the hour.

    If you want to learn more about cron, here is a beginner tutorial.

  6. Link to the generated file from page(s) on your website. You can use this nifty button, if you want:

    spamtricker button

Link to Our Copy

If you don't have perl, cron, or CGI permission on your web server, or if the server is not a UNIX machine, you won't be able to install spamtricker correctly. In that case (or if you just don't feel like installing it), you can link to the generated page on our website here. It updates every hour.

License? is a Public Domain program written by Drake Emko. Modify and/or distribute it however you want. Be my guest.


contact us  |  sign guestbook  |  view guestbook  |  link to us