0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 1229 Просмотров
*

tegos134

  • Осваиваюсь на форуме
  • 46
  • 0 / 0
Вирус js.redirector.304
« : 24.08.2016, 21:36:03 »
В этом файле есть редиректор. ГДЕ он? я не найду никак. Подскажите.

Код
<?php
/**
* @version   $Id: index.php 5237 2012-11-16 18:00:51Z arifin $
* @author    RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
*
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );

// load and inititialize gantry class
require_once('lib/gantry/gantry.php');
$gantry->init();

function isBrowserCapable(){
global $gantry;

$browser = $gantry->browser;

// ie.
if ($browser->name == 'ie' && $browser->version < 8) return false;

return true;
}
// get the current preset
$gpreset = str_replace(' ','',strtolower($gantry->get('name')));

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
<head>
<?php
$gantry->displayHead();
$gantry->addStyles(array('template.css'));

if ($gantry->browser->platform != 'iphone')
$gantry->addInlineScript('window.addEvent("domready", function(){ if (typeof SmoothScroll != "undefined") new SmoothScroll(); else new Fx.SmoothScroll(); });');

if ($gantry->get('loadtransition') && isBrowserCapable()){
$gantry->addScript('load-transition.js');
$hidden = ' class="rt-hidden"';
} else {
$hidden = '';
}

?>
</head>
<body <?php echo $gantry->displayBodyTag(); ?>>
<div class="header-info">
<div class="header-adress">г. Москва, ул. Советская, д. 9</div>
<div class="header-phone">+7495*******</div>
</div>
<div id="rt-headerblock">
<?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
<div id="rt-drawer">
<div class="rt-container">
<?php echo $gantry->displayModules('drawer','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Drawer **/ endif; ?>
<?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
<div id="rt-top" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('top','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Top **/ endif; ?>
<?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
<div id="rt-header">
<div class="rt-container">
<?php echo $gantry->displayModules('header','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Header **/ endif; ?>
<?php /** Begin Navigation **/ if ($gantry->countModules('navigation')) : ?>
<div id="rt-navigation">
<div class="rt-container">
<?php echo $gantry->displayModules('navigation','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Navigation **/ endif; ?>
</div>
<?php /** Begin Sub Navigation **/ if ($gantry->countModules('subnavigation')) : ?>
<div id="rt-subnavigation">
<div class="rt-container">
<?php echo $gantry->displayModules('subnavigation','standard','menu'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Sub Navigation **/ endif; ?>
<div id="rt-transition"<?php echo $hidden; ?>>
<?php /** Begin Showcase **/ if ($gantry->countModules('showcase')) : ?>
<div id="rt-showcase">
<div class="rt-container">
<?php echo $gantry->displayModules('showcase','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Showcase **/ endif; ?>
<?php /** Begin Feature **/ if ($gantry->countModules('feature')) : ?>
<div id="rt-feature" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('feature','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Feature **/ endif; ?>
<?php /** Begin Utility **/ if ($gantry->countModules('utility')) : ?>
<div id="rt-utility" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('utility','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Utility **/ endif; ?>
<?php /** Begin Main Top **/ if ($gantry->countModules('maintop')) : ?>
<div id="rt-maintop" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('maintop','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Main Top **/ endif; ?>
<?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
<div id="rt-breadcrumbs">
<div class="rt-container">
<?php echo $gantry->displayModules('breadcrumb','basic','breadcrumbs'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Breadcrumbs **/ endif; ?>
<?php /** Begin Main Body **/ ?>
    <?php echo $gantry->displayMainbody('mainbody','sidebar','standard','standard','standard','standard','standard'); ?>
<?php /** End Main Body **/ ?>
<?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
<div id="rt-mainbottom" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Main Bottom **/ endif; ?>
<?php /** Begin Extension **/ if ($gantry->countModules('extension')) : ?>
<div id="rt-extension" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('extension','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Extension **/ endif; ?>
</div>
<?php /** Begin Bottom **/ if ($gantry->countModules('bottom')) : ?>
<div id="rt-bottom" class="block-module">
<div class="rt-container">
<?php echo $gantry->displayModules('bottom','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Bottom **/ endif; ?>
<?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
<div id="rt-footer">
<div class="rt-container">
<?php echo $gantry->displayModules('footer','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Footer **/ endif; ?>
<?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
<div id="rt-copyright">
<div class="rt-container">
<?php echo $gantry->displayModules('copyright','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Copyright **/ endif; ?>
<?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
<div id="rt-debug">
<div class="rt-container">
<?php echo $gantry->displayModules('debug','standard','standard'); ?>
<div class="clear"></div>
</div>
</div>
<?php /** End Debug **/ endif; ?>
<?php /** Begin Popups **/
echo $gantry->displayModules('popup','popup','popup');
echo $gantry->displayModules('login','login','popup');
/** End Popup s**/ ?>
<?php /** Begin Analytics **/ if ($gantry->countModules('analytics')) : ?>
<?php echo $gantry->displayModules('analytics','basic','basic'); ?>
<?php /** End Analytics **/ endif; ?>
</body>
</html>
<?php
$gantry->finalize();

?>


Вирус нашел доктор веб на бекапах.
*

beliyadm

  • Легенда
  • 9758
  • 1664 / 66
  • Севастополь, Россия
Re: Вирус js.redirector.304
« Ответ #1 : 24.08.2016, 22:18:17 »
Вирусняк может встраиваться через инклюд файлы, через ехо разные функции.
Конкретно в этом коде вроде ничего страшного нет, видимо он тянет дрянь через подключаемые файлы\функции
Все истины, которые я хочу вам изложить, — бесстыдная ложь. Сделать всё хорошо
TLG: @Beliyadm
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Взломали сайт, что делает код?

Автор Леон

Ответов: 11
Просмотров: 1778
Последний ответ 01.12.2016, 11:58:25
от wishlight
В Head появляется скрипт

Автор Zegeberg

Ответов: 3
Просмотров: 1172
Последний ответ 23.06.2016, 16:07:19
от Zegeberg
Проблемы с правами после смены хостинга

Автор Леон

Ответов: 2
Просмотров: 1207
Последний ответ 10.05.2016, 11:39:36
от Леон
Появляются новые пользователи "Super User" с логи

Автор crcp_kz

Ответов: 9
Просмотров: 2586
Последний ответ 25.04.2016, 11:54:06
от FitMe
Re: Два проникновения на сайт с обновленной Joomla

Автор Agard

Ответов: 9
Просмотров: 1130
Последний ответ 08.03.2016, 10:58:38
от winstrool