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

Change Referrer to anything - Testing it out

Discussion in 'Making Money' started by hardsoft, Aug 6, 2008.

Thread Status:
Not open for further replies.
  1. hardsoft

    hardsoft Registered Member

    Joined:
    Apr 10, 2008
    Messages:
    53
    Likes Received:
    174
    I have some code that will allow me to change the referrer to anything i want. Ive tested it out and it seems to work. But i dont have any experience in coding or how to make sure it works 100% of the time and what not. The code is in PERL.

    Anyways...

    Click Here To Test

    As you know, the referrer SHOULD be coming from black hat world... but if you look, the referrer is something different to what i changed it to.

    I just need someone that is an experienced coder to check it out, and see if it really does what i think it does.
     
  2. hardsoft

    hardsoft Registered Member

    Joined:
    Apr 10, 2008
    Messages:
    53
    Likes Received:
    174
    also, please post if the test worked or did not work for you.
     
  3. InfoPIP

    InfoPIP Junior Member

    Joined:
    Jan 24, 2008
    Messages:
    118
    Likes Received:
    230
    Home Page:
    Worked for me. Looks like you've hit something good. Be sure to hit me up with a copy of the script. I need it bad!
     
  4. Essential Clix

    Essential Clix Executive VIP Premium Member

    Joined:
    Jul 30, 2007
    Messages:
    1,755
    Likes Received:
    2,791
    Location:
    USA
    I think I have a copy of this script as well ;)
     
  5. roguehat

    roguehat Newbie

    Joined:
    Jun 24, 2008
    Messages:
    45
    Likes Received:
    16
    Yes a few have it due to a membership
     
  6. catspurley

    catspurley Registered Member

    Joined:
    Feb 28, 2008
    Messages:
    56
    Likes Received:
    12
    Location:
    New York
    Worked for me buddy, nice!
     
  7. extra

    extra Jr. VIP Jr. VIP Premium Member

    Joined:
    May 18, 2007
    Messages:
    533
    Likes Received:
    34
    can u post the script??
     
  8. ccpro

    ccpro Junior Member

    Joined:
    Jul 28, 2008
    Messages:
    115
    Likes Received:
    522
    Occupation:
    cookie stuffing
    Location:
    in your cookie bin
    nice, it worked for me

    can you share the script
     
  9. joejoe1234

    joejoe1234 Newbie

    Joined:
    Jan 8, 2008
    Messages:
    32
    Likes Received:
    5
    seems to work but who knows it could be javascript changing the values on the webpage?? send me a copy and I will let you know if it is for real and how good it is.
     
  10. mmwus

    mmwus Registered Member

    Joined:
    Nov 17, 2007
    Messages:
    54
    Likes Received:
    44
    i'd like a copy ... would be better than the referrer script i'm using if it totally change to whatever you want. thanks.
     
  11. bhnoobz

    bhnoobz BANNED BANNED

    Joined:
    Jul 26, 2008
    Messages:
    395
    Likes Received:
    107
    yeah wow, so you proxied a request through your server.. so now all traffic will show up from your server's IP..
     
  12. hardsoft

    hardsoft Registered Member

    Joined:
    Apr 10, 2008
    Messages:
    53
    Likes Received:
    174
    First of all... im not trying to fool anyone here lol. As i said, im not a coder so i dont know if this is the real deal or not. I wanted verification that it works (from someone with experience) before i used it myself.

    Anyways, ive received a few PM's stating that they have the very same "script" as me (it was posted in a private membership forum) and that i would be an idiot to share it. Im not here to cause drama, i just wanted some help and verification.
     
    • Thanks Thanks x 1
  13. goawayplease

    goawayplease Regular Member

    Joined:
    Apr 10, 2008
    Messages:
    299
    Likes Received:
    67
    It's not hard for a server side application to change the Referrer as this is an environmental variable available to the server, and thus to all server side code. In the case of PHP it's as easy as tossing:

    PHP:
    header("Referrer: myspoofedheader.com");
    into your script. This doesn't mean that using this, and then applying a PHP Redirect header is going to feed your spoofed referrer to the target site.

    The problem with spoofing the referrer that a foreign environment receives is that this has to be done before reaching the target, or through running malicious code on the target. The major reason being each server environment has access to it's own variables, and outside scripts aren't typically allowed to arbitrarily edit them.
     
    Last edited: Aug 6, 2008
  14. BozoClown

    BozoClown Junior Member

    Joined:
    Jan 4, 2009
    Messages:
    150
    Likes Received:
    106
    Unless you are to carefully and cleverly use this script as some form of middleman, it only fools itself.
     
  15. JohnDoe

    JohnDoe Junior Member

    Joined:
    Dec 28, 2007
    Messages:
    159
    Likes Received:
    21
    I posted some example code that does this in another thread I would read the replies on why this method is not as hot as you think it is :)



    PHP:
    <?php


    // The domain we want to connect to

    $host "www.scanmybrowser.com"

    // Page we want to POST or GET

    $page "index.php";

    // The list of our fake referer urls

    $file "urls.txt";
    $fp file($file);
    srand((double)microtime()*1000000);
    $urls $fp[array_rand($fp)];



    // construct a header for our request still need to add all headers and random user Agents

    $hdrs = array( 'http' => array(

        
    'method' => "GET",



        
    'header'=> "accept-language: en\r\n" 

            
    "Host: $host\r\n" .

            
    "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:x.x.x) Gecko/20041107 Firefox/x.x\r\n" .

            
    "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n" .

            
    "Referer: $urls\r\n" .  // Setting the http-referer

            
    "Content-Type: text/html\r\n" .

            
    "Content-Length: 33\r\n\r\n" .

            
    "Keep-Alive: 300\r\n"

        
    )

    );



    // get the requested page from the server

    // with our header as a request-header



    $context stream_context_create($hdrs);

    $fp fopen("http://" $host "/" $page'r'false$context);

    fpassthru($fp);

    fclose($fp);

    ?>
     
    • Thanks Thanks x 1
    Last edited: Aug 6, 2008
  16. Rambo

    Rambo BANNED BANNED

    Joined:
    Aug 30, 2007
    Messages:
    499
    Likes Received:
    88
    I know what you meant Gen ;)
     
  17. goodfor

    goodfor Newbie

    Joined:
    May 26, 2012
    Messages:
    8
    Likes Received:
    1
    did you ever get to verify if this worked?
     
  18. ziaon

    ziaon Newbie

    Joined:
    Nov 11, 2009
    Messages:
    20
    Likes Received:
    16
    Ya, I second that... I'm curious as I'm working on my own idea for using this type of script?
    I'm a developer and developing such a script, I will post back with my results, findings, and success!
     
  19. zen19

    zen19 Elite Member

    Joined:
    Mar 31, 2009
    Messages:
    1,671
    Likes Received:
    4,052
    Occupation:
    LOL ya right
    Location:
    International Waters
    Dont bump old dead threads. Make new ones, and make sure you make them good.

    If anyone posts a one liner thread following this i'm giving out an infraction. You were warned.
     
Thread Status:
Not open for further replies.