Black Hat Forum
Go Back   Black Hat Forum > BlackHatWorld Forum > BlackHat Lounge

BlackHat Lounge What’s been on your mind lately? Maybe you've come across a website that made you laugh. Almost anything goes here!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-25-2008, 01:23 AM
Jr. VIP
 
Join Date: Apr 2008
Posts: 607
Thanks: 10
Thanked 102 Times in 61 Posts
Activity: 28%
Longevity: 21%
Today: 1/5
Default anti-spambot code

generates endless fake emails....


<?php
/* ++++++++++++++++++++++++
* | PHPMySpamFIGHTER |
* ++++++++++++++++++++++++
*
* @version: 0.1
* @date: March 2008
* @compatible : php4, php5
* @description: phpMySpamFighter , to make/fill email extractors/spammers programs with thousands of fake email addresses endlessly dynamically generated by phpMySpamFighter
* @credit: same like bfnsoftware.com's anti-spam implementation. but it's not open-source. I did wanna do it since 3/4 years ago. I forgot it.
* @author d0ubl3_h3lix
* @copyright yehg.org 2008
* @license GPL
*
* [Security Notes] Web masters are suggested to change this file name to something innocent to be unable to be identified by spammers. eg. emailaddresses.php, contact_lists.php
*
*/
error_reporting(0);

/********* [Func Lib] ************/

function make_email($str)
{
$emailhosts = array('gmail.com','googlemail.com','hotmail.com',' yahoo.com','mail4u.com','mail2love.co.uk','mxmail. net','megamail.com','mail2honey.co.uk');
$rand = mt_rand(0,count($emailhosts)-1);
echo '<a href="mailto:'.cut_str($str).'@'.$emailhosts[$rand].'">'.cut_str($str).'@'.$emailhosts[$rand].'</a><br><br>'."\n";
}

function cut_str($str,$split=20)
{
return substr($str,0,$split);
}
/********* [/Func Lib] ************/
$human_names = array('John','Mary','Jack','Jones','WellSmith','Ja ckson','Bruce','Mayvem','Lee','Jeremy','Iowa','Joh nson','Alison','Admin','Manager','Staff','Member', 'Guest','Jessiaca','Jenick','Oven','Wellson','Orei l','Hiren','Wellee','Little Boy','Little Girl');
$rand_name = mt_rand(0,count($human_names)-1);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title><?=$human_names[$rand_name]?>'s Contact Email Addresses</title>
</head>

<body>

<?
// use mt_rand(),microtime(), time, md5, sha1,crypt
$pg = isset($_GET['pg'])?(int)htmlentities($_GET['pg']):0;
if ($pg==0)
{
?>

This page is a trap to spammers who collect our visitor emails and send spams and sell ours to third parties for their benefits. The YGN Ethical Hacker Group based in Yangon, Myanmar (<a href="http://yehg.org" target="_blank">http://yehg.org</a>) developed an attack-back mechanism.

<?
}
else
{


for ($i=0;$i<=30;$i++)
{
$mictime = microtime();
$time = time();
$randval = mt_rand();
make_email(md5($randval));
make_email(sha1($randval));
make_email(md5(crypt($randval)));
make_email(sha1(crypt($randval)));

make_email($mictime);
make_email(md5($mictime));
make_email(sha1($mictime));
make_email(md5(crypt($mictime)));
make_email(sha1(crypt($mictime)));

make_email($time);
make_email(md5($time));
make_email(sha1($time));
make_email(md5(crypt($time)));
make_email(sha1(crypt($time)));

}
}
$nextpg = $pg+1;
?>
<a href="<?=$_SERVER['PHP_SELF'].'?pg='.$nextpg?>">Next Page</a>

</body>
</html>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-25-2008, 03:09 AM
BANNED
 
Join Date: Jul 2008
Posts: 705
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 1%
Longevity: 11%
Today: 0/5
Default Re: anti-spambot code

What a stupid program..... So it generates bs email addresses @ popular webmail sites.. Great way to overload an already overloaded system.. lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-25-2008, 02:06 PM
Jr. VIP
 
Join Date: Apr 2008
Posts: 607
Thanks: 10
Thanked 102 Times in 61 Posts
Activity: 28%
Longevity: 21%
Today: 1/5
Default Re: anti-spambot code

unless your server is getting hammered a hundred times a day i doubt it would be a problem. it's a great way to strike back at the spambots.

tsp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-25-2008, 03:19 PM
Registered Member
 
Join Date: Aug 2008
Posts: 53
Thanks: 0
Thanked 1 Time in 1 Post
Activity: 0%
Longevity: 10%
Today: 0/5
Default Re: anti-spambot code

i think it'll harm your server!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54