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

Cloaking redirect with referer

Discussion in 'Cloaking and Content Generators' started by someguy, Nov 24, 2008.

Tags:
  1. someguy

    someguy Registered Member

    Joined:
    Sep 17, 2008
    Messages:
    75
    Likes Received:
    35
    Hey everyone,

    if you want to hide your traffic source, you could use a double meta redirect. But I have to show a referer while hiding the traffic source. So I need a redirect, which does the following:

    1. Traffic source: Yahoo! Sponsored Search (overture.com)
    2. Redirect to: www.mysite.com/redirect.php
    3. Redirect to: www.affiliatesite.com/affid=123

    There referer shown at the affiliatesite should be 2. www.mysite.com/redirect.php


    Redirect with php header():
    Code:
    <?php header(?Location:http://www.www.affiliatesite.com/affid=123?);?>
    This will not work because the source will still be shown in the referer.


    Meta-Refresh in HTML Head
    Code:
    <html>
    <head>
    <meta http-equiv=?refresh? content=?0;url=http://www.affiliatesite.com/affid=123?>
    </head>
    Won't work because FF and IE show blank referer


    Javascript method 1 - window.location.href
    Code:
    <script language=Javascript>
    window.location.href=?[url]http://www.affiliatesite.com/affid=123?;[/url]
    </script>
    </html>
    IE shows blank page, works with FF


    Javascript method 2 - form.submit
    Code:
    <body onload=?javascript:frmClickTracking.submit();?>
    <form action=?[url]http://www.affiliatesite.com/affid=123?[/url] method=?post? name=?frmClickTracking?>
    </form>
    Works! But this is a very unusual way of hiding your traffic source, is there a better way?

    The best would be a script only redirecting when getting the traffic from a specified Domain, otherwise showing the content of the page without redirecting. Whats methods do you use?
     
  2. someguy

    someguy Registered Member

    Joined:
    Sep 17, 2008
    Messages:
    75
    Likes Received:
    35
  3. drkenneth

    drkenneth Executive VIP

    Joined:
    Nov 13, 2008
    Messages:
    285
    Likes Received:
    176
    Occupation:
    Developer/Entrepreneur
    Location:
    USA
  4. superman

    superman BANNED BANNED

    Joined:
    Dec 10, 2006
    Messages:
    418
    Likes Received:
    43
    Well just use topgen tool for best results while it does not exactly do this it works well for redirection.
     
    Last edited: Nov 25, 2008
  5. drkenneth

    drkenneth Executive VIP

    Joined:
    Nov 13, 2008
    Messages:
    285
    Likes Received:
    176
    Occupation:
    Developer/Entrepreneur
    Location:
    USA
    Or you can take the free route and make your own stuff ;)
    Hands on experience making stuff is the best way to grasp and come up with more advanced methods.