Perl can't save the world (well, maybe...) but it can help stop spammers. I've written a generalized webpage and email faker: Spider Catcher. Simply, the tool generates faked web pages, based on a user defined template, containing peppered bogus emails. The trick is to get the script to link to itself under a different link, trapping a harvesting spider. To be fair to legitimate search engine spiders, the catcher can be modified in the future to respond differently to various user-agents.

It uses Markov chains and a babelizer to generate semi-coherent content from arbitrary input text. The code is downloadable on the page itself.

I can imagine this would make an impact on the spammers' databases if a large number of webmasters implemented this.

I got the idea for it from the IMDB's harvest pages.

Edit: chipmunk 2001-06-18


In reply to Spider-catcher: anti-spam measures for email harvesters by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.