Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO > Cloaking and Content Generators

Cloaking and Content Generators Discuss Cloaking, Doorway pages and Automatic content generators for search engine optimization

Search
 
Do NOT buy anything from MASS PM Messages Asking you to buy IMA Products YOU HAVE BEEN WARNED!! (If you have REFUND IMMEDIATELY)
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-19-2008, 04:13 PM
Newbie
 
Join Date: Nov 2008
Location: USA
Posts: 25
Reputation: 10
kraze98nyc is on a distinguished road
Thanks: 2
Thanked 5 Times in 2 Posts
iTrader: (0)
Default Send Traffic Through Site As Referer

I'd like to send traffic from ads placed on another site. I would like the traffic to appear to come from a static page on my website.

If the visitor clicks link on orig site:

orig site link > my site > my site landing page > aff site (all automatically)

If the visitor goes directly to my site landing page it appears as a static landing page, no auto redirect.

Any thoughts how to do this?

thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Make Money!

  #2 (permalink)  
Old 11-19-2008, 06:26 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

This is definitely possible with some creative PHP coding

This is what will happen:
-User clicks the advertisement on the original site
-The user will land on PAGE1 of your site, which will have a javascript redirect to PAGE2 (javascript redirects yield a referer that equals the page it's on)
-PAGE2 two will check the referer to see where the user came from. If they came from PAGE1, then the page will display another javascript redirect to send them to your affiliate site. (With PAGE2 being the referer.) If they came from anywhere else, the page will display its normal static content.

It is also possible to send the orig ad directly to page two, assuming you know all the places your ad will be displaying. (And so what referer the user will have when they click it.) This depends fully on how the ads work/where they are--but the method I listed with 2 pages should work in any case.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-19-2008, 06:35 PM
swinter84's Avatar
Junior Member
 
Join Date: Nov 2008
Posts: 125
Reputation: 10
swinter84 is on a distinguished road
Thanks: 58
Thanked 35 Times in 16 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Anybody got any scriptage on this? Am very interested...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-19-2008, 06:57 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

I'll put up some sample PHP code in about 4ish hours. (Don't have time atm.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-20-2008, 01:38 AM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

The first page is simple--redirects you to the 2nd page (one that will appear to have content):
HTML Code:
<script language=Javascript>
  window.location.href='content5.php';
</script>
The second page shows content if the referer isn't the 1st page. If it is, then it sends them to the destination. (In this case it's the referer.php script.)
PHP Code:

<?php
//Compare the referer to the page they SHOULD come from
if ( $_SERVER['HTTP_REFERER'] == "http://www.drkenneth.mobi/demos/bouncer5.php" || $_SERVER['HTTP_REFERER'] == "http://drkenneth.mobi/demos/bouncer5.php" )

{
//Bounce the user to the destination  
print <<<END
  <script language=Javascript>
    window.location.href='referer.php';
  </script>
END;
}
else
{
//Act innocent--they didn't come through the bounce!
print <<<END
Hey!<br>
This is an innocent little page!<br>
No scripts or anything!<br>
Just lots of awesome content!<br>
People are just going to click links and buy stuff, cuz we have REAL traffic from HERE!<br>
Just a nice, happy, user friendly referral link to <a href="referer.php">referer.php</a><br>
See, click it! It's what all your viewers are doing!
END;
}
?>
referer.php is the final landing page--ie your affiliate


Here is a demo I'm temporary hosting:
http://www.drkenneth.mobi/demos/bouncer5.php (page 1, i.e. the page you'd link an ad to)
http://www.drkenneth.mobi/demos/content5.php (page 2, if you go right to it it's just innocent content )
http://www.drkenneth.mobi/demos/referer.php (the affiliate--will see page 2 as the referer)

These are safe to look at--do not load any affiliates or anything bad.

BTW: I am currently creating an application to make generating advanced bouncer scripts like this (and MUCH more complicated) quick and easy--so if you have any other ideas/good features for bouncers let me know

Enjoy
+rep/thanks is apprecaited

Last edited by drkenneth; 11-20-2008 at 01:45 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to drkenneth For This Useful Post:
asprind (12-10-2008), bathgate (11-30-2008), GeoffreyF67 (11-20-2008), Gogeta (11-20-2008)
  #6 (permalink)  
Old 11-20-2008, 01:45 AM
Executive VIP
 
Join Date: Apr 2008
Posts: 66
Reputation: 11
GeoffreyF67 is on a distinguished road
Thanks: 119
Thanked 21 Times in 9 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Hmm that's pretty neat. I used .htaccess, auto form submit with javascript and php to create mine.

G-Man
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-20-2008, 06:23 AM
Newbie
 
Join Date: Nov 2008
Location: USA
Posts: 25
Reputation: 10
kraze98nyc is on a distinguished road
Thanks: 2
Thanked 5 Times in 2 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

I'm getting an error on line 6 of the second page...

Parse error: syntax error, unexpected T_SL in xxxxxxxxxxxxx on line 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-20-2008, 06:37 AM
Registered Member
 
Join Date: Nov 2008
Posts: 62
Reputation: 10
dekadent30 is on a distinguished road
Thanks: 4
Thanked 8 Times in 4 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

htaccess do the same as php code, i tried
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-20-2008, 02:32 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Quote:
Originally Posted by kraze98nyc View Post
I'm getting an error on line 6 of the second page...

Parse error: syntax error, unexpected T_SL in xxxxxxxxxxxxx on line 6
Quote:
T_SL is the /T/oken for the /S/hift /L/eft operator (<<).
so "unexpected T_SL" means there is an occurence of << that is
syntactically incorrect. this commonly happens when you use heredoc
syntax ("<<<") and have whitespace before or after the closing
identifier.
see
http://www.php.net/manual/en/languag...guage.types.st
ring.syntax.heredoc for details.
So, make sure the final identifier (the three <<<) does not have any whitespaces before or after it--it's picky.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-20-2008, 04:21 PM
Newbie
 
Join Date: Nov 2008
Location: USA
Posts: 25
Reputation: 10
kraze98nyc is on a distinguished road
Thanks: 2
Thanked 5 Times in 2 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Still not working for me... i fixed the line but your website version isnt working either.... hmmm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 11-20-2008, 06:15 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Hmm... weird. I am hosting that same code on my site and it's working fine. Still the same error?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 11-20-2008, 07:50 PM
Newbie
 
Join Date: Nov 2008
Location: USA
Posts: 25
Reputation: 10
kraze98nyc is on a distinguished road
Thanks: 2
Thanked 5 Times in 2 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Works in firefox, not IE7 for me... anyone else have the same problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Upgrade Today!

  #13 (permalink)  
Old 11-20-2008, 07:54 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Oh so it's an actual webbrowser issue? Does it give an error or just not work?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 11-20-2008, 08:44 PM
Newbie
 
Join Date: Nov 2008
Location: USA
Posts: 25
Reputation: 10
kraze98nyc is on a distinguished road
Thanks: 2
Thanked 5 Times in 2 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

when starting at bouncer5.php, in firefox it works as it should.
In IE it goes until the content5.php and stops there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 11-20-2008, 09:20 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Perhaps you have javascript disabled in IE? (Hence causing the redirect not to work.)
In this case you can just add a normal link saying "Proceed" or something on the redirect page so that people w/o javascript enabled can still get where they're going AND still show that page as the referer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 11-20-2008, 10:06 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

IE7 does not handle javascript redirect referers the same way, so here's a revised version of my script:


The first page is simple--redirects you to the 2nd page (one that will appear to have content):
HTML Code:
 <body onload="javascript:frmTaco.submit();"> 
 <form action="content5.php" method="get" name="frmTaco">
 </form>


The second page shows content if the referer isn't the 1st page. If it is, then it sends them to the destination. (In this case it's the referer.php script.)
PHP Code:

<?php
//Compare the referer to the page they SHOULD come from
if ( $_SERVER['HTTP_REFERER'] == "http://www.drkenneth.mobi/demos/bouncer5.php" || $_SERVER['HTTP_REFERER'] == "http://drkenneth.mobi/demos/bouncer5.php" )

{
//Bounce the user to the destination  
print <<<END
 <body onload="javascript:frmTaco.submit();"> 
 <form action="referer.php" method="get" name="frmTaco">
 </form>
END;
}
else
{
//Act innocent--they didn't come through the bounce!
print <<<END
Hey!<br>
This is an innocent little page!<br>
No scripts or anything!<br>
Just lots of awesome content!<br>
People are just going to click links and buy stuff, cuz we have REAL traffic from HERE!<br>
Just a nice, happy, user friendly referral link to <a href="referer.php">referer.php</a><br>
See, click it! It's what all your viewers are doing!
END;
}
?>
Hope that helps anyone who was having any problems in IE7. Enjoy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to drkenneth For This Useful Post:
asprind (12-10-2008)
  #17 (permalink)  
Old 11-26-2008, 09:32 AM
Newbie
 
Join Date: May 2008
Posts: 27
Reputation: 10
marketraise is on a distinguished road
Thanks: 0
Thanked 1 Time in 1 Post
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

thank you for the information this is very good information which help me i to increased our knowledge.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 11-30-2008, 01:26 AM
bvb bvb is offline
Jr. VIP
 
Join Date: Aug 2007
Posts: 182
Reputation: 10
bvb is on a distinguished road
Thanks: 2
Thanked 5 Times in 4 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

does this work? and can the affiliate check source code and see something fishy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 11-30-2008, 06:29 PM
drkenneth's Avatar
No, I'm not a doctor.
 
Join Date: Nov 2008
Location: USA
Posts: 186
Reputation: 15
drkenneth is on a distinguished road
Thanks: 5
Thanked 67 Times in 39 Posts
iTrader: (0)
Default Re: Send Traffic Through Site As Referer

Quote:
Originally Posted by bvb View Post
does this work? and can the affiliate check source code and see something fishy
Nope. The decision of what is sent to the user is done serverside. I.E. when the page is visited the normal page will display. There will be NOTHING fishy they will be able to look at. (Including source.) The only way for them to see the page acts as a redirect is if they find the original ad/link somehow and actually go through the bounces.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump






Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65