Обучение/Помощь новичкам | Что за подписка
Ребята скачал скрипт http://bym.guru/downloads/view/74463 Всё прописал но при переходе на сайт перекидывает сюда>http://podpiskipro.ru/is3nwp/psmcharge/charge?service_id=2251&opt_id=339541183&template=dailynewsfeedasia_WAP_1&return_url=mds4%2Fpartner%2Fwap_tmp%2Fexit.jsp%3Freturnurl%3Dwap%252F%253Fret%253Dhttp%25253A%25252F%25252Fgoogle.com%25252F%2526puid%253D48594070000021_4940%26serviceid%3Ddailynewsfeedasia%26transactid%3D48594070000021_4940%26sid%3Demcqfrsa&status=new&new_if&context=trid_48594070000021_4940
Ищи редирект в файлах скрипта
Файл head.php или что то на подобии есть в скрипте?
Или index.php там файлов фигова туча
ONTANK[GAME] , вот индекс <?php
@ob_start ();
@ob_implicit_flush ( 0 );
if( !defined( 'E_DEPRECATED' ) ) {
@error_reporting ( E_ALL ^ E_WARNING ^ E_NOTICE );
@ini_set ( 'error_reporting', E_ALL ^ E_WARNING ^ E_NOTICE );
} else {
@error_reporting ( E_ALL ^ E_WARNING ^ E_DEPRECATED ^ E_NOTICE );
@ini_set ( 'error_reporting', E_ALL ^ E_WARNING ^ E_DEPRECATED ^ E_NOTICE );
}
@ini_set ( 'display_errors', true );
@ini_set ( 'html_errors', false );
define ( 'DATALIFEENGINE', true );
define ( 'ROOT_DIR', dirname ( __FILE__ ) );
define ( 'ENGINE_DIR', ROOT_DIR . '/engine' );
require_once ROOT_DIR . '/engine/init.php';
require_once ROOT_DIR.'/engine/forum/sources/modules/show.last.php';
?>
@ob_start ();
@ob_implicit_flush ( 0 );
if( !defined( 'E_DEPRECATED' ) ) {
@error_reporting ( E_ALL ^ E_WARNING ^ E_NOTICE );
@ini_set ( 'error_reporting', E_ALL ^ E_WARNING ^ E_NOTICE );
} else {
@error_reporting ( E_ALL ^ E_WARNING ^ E_DEPRECATED ^ E_NOTICE );
@ini_set ( 'error_reporting', E_ALL ^ E_WARNING ^ E_DEPRECATED ^ E_NOTICE );
}
@ini_set ( 'display_errors', true );
@ini_set ( 'html_errors', false );
define ( 'DATALIFEENGINE', true );
define ( 'ROOT_DIR', dirname ( __FILE__ ) );
define ( 'ENGINE_DIR', ROOT_DIR . '/engine' );
require_once ROOT_DIR . '/engine/init.php';
require_once ROOT_DIR.'/engine/forum/sources/modules/show.last.php';
?>
Ну так а ты смотрел в этих двох файлах?
require_once ROOT_DIR . '/engine/init.php';
require_once ROOT_DIR.'/engine/forum/sources/modules/show.last.php';
require_once ROOT_DIR . '/engine/init.php';
require_once ROOT_DIR.'/engine/forum/sources/modules/show.last.php';
ONTANK[GAME] , Смотрел, ничего не нашел, щас сюда скину
вот два этих файла
У меня нет на теле rar архиватора....
ONTANK[GAME] , <?php
/*
=====================================================
DataLife Engine - by SoftNews Media Group
-----------------------------------------------------
http://dle-news.ru/
-----------------------------------------------------
Copyright (c) 2004,2015 SoftNews Media Group
=====================================================
Данный код защищен авторскими правами
=====================================================
Файл: init.php
-----------------------------------------------------
Назначение: подключение дополнительных модулей
=====================================================
*/
if (! defined ( 'DATALIFEENGINE' )) {
die ( "Hacking attempt!" );
}
@include (ENGINE_DIR . '/data/config.php');
if ( !$config['version_id'] ) {
if ( file_exists(ROOT_DIR . '/install.php') AND !file_exists(ENGINE_DIR . '/data/config.php') ) {
header( "Location: ".str_replace("index.php","install.php",$_SERVER['PHP_SELF']) );
die ( "Datalife Engine not installed. Please run install.php" );
} else {
die ( "Datalife Engine not installed. Please run install.php" );
}
}
date_default_timezone_set ( $config['date_adjust'] );
if ($config['http_home_url'] == "") {
$config['http_home_url'] = explode ( "index.php", $_SERVER['PHP_SELF'] );
$config['http_home_url'] = reset ( $config['http_home_url'] );
$config['http_home_url'] = "http://" . $_SERVER['HTTP_HOST'] . $config['http_home_url'];
}
require_once ENGINE_DIR . '/classes/mysql.php';
require_once ENGINE_DIR . '/data/dbconfig.php';
require_once ENGINE_DIR . '/modules/functions.php';
dle_session();
check_xss ();
$Timer = new microTimer();
$member_id = FALSE;
$is_logged = FALSE;
if( $config['start_site'] == 3 AND $_SERVER['QUERY_STRING'] == "" AND !$_POST['do']) {
$_GET['do'] = "static";
$_REQUEST['do'] = "static";
$_GET['page'] = "main";
$_REQUEST['page'] = "main";
}
$cron = false;
$_TIME = time();
$config['charset'] = strtolower($config['charset']);
$cron_time = get_vars ( "cron" );
if (date ( "Y-m-d", $cron_time ) != date ( "Y-m-d", $_TIME )) $cron = 2;
elseif (($cron_time + (3600 * 2)) < $_TIME) $cron = 1;
if ($cron) include_once ENGINE_DIR . '/modules/cron.php';
if (isset ( $_GET['year'] )) $year = intval ( $_GET['year'] ); else $year = '';
if (isset ( $_GET['month'] )) $month = @$db->safesql ( sprintf("%02d", intval ( $_GET['month'] ) ) ); else $month = '';
if (isset ( $_GET['day'] )) $day = @$db->safesql ( sprintf("%02d", intval ( $_GET['day'] ) ) ); else $day = '';
if (isset ( $_GET['news_name'] )) $news_name = @$db->safesql ( strip_tags ( str_replace ( '/', '', (string)$_GET['news_name'] ) ) ); else $news_name = '';
if (isset ( $_GET['newsid'] )) $newsid = intval ( $_GET['newsid'] ); else $newsid = 0;
if (isset ( $_GET['cstart'] )) $cstart = intval ( $_GET['cstart'] ); else $cstart = 0;
if (isset ( $_GET['news_page'] )) $news_page = intval ( $_GET['news_page'] ); else $news_page = 0;
if ($cstart > 9000000) {
header( "Location: ".str_replace("index.php","",$_SERVER['PHP_SELF']) );
die();
}
if (isset ( $_GET['catalog'] )) {
$catalog = @strip_tags ( str_replace ( '/', '', urldecode ( (string)$_GET['catalog'] ) ) );
if ( $config['charset'] == "windows-1251" AND $config['charset'] != detect_encoding($catalog) ) {
if( function_exists( 'mb_convert_encoding' ) ) {
$catalog = mb_convert_encoding( $catalog, "windows-1251", "UTF-8" );
} elseif( function_exists( 'iconv' ) ) {
$catalog = iconv( "UTF-8", "windows-1251//IGNORE", $catalog );
}
}
$catalog = $db->safesql ( dle_substr ( $catalog, 0, 3, $config['charset'] ) );
} else $catalog = '';
if (isset ( $_GET['user'] )) {
$user = @strip_tags ( str_replace ( '/', '', urldecode ( (string)$_GET['user'] ) ) );
if ( $config['charset'] == "windows-1251" AND $config['charset'] != detect_encoding($user) ) {
if( function_exists( 'mb_convert_encoding' ) ) {
$user = mb_convert_encoding( $user, "windows-1251", "UTF-8" );
} elseif( function_exists( 'iconv' ) ) {
$user = iconv( "UTF-8", "windows-1251//IGNORE", $user );
}
}
$user = $db->safesql ( $user );
if( preg_match( "/[\||\'|\<|\>|\"|\!|\?|\$|\@|\#|\/|\\\|\&\~\*\+]/", $user ) ) $user="";
} else $user = '';
if (isset ( $_GET['category'] )) {
$_GET['category'] = (string)$_GET['category'];
if (substr ( $_GET['category'], - 1, 1 ) == '/') $_GET['category'] = substr ( $_GET['category'], 0, - 1 );
$category = explode ( '/', $_GET['category'] );
$category = end ( $category );
$category = $db->safesql ( strip_tags ( $category ) );
} else $category = '';
$PHP_SELF = $config['http_home_url'] . "index.php";
$pm_alert = "";
$ajax = "";
$allow_comments_ajax = false;
$_DOCUMENT_DATE = false;
$user_query = "";
$static_result = array ();
$is_logged = false;
$member_id = array ();
$related_buffer = false;
$banners = array ();
$banner_in_news = array ();
$js_array = array ();
$replace_links = array ();
$custom_news = false;
$dle_tree_comments = 0;
$attachments = array ();
$view_template = false;
$short_news_cache = false;
$metatags = array (
'title' => $config['home_title'],
'description' => $config['description'],
'keywords' => $config['keywords'],
'header_title' => "" );
//################# Определение групп пользователей
$user_group = get_vars ( "usergroup" );
if (!is_array( $user_group )) {
$user_group = array ();
$db-&g
/*
=====================================================
DataLife Engine - by SoftNews Media Group
-----------------------------------------------------
http://dle-news.ru/
-----------------------------------------------------
Copyright (c) 2004,2015 SoftNews Media Group
=====================================================
Данный код защищен авторскими правами
=====================================================
Файл: init.php
-----------------------------------------------------
Назначение: подключение дополнительных модулей
=====================================================
*/
if (! defined ( 'DATALIFEENGINE' )) {
die ( "Hacking attempt!" );
}
@include (ENGINE_DIR . '/data/config.php');
if ( !$config['version_id'] ) {
if ( file_exists(ROOT_DIR . '/install.php') AND !file_exists(ENGINE_DIR . '/data/config.php') ) {
header( "Location: ".str_replace("index.php","install.php",$_SERVER['PHP_SELF']) );
die ( "Datalife Engine not installed. Please run install.php" );
} else {
die ( "Datalife Engine not installed. Please run install.php" );
}
}
date_default_timezone_set ( $config['date_adjust'] );
if ($config['http_home_url'] == "") {
$config['http_home_url'] = explode ( "index.php", $_SERVER['PHP_SELF'] );
$config['http_home_url'] = reset ( $config['http_home_url'] );
$config['http_home_url'] = "http://" . $_SERVER['HTTP_HOST'] . $config['http_home_url'];
}
require_once ENGINE_DIR . '/classes/mysql.php';
require_once ENGINE_DIR . '/data/dbconfig.php';
require_once ENGINE_DIR . '/modules/functions.php';
dle_session();
check_xss ();
$Timer = new microTimer();
$member_id = FALSE;
$is_logged = FALSE;
if( $config['start_site'] == 3 AND $_SERVER['QUERY_STRING'] == "" AND !$_POST['do']) {
$_GET['do'] = "static";
$_REQUEST['do'] = "static";
$_GET['page'] = "main";
$_REQUEST['page'] = "main";
}
$cron = false;
$_TIME = time();
$config['charset'] = strtolower($config['charset']);
$cron_time = get_vars ( "cron" );
if (date ( "Y-m-d", $cron_time ) != date ( "Y-m-d", $_TIME )) $cron = 2;
elseif (($cron_time + (3600 * 2)) < $_TIME) $cron = 1;
if ($cron) include_once ENGINE_DIR . '/modules/cron.php';
if (isset ( $_GET['year'] )) $year = intval ( $_GET['year'] ); else $year = '';
if (isset ( $_GET['month'] )) $month = @$db->safesql ( sprintf("%02d", intval ( $_GET['month'] ) ) ); else $month = '';
if (isset ( $_GET['day'] )) $day = @$db->safesql ( sprintf("%02d", intval ( $_GET['day'] ) ) ); else $day = '';
if (isset ( $_GET['news_name'] )) $news_name = @$db->safesql ( strip_tags ( str_replace ( '/', '', (string)$_GET['news_name'] ) ) ); else $news_name = '';
if (isset ( $_GET['newsid'] )) $newsid = intval ( $_GET['newsid'] ); else $newsid = 0;
if (isset ( $_GET['cstart'] )) $cstart = intval ( $_GET['cstart'] ); else $cstart = 0;
if (isset ( $_GET['news_page'] )) $news_page = intval ( $_GET['news_page'] ); else $news_page = 0;
if ($cstart > 9000000) {
header( "Location: ".str_replace("index.php","",$_SERVER['PHP_SELF']) );
die();
}
if (isset ( $_GET['catalog'] )) {
$catalog = @strip_tags ( str_replace ( '/', '', urldecode ( (string)$_GET['catalog'] ) ) );
if ( $config['charset'] == "windows-1251" AND $config['charset'] != detect_encoding($catalog) ) {
if( function_exists( 'mb_convert_encoding' ) ) {
$catalog = mb_convert_encoding( $catalog, "windows-1251", "UTF-8" );
} elseif( function_exists( 'iconv' ) ) {
$catalog = iconv( "UTF-8", "windows-1251//IGNORE", $catalog );
}
}
$catalog = $db->safesql ( dle_substr ( $catalog, 0, 3, $config['charset'] ) );
} else $catalog = '';
if (isset ( $_GET['user'] )) {
$user = @strip_tags ( str_replace ( '/', '', urldecode ( (string)$_GET['user'] ) ) );
if ( $config['charset'] == "windows-1251" AND $config['charset'] != detect_encoding($user) ) {
if( function_exists( 'mb_convert_encoding' ) ) {
$user = mb_convert_encoding( $user, "windows-1251", "UTF-8" );
} elseif( function_exists( 'iconv' ) ) {
$user = iconv( "UTF-8", "windows-1251//IGNORE", $user );
}
}
$user = $db->safesql ( $user );
if( preg_match( "/[\||\'|\<|\>|\"|\!|\?|\$|\@|\#|\/|\\\|\&\~\*\+]/", $user ) ) $user="";
} else $user = '';
if (isset ( $_GET['category'] )) {
$_GET['category'] = (string)$_GET['category'];
if (substr ( $_GET['category'], - 1, 1 ) == '/') $_GET['category'] = substr ( $_GET['category'], 0, - 1 );
$category = explode ( '/', $_GET['category'] );
$category = end ( $category );
$category = $db->safesql ( strip_tags ( $category ) );
} else $category = '';
$PHP_SELF = $config['http_home_url'] . "index.php";
$pm_alert = "";
$ajax = "";
$allow_comments_ajax = false;
$_DOCUMENT_DATE = false;
$user_query = "";
$static_result = array ();
$is_logged = false;
$member_id = array ();
$related_buffer = false;
$banners = array ();
$banner_in_news = array ();
$js_array = array ();
$replace_links = array ();
$custom_news = false;
$dle_tree_comments = 0;
$attachments = array ();
$view_template = false;
$short_news_cache = false;
$metatags = array (
'title' => $config['home_title'],
'description' => $config['description'],
'keywords' => $config['keywords'],
'header_title' => "" );
//################# Определение групп пользователей
$user_group = get_vars ( "usergroup" );
if (!is_array( $user_group )) {
$user_group = array ();
$db-&g