dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Fake referrer script ?

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    16

    Fake referrer script ?

    Hello does any one know or have any script that can fake referrer ,

    for example im redirecting traffic from example.com to rogger.com but i want to referrer to show as facebook.com on rogger.com ,


    If any one know any script that fake referrer for certain browser only like internet explorer it will also work for me

  2. #2
    Join Date
    Mar 2010
    Posts
    672
    First off i'd wonder why you'd want to do such a thing. Secondly, the header is set by the user agent (usually considered the browser). Which means that if you want to alter the referrer, you'll have to have your site acting as a proxy, as php would then be the user agent. However, that may or may not work with what you're trying to do.

    Note: The referrer header can also be altered by something in the way of the network chain, like a firewall, however that isn't useful in this case but thought i'd mention it.
    Note: If this is just for personal use you can simply look at some of the browser addons out there and do it on a browser by browser basis.
    Last edited by Jarrod1937; 12-15-2010 at 02:33 PM.

  3. #3
    Join Date
    Oct 2010
    Posts
    16

    re

    do u know any php code that can do this ....
    Quote Originally Posted by Jarrod1937 View Post
    First off i'd wonder why you'd want to do such a thing. Secondly, the header is set by the user agent (usually considered the browser). Which means that if you want to alter the referrer, you'll have to have your site acting as a proxy, as php would then be the user agent. However, that may or may not work with what you're trying to do.

    Note: The referrer header can also be altered by something in the way of the network chain, like a firewall, however that isn't useful in this case but thought i'd mention it.
    Note: If this is just for personal use you can simply look at some of the browser addons out there and do it on a browser by browser basis.

  4. #4
    Join Date
    Mar 2010
    Posts
    672
    Quote Originally Posted by instant View Post
    do u know any php code that can do this ....
    To do what? Act as a proxy?

  5. #5
    Join Date
    Jul 2010
    Location
    /ramdisk/
    Posts
    865
    It's entirely up to the client what the referer will be. It's easily forged when scraping data or just browsing.

    If the referring site was using SSL most (probably all A grade) browsers will scrub the referer.

    There are ways with xss, or acting as a proxy and doing a simple mitm attack (not as simple if the site they land on is using SSL but still workable). But these methods may be illegal depending on where you live.

    Sounds like you're trying to cheat SEO/google analytics or something.

  6. #6
    Join Date
    Oct 2010
    Posts
    16
    hmm i want to fake referrer for cpa sites ,
    i have source from which i get no referrer traffic , is there any way to make it custom [fake] referrer traffic ?
    Quote Originally Posted by eval(BadCode) View Post
    It's entirely up to the client what the referer will be. It's easily forged when scraping data or just browsing.

    If the referring site was using SSL most (probably all A grade) browsers will scrub the referer.

    There are ways with xss, or acting as a proxy and doing a simple mitm attack (not as simple if the site they land on is using SSL but still workable). But these methods may be illegal depending on where you live.

    Sounds like you're trying to cheat SEO/google analytics or something.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles