Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jul 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Fighting SPAMs With PHPMySpamFIGHTER

    PHPMYSPAMFIGHTER

    It makes/fills email extractors/spammers' programs with thousands of fake email addresses endlessly dynamically generated by phpMySpamFighter. So even if your site visitors post their email addresses in plain format, spammers will give up searching for correct ones. It may cause Denial-Of-Service attack back to their programs.In fact, it fights not only spammers but also your attackers who use the similar tools to probe your web sites.

    Download it from
    Removed

    Embedded it in your pages like:
    Code:
    <a href="phpMySpamFighter.php"></a>
    Then Spammers' softwares see that link, crawl it and get sucked.

    See its demo video:
    Removed

    PHP Code:
    <?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','Jackson','Bruce','Mayvem','Lee','Jeremy','Iowa','Johnson','Alison','Admin','Manager','Staff','Member','Guest','Jessiaca','Jenick','Oven','Wellson','Oreil','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>
    Last edited by Inigoesdr; 07-05-2008 at 02:50 PM.

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    I removed your download links because one was broken, and the other makes you sign up before you download.

  • Users who have thanked Inigoesdr for this post:

    aungkhant (07-06-2008)

  • #3
    New to the CF scene
    Join Date
    Jul 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile Thank you

    Thank you so much for letting me.
    I thought that ifile.it support permanant hostings.

    I now gotta choose my own server for file hosting.

    Thanks again.

  • #4
    Regular Coder
    Join Date
    Aug 2008
    Location
    Northern Ireland
    Posts
    167
    Thanks
    12
    Thanked 6 Times in 6 Posts
    Would email harvesting bots fall for this?

    I don't want to sound negative, I just would like to know if it is worth my while adding this, because I assume some good bots will follow it also and it could affect how they rank my sites.

  • #5
    New to the CF scene
    Join Date
    Jul 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Google bots won't index if you set html tag as display:none.
    Code:
    <a href="phpMySpamFighter.php" style="display:none"></a>
    Next, you can write

    PHP Code:
    // will stop processing if user agent contains 'bot' string
    if(eregi("bot",$_SERVER["HTTP_USER_AGENT"))
     exit; 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •