don’t direct link my images mmmmkay

Posted on December 22nd, 2004 in code by skip

So I’ve noticed somehow my pic of batboy has become popular… aparently i’m the first hit on a google image search. Funny thing is the site isn’t mine, but another site cross-linking my batboy pic. Well, I’m gonna have to put an end to that… (also of note are pics of pig nuts and david hasselhoff with his shirt off)

DISCLAIMER: unless you know what goatse is DO NOT visit these links. it’s nasty.
[14:01] < skp> ha check these sites (goatse avatars instead of intended batboy)
[14:01] < skp> http://tinyurl.com/4cntt
[14:01] < skp> http://tinyurl.com/5blyr
[14:01] < skp> http://tinyurl.com/6cccn
[14:01] < skp> http://tinyurl.com/6mdcc
[14:02] < skp> pwned bitches.

What I’ve done: added something like this to httpd.conf under each virtualhost
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http[s]?://(www\.)?fif3\.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|bmp)$ goatse.jpg [L]

Why I’ve done it:
Linking directly to an image hosted on someone else’s webserver is bad. It causes excessive traffic and logs and is generally rude. So now, instead of that cute little forum avatar of batboy, now you have goatse. enjoy.

spamurl.pl

Posted on December 9th, 2004 in code by skip

In the spirit of the (now dead) makelovenotspam project, i wrote a little perl code to visit and gently spider the urls in any spam tagged email i receive, in an effort to drive up the cost of business for spammers and those who fund them. here’s the file: spamurl.pl, use it at your own risk, though i’ve been running it for a day and haven’t seen any issues. also, my perl is a bit rusty… coments appreciated.