Waxy.org
Waxy.org is the sandbox of Andy Baio, a writer and tech entrepreneur in Portland, OR. I work with Expert Labs, helped build Kickstarter, founded Upcoming, made an album, and other stuff too.

Contact Me: Email, AOL IM, or follow me on Twitter.

Spambots and Dynamic E-mail Addresses

Posted Apr 16, 2002

Phil just came up with a clever variation of Andre's spambot-defeating e-mail trick. On his old site, Andre dynamically displayed the current date as his contact e-mail address (a la 04162002@example.com), and wrote a procmail script to weed out e-mails sent to addresses older than a week.

Instead, use SSI and environment variables to include the client's IP address in the e-mail address. So, <!--#echo var="REMOTE_ADDR" -->@example.com becomes 38.107.179.211@example.com. Now that you have the spambot's IP address, do something creative with it.

8 Comments (Add Yours)

Apr 19, 2002
8:45 PM  
Phil wrote:

I think what I'd do is use a procmail script that does a dns lookup on the IP in question, and forwards a copy of the spam to root, abuse, webmaster, and postmaster @ both the ip address in question and the host/isp/etc determined during the lookup. I imagine most would be ignored, but if the generated email was well worded, maybe 1 in 100 would nab someone and get their account suspended/removed, and that would be good enough for me :)


Apr 19, 2002
11:13 PM  
Andy Baio wrote:

Yeah, but how would you know which incoming e-mails were spam and which were from unsuspecting people who thought you had a bizarre e-mail address?


Apr 22, 2002
8:15 AM  
Phil wrote:

well, if integrated w/ spam assassin, the emails would be passed to the script only if they pass the spam assassin test.


Apr 22, 2002
9:31 AM  
Andy Baio wrote:

So if Spam Assassin flags it as spam, add the IP address in the e-mail address to the ban list. Neat.


May 2, 2002
3:20 PM  
Ben wrote:

This might be of interest, if you've not seen it already: Address Munging.


Oct 21, 2002
1:08 PM  
bk wrote:

Hahaha, did you just pull that IP out of the air? It's mine! lol. I was here looking for the backlinks script and got sidetracked... :P


May 8, 2003
1:28 AM  
J i m s t e r wrote:

string1="my.address"
string2="@mydomain.com"
myemail=string1+string2

Implemented in your fave language. Just as long as the complete string is never quoted in full on the page, then the trawlers never get it.

Whaddevva.


Aug 14, 2003
11:03 AM  
BEN GRANT wrote:

I really want to know I could get use the spambots. It is interesting to know how it works. Just educative.


 
Waxy Links
Ads via The Deck
February 3, 2012
Avería, the average font — preview them all (via)
February 2, 2012
How and why Mark Jaquith became an atheist — gripping personal story of the life-affirming shift from faith to evidence (via)
Where's the Pixel? — find and click on the black pixel; you may need to clean your screen first (via)
ARTINFO on the chilling effect of the Prince v. Cariou copyright ruling — the journalist mentions me and Kind of Bloop
Darkness — a brilliant 24-hour comic by French cartoonist Boulet (via)
January 31, 2012
Nano quadrotors flying in formation — don't miss the figure 8 pattern at the end (via)
Bootstrap 2 released — here's the announcement
Jeff Atwood on the risks of unmoderated communities — left to their own devices, popular online communities get taken over by cheap, easy gags (via)
How and why J.D. Roth sold Get Rich Slowly — interesting tale of a founder selling his site, but unable to share the details for years
Yahoo lays off in-house Flickr support team — from what I hear, it was done with 10 minutes' notice to Flickr management
Mapstalgia — videogame maps drawn from memory
January 30, 2012
Shit Programmers Say — strikingly similar to Shit Rocks Say
Impressions of Corporate Logos by a 5-Year-Old — "a cheetah, a cheetah, a cheetah"
Bellbot — web app that beeps when you get new signups or sales
ScratchML — markup language for recording and replaying turntablism
Why are software development task estimations regularly off by a factor of 2-3? — nice piece of Quora fiction (via)
David Carr on Kickstarter's film funding at Sundance — 10% of the festival was funded on Kickstarter, with two optioned by HBO
Why ten-year attendee Mike Pusateri's skipping SXSW this year — I made the same decision to skip this year; I may regret it, but it just wasn't fun last year
MegaUpload's user data set to be destroyed by Friday — collateral damage in the copyright war
Blogging declines across the Inc. 500 — too bad; Twitter and Facebook aren't a replacement for longer-form communication
January 29, 2012
ChatChat — Terry Cavanagh's multiplayer game about being a cat (via)
January 27, 2012
Identifying Ice Cube's "Good Day" — process of elimination
Milkshake — an open-source WebGL music visualizer based on Milkdrop
January 26, 2012
Typographica's favorite typefaces of 2011 — returning after a two-year break
Pirating the Oscars, 2012 — now with 10 years of data; I'll republish the article here tomorrow
Colbert interviews Maurice Sendak — a national treasure; part two
January 25, 2012
Warby Parker's Annual Report — lovely design (via)
Mario meets Tim from Braid — with cameos from Limbo and Super Meat Boy
Bootstrap 2 ready for testing and feedback — here's the awesome preview, with responsive design, new plugins, and tons of new components
January 24, 2012
Method of Action's color matching game — love the colorblind mode

Andy Baio lives here. Some rights reserved, for your pleasure.