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

Need PHP coder - spoof referrer and more

Discussion in 'Hire a Freelancer' started by the known, May 20, 2012.

  1. the known

    the known Power Member Premium Member

    Joined:
    Jan 31, 2011
    Messages:
    685
    Likes Received:
    419
    Occupation:
    Internet Marketing
    Location:
    The Netherlands
    Home Page:
    I need a simple php script that I can upload to my website.
    If you enter this then:
    www.mywebsite.com/test.php?url=www.google.com&referrer=www.blabla.com
    It should navigate to www.google.com, but the referrer should be www.blabla.com.

    So if I sniff a packet with wireshark for example, it should say: referrer: www.blabla.com
    So the script should navigate to www.google.com in this example.

    Also, I want the script to take the "fake referrer" from a txt file hosted on the server as well.
    So there will be a txt file called 'urls.txt' for example, which contains:

    www.google.com
    www.facebook.com
    ...
    etc.

    And it should take a random referrer from there.



    Should't be too hard. Send me a PM (including your skype) if you can do this.
     
  2. bbrez1

    bbrez1 Power Member

    Joined:
    Feb 21, 2009
    Messages:
    675
    Likes Received:
    2,360
    This is not a simple php script this is in fact impossible to do. The referrer is set by your browser, not by any server side.
     
  3. codo3500

    codo3500 Regular Member

    Joined:
    Dec 19, 2010
    Messages:
    335
    Likes Received:
    169
    Not impossible, but you ARE correct. It would need to be independent of a browser, i.e. PHP is useless for this. You'll need to make an actual application for this.
     
  4. artlocke

    artlocke Regular Member

    Joined:
    May 28, 2010
    Messages:
    474
    Likes Received:
    120
    If I'm not mistaken there's someone post that php script here at BHW that works exactly as you describe it. Good thing about it is that it is free.
     
  5. pathart

    pathart Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    845
    Likes Received:
    653
    Location:
    Dublin - Ireland
    Something like this might do the trick.
     
  6. omaigadlol

    omaigadlol Registered Member

    Joined:
    Oct 25, 2008
    Messages:
    65
    Likes Received:
    18
    Have PMd.
     
  7. artlocke

    artlocke Regular Member

    Joined:
    May 28, 2010
    Messages:
    474
    Likes Received:
    120
    This is actually the thread that I'm talking about.
     
  8. the known

    the known Power Member Premium Member

    Joined:
    Jan 31, 2011
    Messages:
    685
    Likes Received:
    419
    Occupation:
    Internet Marketing
    Location:
    The Netherlands
    Home Page:
    I tried that already but it didn't work. I've heard people doing this referrer trick using something else. Anyone knows how-to?