/dev/random

Reality has a liberal bias

/dev/random random header image

Attacking the Spammer Business Model

November 17th, 2003 · 1 Comment · Fun Stuff

[Slashdot]

Inspired by this story, I wrote a little script which I named spamslam:

#!/bin/sh
for ((i=0;i<$1;++i));
    do echo curl -s $2 ; curl -s $2 >/dev/null;
done

When I get a piece of spam, I find the URL of their web site and append some nasty message to it and then run this script to repeatedly issue that request, which will leave a nasty little message in their server logs.

Tags:

1 response so far ↓

  • 1 Capra hircus // Nov 18, 2003 at 8:34 pm

    Multi-purpose abuse for Perl
    Inspired by Mike Cohen, I’ve written a quick Perl script that continually accesses an HTTP URL…