HowTo: Cloak AND Fake your Referrer

kblessinggr

PedoBeard
Sep 15, 2008
5,723
80
0
G.R., Michigan
www.kbeezie.com
I just posted an article on Kbeezie.com on how to cloak (ie: show a whitehat domain instead of your original blackhat domain during a redirect), and fake (flat out use a fake referrer to a destination) a referrer.

Cloaking and Faking the Referrer KBeezie

The cloaking method can be used on actual traffic since its client-sided.
The faking method is strictly PHP+cURL.

I tested the cloak in Internet Explorer (7 and 8), Safari 4, and FireFox 3, and they all report the whitehat domain instead of the blackhat during the redirection test. There is a demo link at the bottom of the first page.
 
  • Like
Reactions: DBWebDev


Thanks, +rep. Loved the way you commented the code, think I might actually understand half of it now.
 
Relying on cookies AND javascript sounds very risky.

Doing something illicit in the first place sounds risky. Besides not like you could do it purely meta refresh only, since only Safari would work that way but not IE/FF.

In other words... there's one method, if you know a better way to do it clientside on a browser without using javascript or cookies (and without using sessions to avoid performance hit), then feel free to share it.