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

Guys, I need help with a script.

Discussion in 'PHP & Perl' started by Chees, Nov 10, 2011.

  1. Chees

    Chees Regular Member

    Joined:
    Apr 16, 2010
    Messages:
    476
    Likes Received:
    151
    Ok thats the script from ghost cpa. it generates the script for an iframe and for fake ref. so u just gotta paste the snippets. and what I need to know is whether it would really spoof the ref and not leak it (i dont wanna get banned you know) So to see that i need to test it somehow and this will be very hard for me b/c i know only basic PHP. so if u could take a look and tell me - do u think this code is reliable and will it spoof the ref properly? http://pastebin.com/gcEzfn40
     
  2. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,880
    Likes Received:
    1,932
    There are possiblilities of the referrer leaking if sending in MASS traffic although you could always add in an additional check to confirm the referrer is the fake ref before passing to the affiliate link.

    Also, the affiliate can detect the referrer with JavaScript using:
    top.window.location;

    So it is worth checking the affiliate page for any scripts / external JS scripts that may be checking for the true referrer.
     
    • Thanks Thanks x 1
  3. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    Yes, that's true but the only LP's that I've seen use top.window.location use it as a framebreaker.
    None of them have it hooked up to a server call via ajax (or external redirect)... So it's highly unlikely that they will be tracking referrer through JS.
     
    • Thanks Thanks x 1