Inspired by Mike Cohen, I’ve written a quick Perl script that continually accesses an HTTP URL. It prints out a period every time it finishes loading a page so you can keep track of your abuse. It can also fork itself a specified number of times to be more efficient on broadband connections.
The script (which I’ve oh-so-originally named hit) really isn’t meant for use in DDoS or anything (use ping -f or something if you’re that 3vil l337), but it’s nice for swaying server logs. I’ve used it for two things so far…
- Giving my friend’s site a few extra hits just to make his day. I used
?hits_for_funafter the URL so as not to cause a 404. - Spiting some spammers, which was the original idea. Added
/LEAVE_US_ALONEto make sure I get into the error log.
Okay, so maybe it’s not one of the most morally upright Perl scripts ever written, but there ‘tis.
This is the first of some creative writing pieces that I hope to gain the confidence to post. With any luck, there will be at least a few more.
This is a story. Erm… please read all the way through.



