<?php $at = "@"; $site[0] = "fakesite"; $site[1] = "shamsite"; $site[2] = "blahblahsite"; $site[3] = "bogussite"; $site[4] = "postichesite"; $site[5] = "uselesssite"; $endofsite[0] = "000"; $endofsite[1] = "123"; $endofsite[2] = "132"; $endofsite[3] = "213"; $endofsite[4] = "321"; $endofsite[5] = "312"; $suffix[0] = ".com"; $suffix[1] = ".net"; $suffix[2] = ".org"; $suffix[3] = ".ca"; $suffix[4] = ".co.uk"; $suffix[5] = ".cc"; $suffix[6] = ".biz"; $suffix[7] = ".info"; srand((double)microtime()*1000000); for($x=1;$x<=10000;$x++) { $randsuf = rand(0,7); $randsite = rand(0,5); $randsite2 = rand(0,5); $address = rand(0,100); $address = md5($address); $tempaddy = $address . $at . $site[$randsite] . $endofsite[$randsite2] . $suffix[$randsuf]; $charlength = strlen($tempaddy); echo "<b>" . $x . ":</b> "; echo "<a href=\"mailto:$tempaddy\">$tempaddy</a>"; echo " <b>This email address is $charlength characters long.</b><br /><br />\n"; } ?>
This generates 10,000 fake email addresses for the spam bots to have a bit of fun with. Let's all have some fun with the blinking spam bots shall we?
Spam bots can have fun too!
Yes, and it'll load your server and hog your bandwidth too! In fact, if I was a spammer and wanted to turn the tables, I'd just hit the page every second and watch your services come to a grinding halt!
Spam bots can have fun too!
well, you'd have to refresh about 4100 times before I start getting concerned. So, if you think I wouldn't notice you attempting such a thing, you can think again. I'd just ban your I.P., and then disable the link. Server up to speed, and you'd be gone. No more harrassment spammer.
I know there are some spam poisons out there, but I thought it'd be neat if I made one myself. Not much of a poisoner I know, but it'd still bog down their databases.
Spam bots can have fun too!
nix - yes you would notice such a load - that's my point. And I know all about 'route add -host IPADDRESS reject' and such like as I too have my own *nix servers, but this assumes that you happen to be watching your server at the time and not be fast asleep during the night. As for refreshing 4,100 times (which you've obviously calculated theoretically), there's no point getting into an argument about this because I don't know what equipment you're running and I have not tested the script, but all of my experience in such matters suggests that it would take a lot less script calls than that to start effecting your services. Anyway; my point is that such a script would be a drain of the operator's resources and no matter what you say, could cause problems for the person running it if they are not in control of their server. As you have posted it for all to see, I just wanted to warn people, that's all.