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

Faking Refer and Rotation

Discussion in 'Cloaking and Content Generators' started by namso, Oct 20, 2009.

  1. namso

    namso Registered Member

    Joined:
    Aug 26, 2009
    Messages:
    88
    Likes Received:
    11
    Can someone help me out with faking the refer while implementing rotation.

    So I have a whitehat site and a blackhat site. Not wordpress btw. I want to send my traffic to my blackhat url which fakes the refer as my whitehat site all while sending the traffic to my affiliate links that are on rotation(maybe around 8-10)

    can I get some help with this? thanks
     
  2. badd

    badd Regular Member

    Joined:
    Jan 22, 2008
    Messages:
    360
    Likes Received:
    51
    Occupation:
    Innovator
    Location:
    Earth
    double meta refresh will do the job. it does blank out refferer. i can help u out if u r not sure.
     
  3. noahzark

    noahzark Registered Member

    Joined:
    Aug 8, 2009
    Messages:
    62
    Likes Received:
    43
    Well I was looking to do something similar I found one way using 2 scripts together I am not sure if there are other ways or scripts doing this at one time if your interested in this send me a pm.

    If others are interested in this let me know and I will make a post about this and explain
     
  4. namso

    namso Registered Member

    Joined:
    Aug 26, 2009
    Messages:
    88
    Likes Received:
    11
    well I am looking to fake my refer to my white hat site instead of blanking it, i want to avoid suspicion from my AM
     
  5. sm00th

    sm00th Junior Member

    Joined:
    Aug 9, 2009
    Messages:
    166
    Likes Received:
    12
    i use 2 scripts to do this and another that i bought which, pm for info
     
  6. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,931
    PHP:
    <?php
    // Add this code to the very top of the file that you would like to be the fake referrer and then link to this file like this:
    // http://yoursite.com/file.php?goto=111 (Where 111 = the number below).

    $link[1]="http://linkone.com/";
    $link[2]="http://linktwo.com/";
    // Keep on adding more like the above if you want more than 2.

    // Change the number '2' below to the number of links that you have in the rotator (above)
    $rand rand(1,2);

    // Change the number below to any number you want, affiliate networks may hook onto the 111 so it would be best to change.
    $num "111";

    // Do not edit below
    if (isset($_GET['goto']) && $_GET['goto']==$num){    
        echo 
    "<html><head></head><body><form action=\""."http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."\" method=\"post\" id=\"linkrefer\"><input type=\"hidden\"  name=\"num\" value=\"".$num."\" /></form><script language=\"JavaScript\">document.getElementById(\"linkrefer\").submit();</script></body></html>";
        return 
    true;
        exit();
        }
    if (isset(
    $_POST['num']) && $_POST['num']==$num){    
        echo 
    "<script>window.location.replace(\"$link[$rand]\")</script>)";
        }
    ?>
    Damn I would have felt like a mug if I had paid for 2 minutes work :)
     
    • Thanks Thanks x 2
  7. namso

    namso Registered Member

    Joined:
    Aug 26, 2009
    Messages:
    88
    Likes Received:
    11

    a couple questions if you don't mind. so this code would go onto my blackhat site? where exactly would I put my whitehat site url on there? and would the linkone/linktwo be my affiliate links on rotation? much appreciated.
     
    • Thanks Thanks x 1
  8. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,931
    You would put that code onto your whitehat page that you want to be the fake referrer and yes the links are on random rotation.
     
    • Thanks Thanks x 1
  9. CClark56

    CClark56 Regular Member

    Joined:
    May 25, 2009
    Messages:
    298
    Likes Received:
    128
    Location:
    Indiana
    Anyone happen to know how to make it rotate referring URLs too? Say if I have a content able site, I can input my multiple site based URLs and place the code in the header portion of my site. It will then display different pages as the referrer.

    I did it with the rand function but for some reason it's only rotating the first 2 URLs I input. I think it's the rand function messing with it, because I noticed with the vanilla script points to the first URL in the array more than the second...

    ---

    PHP:
    <?php
    // Add this code to the very top of the file that you would like to be the fake referrer and then link to this file like this:
    // http://yoursite.com/file.php?goto=111 (Where 111 = the number below).

    $link[1]="http://www.whatismyreferrer.com/";
    $link[2]="http://www.whatismyreferrer.com/";

    $reflink[1]="http://www.holyshit.com/2009/10/gates-n-korea-still-threat-to-international-peace-ap/";
    $reflink[2]="http://www.holyshit.com/2009/10/mass-man-accused-of-plot-to-kill-shoppers-troops-ap/";
    $reflink[3]="http://www.holyshit.com/2009/10/congress-moves-to-expand-financial-oversight-ap/";
    $reflink[4]="http://www.holyshit.com/2009/10/key-senators-may-rebuff-obama-on-health-care-ap/";
    $reflink[5]="http://www.holyshit.com/2009/10/army-officer-soldier-killed-in-pakistan-capital-ap/";
    $reflink[6]="http://www.holyshit.com/2009/10/treasury-to-order-bailed-out-firms-to-slash-pay-ap/";
    $reflink[7]="http://www.holyshit.com/2009/10/education-chief-calls-for-teacher-prep-overhaul-ap/";
    $reflink[8]="http://www.holyshit.com/2009/10/video-makers-release-tape-of-philly-acorn-visit-ap/";

    // Keep on adding more like the above if you want more than 2.

    // Change the number '2' below to the number of links that you have in the rotator (above)
    $rand rand(1,2);

    // Change the number below to any number you want, affiliate networks may hook onto the 111 so it would be best to change.
    $num "111";

    // Do not edit below
    if (isset($_GET['goto']) && $_GET['goto']==$num){    
        echo 
    "<html><head></head><body><form action=\"".$reflink[$rand]."\" method=\"post\" id=\"linkrefer\"><input type=\"hidden\"  name=\"num\" value=\"".$num."\" /></form><script language=\"JavaScript\">document.getElementById(\"linkrefer\").submit();</script></body></html>";
        return 
    true;
        exit();
        }
    if (isset(
    $_POST['num']) && $_POST['num']==$num){    
        echo 
    "<script>window.location.replace(\"$link[$rand]\")</script>)";
        }
    ?>
     
    Last edited: Oct 22, 2009
  10. noph34r

    noph34r Regular Member

    Joined:
    Sep 17, 2009
    Messages:
    250
    Likes Received:
    211
    Occupation:
    The Web
    Location:
    The Web
    Home Page:

    You should use the rand function 2 times with different arguments and get a $rand1 and $rand2 variables.
     
  11. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,879
    Likes Received:
    1,931
    You need to change $rand = rand(1,2) to $rand = rand(1,xxx) where xxx is the number of links that you have.

    You are also better off having $rand1 and $rand2 so that you can randomly select an aff link and randomly select a referring URL without having to have the same number of each.
     
  12. loll1

    loll1 Newbie

    Joined:
    Jul 7, 2009
    Messages:
    3
    Likes Received:
    0
    Hi can anyone help me with putting in cpa redirector. I have three blogs but all my clicks are coming from my cookie stuffer, need some help fast, please! i am happy to pay for someone to do this for me.
     
    Last edited: Oct 28, 2009
  13. silntrunin

    silntrunin Registered Member

    Joined:
    Sep 5, 2009
    Messages:
    69
    Likes Received:
    9
    Occupation:
    affiliate marketer
    Home Page:
    There are quite a few threads here on how to set up cpa redirector. Its really quite simple. Read through this thread, should answer any questions you have. http://www.blackhatworld.com/blackhat-seo/cpa/37204-fake-referrer-cpa.html

    PM me if you want help with it. I'll need to know if your using WP and what version of cpa-r you have, to be able to give you exact instructions.
     
    Last edited: Oct 28, 2009