Author: J.Yard2 (5 May 07 12:45pm)
Project Honey Pot and especially the addition of http:BL is great. But it is predominantly passive.
I’m tired of playing defense and still having my inbox filled with spam.
I have launched an offensive attack against spam bot harvesters that visit my web site, feeding them hoards of randomly generated bogus email addresses to poison and diminish the value of their databases by infesting them with bogus email addresses. In the past 5 days I have distributed more than 330,000 such poison email addresses to potential spam bot harvesters.
My honey pot links go to an html file which does a server side include of the honey pot php and then also includes the following spam bot poison php script to deliver a hoard of bogus email addresses (poison) along with the honey pot. Also http:BL is utilized to insure known bots always get sent the honey pot and poison.
- Be on the offensive, fight fire with fire.
- They want email address, that's what I'll give them.
- Diminish the value of their databases by infesting them with hoards of bogus email addresses (poison).
<?php
// Valid Characters
$string = "abcdefghijklmnopqrstuvwxyz";
// Valid TLD's (Top Level Domains)
$a=array("com"=>"1","net"=>"2","org"=>"3","edu"=>"4");
// Random (min, max) Number of Addresses to Create
$j = mt_rand(2000, 4000);
for ($i = 1; $i <= $j; $i += 1) {
// Seed Random Number Generator
mt_srand((double)microtime()*1000000);
// Shuffle it up
$shuffle = str_shuffle($string);
// Get 5 to 10 random characters from the shuffled string
$RANDOM_NAME = substr($shuffle, 0, mt_rand(5, 10));
// Get 3 to 12 random characters from the shuffled string
$RANDOM_DOMAIN = substr($shuffle, 14, mt_rand(3, 12));
// Get random TLD
$TLD = array_rand($a,1);
print "<a href=mailto:" . $RANDOM_NAME . "@" . $RANDOM_DOMAIN . "." . $TLD . ">" . $RANDOM_NAME . "</a>";
/*
// This section optional.
// Filler between addresses.
$l = mt_rand(1, 9);
for ($k = 1; $k <= $l; $k += 1) {
$RANDOM_STRING = substr($shuffle, mt_rand(0, 18), mt_rand(3, 12));
print " " . $RANDOM_STRING;
}
/**/
print "<br>\n";
}
// Count number of addresses handed out
$CounterName = "Poison";
$root = "/data/www/<doman_name>.org/www.<domain_name>.org";
// Increment the counter
$filename = $root . "/access_logger/count.logg";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
fclose($handle);
$pair = split("\r\n", $contents);
$contents = "";
foreach ($pair as &$pairs) {
list($value, $name) = split("\t", $pairs);
if (strcmp($name, $CounterName) == 0) {
settype($value, "integer");
// $value++;
$value = $value + $j;
$hits = $value;
}
if (strlen($name) > 0) {
$contents = $contents . $value . "\t" . $name . "\r\n";
}
}
$handle = fopen($filename, "w");
fwrite($handle, $contents);
fclose($handle);
?>
Post Edited (5 May 07 1:04pm)
|