ref script

aceofweb

Newbie
Joined
Nov 26, 2014
Messages
2
Reaction score
0
hi folks i need a script to simulate ref from user, that coming to my site ? anyone can help me?
 
What site are you talking about, we need to know the site in order to make the bot
 
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 -
 
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:
 
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
 
Back
Top