Forum Moderators: phranque
Most of the spam is coming in on email addresses that are only published on their site, not addresses that they USE for corespondance, like orders@domain.com inquiry@domain.com etc. So how do you stop these rude little email harvesting spiders that ignore your robots.txt? I'm sure I've seen something on it before, but can't remember where. TIA!
Dave
<script language=javascript>
<!--
var visname = "Site Maintenance";
var recip01 = "tech";
var dom02 = "yourdomain.com";
document.write("<a href=" + "mail" + "to:" + recip01 + "@" +
dom02 + ">" +
visname + "</a>")
//-->
</script>
If you have email addresses sprinkled all over the site, you could put this in a js stylesheet and call up email with a function. This would let you change aliases at a central point and have them flow throughout the site... handy if any one email address gets to be a huge problem. Also, in a related note, stay away from "webmaster@" in general. There may be other prefixes ("info@" perhaps) that have a high chance of use so they just a blind spam.
If your hosted on an Apache server this may be exactly what you're looking for...
http://mosa.unity.ncsu.edu/~brabec/antispam.html
http://fantomaster.com/famshield0.html
Nothing uncrackable, but it certainly does work
wonders for all our sites.
<!-- WPOISON WPOISON WPOISON WPOISON WPOISON WPOISON WPOISON WPOISON WPOISON -->
<!-- mailto:@@@@@@@ MailTo:@.@.@.@ @.@ .@. .@.com .@..com
error@invalid@page@exception@hahahaa!!!mailto:: @nospam mailto:@NOSPAM.com nospam@com.com.com
me@nospam.server.nl.com.uk.ca.edu.gov.exe![]()
spammer at dot dot com fakeaddress at dot com dot com dot com dot
com dot com $?®¶??å?¾ø@hotmail.com &&$@blah.n?t
We like it when email harvesters crash![]()
-->
How it works:
1. Many spambots are programmed to ignore files with anti-spam software. Wpoison is a well known one.
2. The other garbage is sure to give a spambot indigestion. It might cause it to crash, or give an error message where the user has to click "OK" before the program continues to run. Often these mail harvesters are left running all day and night, so they would lose many hours "work".
Disadvantages
1. The spambots could be programmed to ignore things in comment tags. But that would require extra processing power. The harvester would run much faster just searching for strings that look like email addresses, so either the spammers are slowed, or won't bother looking for comments.
This idea not invented by me, so don't give me the credit for it. It originally came from a "Counter-Exploitation" web site that disappeared somewhere.
Finally, to get around the "need Javascript to display address" problem above, you can use a small graphic depicting your email address in a <NOSCRIPT> section.
Hope that helps!
Jameslak12
One that I'm familiar with simply followsa every link on a webpage building it's "todo list". Then it parses our any string with a "@" symbol in it. Pretty simple
Once you harvest the emails then you run a program that validates each email address removing the garbage. You can open a connection to the SMTP server of each email address to verify the email address.
Plust the email harvesters comes in on port 80 and makes the requests just like any web browser would..