wordpress注入主题不再工作

时间:2013-08-19 09:04:17

标签: php sql wordpress eval

我有一个使用二十个主题的网站,但最近我有大量的eval注射,现在我不能再访问该网站了。我得到了

/** 
 * Front to the WordPress application. This file doesn't do anything, but loads 
 * wp-blog-header.php which does and tells WordPress to load the theme. * 
 * @package WordPress 
 */ 

/** 
 * Tells WordPress to load the WordPress theme and output it. * 
 * @var bool 
 */ 

define('WP_USE_THEMES', true); 
/** Loads the WordPress Environment and Template */ 
require('./wp-blog-header.php');

您可以在http://wellnesste.com看到它 我已经清理了所有的恶意代码,但仍然是相同的,任何想法?

的index.php

> <?php     
/**

 * The main template file.

 *

 * This is the most generic template file in a WordPress theme

 * and one of the two required files for a theme (the other being style.css).

 * It is used to display a page when nothing more specific matches a query.

 * E.g., it puts together the home page when no home.php file exists.

 * Learn more: http://codex.wordpress.org/Template_Hierarchy

 *

 * @package WordPress

 * @subpackage Twenty_Ten

 * @since Twenty Ten 1.0

 */



get_header(); ?>


    <div id="container">

        <div id="content" role="main">





        <? /* Run the loop to output the posts.

         * If you want to overload this in a child theme then include a file

         * called loop-index.php and that will be used instead.

         */

         get_template_part( 'loop', 'index' );



        </div><!-- #content -->

    </div><!-- #container -->
?>

1 个答案:

答案 0 :(得分:1)

你的index.php文件缺少php包装器:

<?php

//code

?>

或者php没有运行你的服务器。