[TUT and CODE] How to Fake your Referer, Fake Referer Any Offer, Fake Referrer Script

Hey Daniel thanks for the info...Idk what iam doing wrong but
once i place my link in my browser I get redirected to my WH site. Iam using
a sub domain to handle the redirect..A WP site for my WH.
I place first code in the header for my theme using the editor.

I visit my handler domain and it says "you must provide the referrer"


Do I have to edit anything in the codes..like the orange text in the first code?


my link looks like this http://subdomain.handlerdomain.net/?url=http://www.mycpa.com/subid&referer=http://domainname.net

I also use go daddy for hosting..
 
Last edited:
Hmmmm, GoDaddy hosting....my best advice: RUN!

Lol, only joking, but they ARE pretty awkward to get working correctly.

A few issues could be happening. One would be that you are not constructing your urls correctly, they should be:

http://handlerdomain.com/?url=http://DESTinationLink&referer=http://WHBloglink

Notice how each of the urls needs http:// before it.

Another possible issue is that your host has MOD_Security enabled in Apache, and it's disallowing PHP redirections (this would affect, mainly, the handler domain), so, if this is the case, you need to ask them to either disable MOD_Sec, or to whitelist for PHP redirections.

If you need to get more specific, send me actual handler and whitehat urls in a PM (make sure it's a PM, you do NOT want to post those things "out in the open") and I'll try and take a look when I get a chance.

Hey Daniel thanks for the info...Idk what iam doing wrong but
once i place my link in my browser I get redirected to my WH site. Iam using
a sub domain to handle the redirect..A WP site for my WH.
I place first code in the header for my theme using the editor.

I visit my handler domain and it says "you must provide the referrer"


Do I have to edit anything in the codes..like the orange text in the first code?


my link looks like this http://subdomain.handlerdomain.net/?url=http://www.mycpa.com/subid&referer=http://domainname.net

I also use go daddy for hosting..
 
I contacted go daddy they said I have to diable the mod_security myself. Idk what else to do..I will soon switch hosting but wanted to get it working on here first.
 
I tried to set this up because cpa redirector stopped working for me all of a sudden on WP. I like to have an index.php with several urls that would be chosen randomly and redirect to the blog post redirector links. Now I tried to set up the this script with the new urls to be randomly chosen and redirected to the offer, but it isn't working for me. I also tried to make new subdomains that would redirect through these links and then place the shortened subdomain links into the url rotator php script. It hasn't worked. I have tried an html rotator script and a php rotator script to see if either would work. They didn't.

URL Rotator URL with redirect links chosen at random > offer

Any solutions?
 
Last edited:
I'm curious, Does this also pass javascript referer checking?
To check place the following code in a html page somewhere and point your script at it via your ref faker and see if it echo's the correct referer.

I'm guessing it wont since "document.referrer" is controlled and sent by the browser the user is using...

Code:
<SCRIPT LANGUAGE="JavaScript">     document.write(document.referrer) </SCRIPT>
 
Hey, firstly, this is really awesome. Thanks!

Just a question. When I contextual link to it directly, it works and brings me to the CPA offer.
However, when I try to use another domain to redirect to the long domain (i.e domain Z .com redirect to
Code:
 handler long url [U][/U]
) or using tinyurl etc, it doesn't work. Brings me to my WH page instead.

Any way around it or do I have to link directly to
Code:
 handler long url
.

Sorry, I can't post links yet but hope u guys understand what I mean. Thanks.
 
Forget it. I was trying to redirect in the "fake landing page" page and this probably caused it. Thanks for this wonderful script. :)
 
Last edited:
I tried to set this up because cpa redirector stopped working for me all of a sudden on WP. I like to have an index.php with several urls that would be chosen randomly and redirect to the blog post redirector links. Now I tried to set up the this script with the new urls to be randomly chosen and redirected to the offer, but it isn't working for me. I also tried to make new subdomains that would redirect through these links and then place the shortened subdomain links into the url rotator php script. It hasn't worked. I have tried an html rotator script and a php rotator script to see if either would work. They didn't.

URL Rotator URL with redirect links chosen at random > offer

Any solutions?

No reason why this won't work if you have everything set up correctly.
Shoot me a PM if still stuck.
 
I'm curious, Does this also pass javascript referer checking?
To check place the following code in a html page somewhere and point your script at it via your ref faker and see if it echo's the correct referer.

I'm guessing it wont since "document.referrer" is controlled and sent by the browser the user is using...

Code:
<SCRIPT LANGUAGE="JavaScript">     document.write(document.referrer) </SCRIPT>

The referer is almost always controlled by the browser the user is using...

Why don't you create the html destination page with the code you posted and test yourself - you'll be pleasantly surprised :)
 
The perfect script but loads a little slow. Anyways, to speed it up? :p
 
I joined this late and find that it doesn't work. It appends &referrer= onto the end of the final destination URL with the white hat site address, this results in a 404 not found error. How are you guys all getting around this? Have I missed something?
 
I keep getting
Code:
You must provide a referer
and yes referrer is spelled incorrectly on the page, I need to know what I'm doing wrong?
 
the redirection and referer spoofing part is working for me but, it redirects to:

Code:
http://www.whatismyreferer.com/?ttp%3A%2F%2Fwww.whatismyreferer.com=

instead of http://www.whatismyreferer.com , for example.

what is going on?
 
Last edited:
Is there any example website for your tutorial?

It will make all clear if any..

Thanks
 
The perfect script but loads a little slow. Anyways, to speed it up? :p

The speeds for loading, redirecting, etc are all going to depend on the hosting your using for both the handler and the fake referer sites. Better hosting will perform at better speeds.

I joined this late and find that it doesn't work. It appends &referrer= onto the end of the final destination URL with the white hat site address, this results in a 404 not found error. How are you guys all getting around this? Have I missed something?

This is generally caused by MOD_Security - speak to your host and have them whitelist your domain for PHP redirections.

I keep getting
Code:
You must provide a referer
and yes referrer is spelled incorrectly on the page, I need to know what I'm doing wrong?

You are trying to visit the url without adding the fake referer parameter to the end of it.

the redirection and referer spoofing part is working for me but, it redirects to:

Code:
http://www.whatismyreferer.com/?ttp%3A%2F%2Fwww.whatismyreferer.com=

instead of http://www.whatismyreferer.com , for example.

what is going on?

Check out an update to the code to remove the junk a few posts after the OP.
 
Back
Top