Donnie Darko
Regular Member
- Aug 22, 2007
- 229
- 361
Yeah I don't even know why I didn't test it with a page on my server anyway. Spent like 30 minutes trying to figure out why the heck it was doin' that..
http://handler.com/trakz/?url=http://offerurl.com¶ms=values&referer=http://domianB.com
So I bit the bullet and decided to iframe using the above url structure and host it on handler.com. I just wanted to see if it would load up properly and LOAD UP it did!!!HTML:http://handler.com/trakz/?url=http://offerurl.com¶ms=values&referer=http://domianB.com
My question is does the iframed offer leak traces of the handler.com domain ?
So after trying it on my sites, I noticed that before you're redirected to the offer url the address bar shows the whitehat site. Can this be changed?
If an AM were to check the BH site, and click on the link, it'll show process of redirection right?
Do the faked hits pop out in Google Analytic ?
<a href="www.mysite.com/?url=myAdlink.com&referer=mysafewebsite.com">click me I am an advertisement</a>
<div style="overflow: hidden; width: 251px; height: 117px; position: relative;" id="i_div">
<iframe name="i_frame" src="[COLOR="Red"]http://handler.com/?url=DestUrlIncludingParameters&referer=FakeRefUrl[/COLOR]"
style="border: 0pt none ; left: -857px; top: -31px; position: absolute; width: 1680px; height: 955px;" scrolling="no"></iframe></div>
For an iframed page to "know" which page is iframing it it can use the "top" location property.
This script manipulates the http "referer" property, so I suspect the site you are iframing, IF it's using the correct code, "could" find out it's being framed by your handler.com domain.
I wouldn't be hosting it on handler.com, and I'd iframe a site with code to track iframers, and see what gets reported in my logs on that site, to know what's going on, prior to using what you have posted.
<iframe src="stats.handler.com/?url=:fakeadwebsite.com&referer=download.mysite.com/" width="100%" height="800" frameborder="0"></iframe>
Hey JohnsonDaniel,
I just tested my iframe and confirmed my stats reported back the correct referrer!
My iframe looks like this (removed HTTP)
and fakeadwebsite.com loaded in the iframe. I went and looked at my stats related to fakeadwebsite.com and it came through as download.mysite.comCode:<iframe src="stats.handler.com/?url=:fakeadwebsite.com&referer=download.mysite.com/" width="100%" height="800" frameborder="0"></iframe>
so I do believe as long as the ad network has no knowledge that your "bad" website exists, using the code above "should" prevent them from ever seeing it as the referrer.
Would love some other input on this specifically tied to iframes. Of course, if the ad network has a framebuster enabled, who knows.
As mentioned earlier, the "fakeadwebsite" in my case was one of my wordpress blogs and I get a bunch of ugly junk added to the URL once I land on the page
?ttp%3A%2F%2Fwww.fakeadwebsite.com=
EDIT - saw Daniels post above with the new code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<style>
body{
width:1000px;
margin:0 auto;
}
</style>
<body>
<iframe id='bframe' name='bframe' src='http://www.fatcatrewards.com/uk/bonuscash/?l=50' align="left" style='border: 0pt none ; float:left; width: 500px; height: 649px;' scrolling='no'></iframe>
<iframe id='bframe' name='bframe' src='http://www.fatcatrewards.com/uk/bonuscash/?l=50' align="left" style='border: 0pt none ; float:left; width: 500px; height: 649px;' scrolling='no'></iframe>
</body>
</html
so if my iframe has absolute positions ie the above, how do I go about putting it to the right or the middle of the page ?Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <style> body{ width:1000px; margin:0 auto; } </style> <body> <iframe id='bframe' name='bframe' src='http://www.fatcatrewards.com/uk/bonuscash/?l=50' align="left" style='border: 0pt none ; float:left; width: 500px; height: 649px;' scrolling='no'></iframe> <iframe id='bframe' name='bframe' src='http://www.fatcatrewards.com/uk/bonuscash/?l=50' align="left" style='border: 0pt none ; float:left; width: 500px; height: 649px;' scrolling='no'></iframe> </body> </html
I used Ghostcpa to iframe this.
http://www.something.com/post-page/?
http://www.something.com/post-page/
I really appreciate OP by providing this useful script.
I am already using CPA Redirector 4 and its wonderful, comparing with this script, still I believe CPA 4 is the best, because, I tested this script, it works great in IE, Firefox, but if you check with Chrome ver.12 it shows "?" in the end of the URL.
in Chrome ver. 12 it shows (in the stats, I checked) it shows
in other browsers, it shows,Code:http://www.something.com/post-page/?
Whereas, in CPA 4 it works perfectly as like in other browsers, I accept it won't be a big issue as this script designed for content locker sites, but I am using it for adsense pages.Code:http://www.something.com/post-page/
If people are trying to use this script for adsense sites better double check before implementing this script, as you're using redirection script somehow, G will check that..
One thing I like this script than CPA 4 is, you can set the URLs pretty fast without much work, as in CPA 4, have to setup things for each URLs!
Sweet now all I need to do is learn how/where to put the code in the WP footer.
![]()
http://something.com/?url=someurls.com&referer=fakeurls.com
When testing, which code did you use on the spoofing sites? The code from my OP, or the updated code I posted a few posts further down?
That would make a big difference.
Also, what do you mean by "in Chrome ver .12 it shows..."?
Do you mean that is the referer which shows if your surfers used the Chrome ver .12 browser?
Or that's what you see in the address bar when browsing yourself using Chrome.
There "shouldn't" be any difference in what gets displayed in referer stats regardless of the browsers used by surfers, so I'd like some further info on that if you get a chance.
Thanks!