1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[GET] PHP Dof0llow Nof0llow Analyzer.

Discussion in 'Black Hat SEO Tools' started by wkrappen91, Apr 22, 2011.

  1. wkrappen91

    wkrappen91 Power Member

    Joined:
    Sep 9, 2010
    Messages:
    588
    Likes Received:
    720
    Location:
    127.0.0.1
    PHP:
    <?php
    set_time_limit 
    );
    if (isset(
    $_POST['comment']))
    {
    $dof[]=0;
        
    $com=explode("\n",$_POST['comment']);
        foreach (
    $com as $site)
        {
            
    $html=file_get_contents($site);
            
    preg_match_all("/<a href(.+?)>/",$html,$matches);
            
    $links=$matches[0];
            
    $nof=0;
            foreach (
    $links as $link)
            {
                if (
    strpos($link"nofollow") > 0)
                {
                    
    $nof++;
                }
            }
            echo 
    $site."   ";
            echo 
    "<font color=red>".$nof."</font>";
            echo 
    "/";
            echo 
    "<font color=green>".count($links)."</font>";
            echo 
    "<br>";
            if (
    count($links)!=0){
            if (
    $nof/count($links)<$_POST['perc']/100){
            
    $dof[].=$site;
            }
            }
        }
        
        echo 
    '<textarea cols="100" rows="5" name="comment">';
        for (
    $x=1;$x<count($dof);$x++)
        {
        echo 
    $dof[$x];
        }
        echo 
    '</textarea>';
    }

    else
    {


    ?>
    Show me the URLs out of this list <br>
    <form method="POST"> 
    <textarea cols="40" rows="5" name="comment"></textarea><br>
    Having less than<br>
    <input type="text" name="perc" size="4">% links with a 'nofollow' tag <br>
    <input type="submit">
    </form>
    <?php
    }
    ?>
    Pretty self explainatory...
    save as .php -> Upload to webserver.
    Enter URLs,
    enter tollerance in % (For example 10% means if a site as 9 Nof0llow links out of 100 total, it still counts as a dof0llow)
    hit submit.
    Get a new list containing DoF0llow URLs

    It might output some messy Warnings, but in the end at the bottom you will have a textfield with the DoF0llow URLs..
     
    • Thanks Thanks x 3
    Last edited: Apr 22, 2011
  2. GreenGoblin

    GreenGoblin BANNED BANNED

    Joined:
    Jul 17, 2008
    Messages:
    1,493
    Likes Received:
    2,564
    Thanks for this bro
     
    Last edited: Apr 23, 2011
  3. rrryyy

    rrryyy Newbie

    Joined:
    Apr 19, 2011
    Messages:
    7
    Likes Received:
    3
    thank you for your php code
     
  4. Sinatra

    Sinatra Junior Member

    Joined:
    Feb 28, 2011
    Messages:
    128
    Likes Received:
    30
    Location:
    Canada
    Hey wkrappen, excellent share. Thanks given.
     
  5. TheMatrix

    TheMatrix BANNED BANNED

    Joined:
    Dec 20, 2008
    Messages:
    3,444
    Likes Received:
    7,279
    Could you please explain "tollerance"??
     
  6. wkrappen91

    wkrappen91 Power Member

    Joined:
    Sep 9, 2010
    Messages:
    588
    Likes Received:
    720
    Location:
    127.0.0.1
    Tollerance:
    Site has 100 link. 20 of those are n0fo0llow.
    That is 20%.
    If the tollerance is set to 10%, this site will get filtered out.
    If the tollerance is set to anything greater than 20% this site is not filtered out and will be shown in the final list...
     
  7. steeve008

    steeve008 Registered Member

    Joined:
    Apr 24, 2011
    Messages:
    90
    Likes Received:
    0
    I HAVE THE RIGHT TO GIVE 50% DISCOUNTs ON many Blackhat seo tools

    dontstealmymoney.co.cc