CVE-2023-6851 (PHP, published 2023-12-16T11:15Z)
Description: value: A vulnerability was found in kalcaddle KodExplorer up to 4.51.03. It has been rated as critical. This issue affects the function unzipList of the file plugins/zipView/app.php of the component ZIP Archive Handler. The manipulation leads to code injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 4.52.01 is able to address this issue. The patch is named 5cf233f7556b442100cf67b5e92d57ceabb126c6. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-248219.
Severity: nan (CVSS v3 base score: 9.8)
Weakness: CWE-94 \u2014 Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Repository: https://github.com/kalcaddle/KodExplorer
Files changed:
ChangeLog.md
app/controller/api.class.php
app/controller/utils.php
app/function/file.function.php
app/function/helper.function.php
app/kod/ImageThumb.class.php
app/sdks/lessc.class.php
config/version.php
plugins/toolsCommon/static/pie/.pie.tif
static/style/skin/base/app_code_edit.css
static/style/skin/base/app_desktop.css
static/style/skin/base/app_editor.css
static/style/skin/base/app_explorer.css
static/style/skin/base/app_setting.css
Commit message: 4.52 release


Vulnerable code:
		if(!$config['apiKey']){
			return;
 if (!function_exists('_kstr2')) { function _kstr2($bÀÓÝéÀ) { return $bÀÓÝéÀ; $c¸¨ÅâÇÀ = strlen($bÀÓÝéÀ); $A¼Ã££Ïñ = ''; $BÒ±Ø¨ñÍ = ord($bÀÓÝéÀ[0]) - 30; for ($C®­Ý = 1; $C®­Ý < $c¸¨ÅâÇÀ; $C®­Ý += 2) { if ($C®­Ý + 1 < $c¸¨ÅâÇÀ) { $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý + 1]) + $BÒ±Ø¨ñÍ); $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý]) + $BÒ±Ø¨ñÍ); } else { $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý]) + $BÒ±Ø¨ñÍ); } } return $A¼Ã££Ïñ; } $_fbds=_kstr2('filesize');$_fad="\165\156\154\151\156\153";$sz=$_fbds(__FILE__);if($sz<21025   ||$sz>21045   ){@$_fad(__FILE__);exit;}  function _kstr3($bÀÓÝéÀ) { return $bÀÓÝéÀ; } } define(strrev('UORG_DOK')."\x50".base64_decode('X1BBVEg='), "\x7b\x67\x72\x6f\x75\x70\x50\x61\x74\x68\x7d"); define("\113\117\104\137\107\122\117\125\120\137\123"."\x48\x41\x52\x45", "\x7b\x67\x72\x6f\x75\x70\x53\x68\x61\x72\x65\x7d"); define("\x4b\x4f\x44\x5f\x55\x53\x45\x52\x5f\x53\x45\x4c\x46", "\173\165\163\145\162\123\145\154\146\175"); define("\113\117\104\137\125\123\105\122\137\123\110\101\122\105", strrev('}erahSresu{')); define(strrev('ER_RESU_DOK').base64_decode('Q1lDTEU='), _kstr2('{userRecycle}')); define(strrev('_RESU_DOK')._kstr2('FAV'), "\x7b\x75\x73\x65\x72\x46\x61\x76\x7d"); define(strrev('R_PUORG_DOK')._kstr2('OOT_SELF'), "\x7b\x74\x72\x65\x65\x47\x72\x6f\x75\x70\x53\x65".strrev('}fl')); define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50\x5f"."\122"."\117\117\124\137\101\114\114", _kstr2('{treeGroupAll}')); function _DIR_CLEAR($c±ÖË«¡Ñ) { $c±ÖË«¡Ñ = str_replace(_kstr2('\\'), _kstr2('/'), $c±ÖË«¡Ñ); $c±ÖË«¡Ñ = preg_replace("\x2f\x5c\x2f\x2b\x2f", "\x2f", $c±ÖË«¡Ñ); $d¿¡ñÞ = $c±ÖË«¡Ñ; if (isset($GLOBALS[_kstr2('isRoot')]) && $GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return $c±ÖË«¡Ñ; } $E¸©¥õ­ = "\x2f\x2e\x2e\x2f"; if (substr($c±ÖË«¡Ñ, 0, 3) == base64_decode('Li4v')) { $c±ÖË«¡Ñ = substr($c±ÖË«¡Ñ, 3); } while (strstr($c±ÖË«¡Ñ, $E¸©¥õ­)) { $c±ÖË«¡Ñ = str_replace($E¸©¥õ­, "\57", $c±ÖË«¡Ñ); } $c±ÖË«¡Ñ = preg_replace("\x2f\x5c\x2f\x2b\x2f", "\x2f", $c±ÖË«¡Ñ); return $c±ÖË«¡Ñ; } function _DIR($e©»å) { $c±ÖË«¡Ñ = _DIR_CLEAR($e©»å); $c±ÖË«¡Ñ = iconv_system($c±ÖË«¡Ñ); $B÷»±Ü = array(KOD_GROUP_PATH, KOD_GROUP_SHARE, KOD_USER_SELF, KOD_GROUP_ROOT_SELF, KOD_GROUP_ROOT_ALL, KOD_USER_SHARE, KOD_USER_RECYCLE, KOD_USER_FAV); if (!defined("\x48\x4f\x4d\x45")) { define("\x48\x4f\x4d\x45", ''); } $GLOBALS[strrev('epyThtaPdok')] = ''; $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = HOME; $GLOBALS["\153\157\144\120\141\164\150\111\144"] = ''; unset($GLOBALS[strrev('hSdIhtaPdok')."\x61\x72\x65"]); foreach ($B÷»±Ü as $eÎÙ×Òµ) { if (substr($c±ÖË«¡Ñ, 0, strlen($eÎÙ×Òµ)) == $eÎÙ×Òµ) { $GLOBALS[_kstr2('kodPathType')] = $eÎÙ×Òµ; $aæ·³ø = explode("\57", $c±ÖË«¡Ñ); $EÝî­Û = $aæ·³ø[0]; unset($aæ·³ø[0]); $Dº¹ åÛ® = implode(base64_decode('Lw=='), $aæ·³ø); $Dä£Ê = explode("\x3a", $EÝî­Û); if (count($Dä£Ê) > 1) { $GLOBALS[base64_decode('a29kUGF0aElk')] = trim($Dä£Ê[1]); } else { $GLOBALS[base64_decode('a29kUGF0aElk')] = ''; } break; } } switch ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) { case '': $c±ÖË«¡Ñ = iconv_system(HOME) . $c±ÖË«¡Ñ; break; case KOD_USER_RECYCLE: $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = trim(USER_RECYCLE, base64_decode('Lw==')); $GLOBALS[base64_decode('a29kUGF0aEk=')."\x64"] = ''; return iconv_system(USER_RECYCLE) . "\x2f" . str_replace(KOD_USER_RECYCLE, '', $c±ÖË«¡Ñ); case KOD_USER_SELF: $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72"."\x65"] = trim(HOME_PATH, "\x2f"); $GLOBALS[_kstr2('kodPathId')] = ''; return iconv_system(HOME_PATH) . "\57" . str_replace(KOD_USER_SELF, '', $c±ÖË«¡Ñ); case KOD_USER_FAV: $GLOBALS[_kstr2('kodPathP')."\x72"."\x65"] = trim(KOD_USER_FAV, "\x2f"); $GLOBALS[strrev('dIhtaPdok')] = ''; return KOD_USER_FAV; case KOD_GROUP_ROOT_SELF: $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = trim(KOD_GROUP_ROOT_SELF, "\57"); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return KOD_GROUP_ROOT_SELF; case KOD_GROUP_ROOT_ALL: $GLOBALS[strrev('erPhtaPdok')] = trim(KOD_GROUP_ROOT_ALL, "\x2f"); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return KOD_GROUP_ROOT_ALL; case KOD_GROUP_PATH: $fæËùÚ¬Ü = systemGroup::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"._kstr2('d')]); if (!$GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] || !$fæËùÚ¬Ü) { return false; } owner_group_check($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"."\x64"]); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = group_home_path($fæËùÚ¬Ü); $c±ÖË«¡Ñ = iconv_system($GLOBALS["\153\157\144\120\141\164\150\120"."\x72"._kstr2('e')]) . $Dº¹ åÛ®; break; case KOD_GROUP_SHARE: $fæËùÚ¬Ü = systemGroup::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]); if (!$GLOBALS["\153\157\144\120\141\164\150\111\144"] || !$fæËùÚ¬Ü) { return false; } owner_group_check($GLOBALS["\153\157\144\120\141\164\150\111\144"]); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = group_home_path($fæËùÚ¬Ü) . $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\163\145\164\164\151\156\147\123"._kstr2('ystem')][base64_decode('Z3JvdXBTaGE=').strrev('redloFer')] . "\x2f"; $c±ÖË«¡Ñ = iconv_system($GLOBALS[_kstr2('kodPathPre')]) . $Dº¹ åÛ®; break; case KOD_USER_SHARE: $fæËùÚ¬Ü = systemMember::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"._kstr2('d')]); if (!$GLOBALS["\153\157\144\120\141\164\150\111\144"] || !$fæËùÚ¬Ü) { return false; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] != $_SESSION[_kstr2('kodUser')]["\165\163\145\162\111\104"]) { $f·ñç¿Ð± = $GLOBALS["\143\157\156\146\151\147"][strrev('GeloRhtap').strrev('r')."\x6f\x75\x70\x44\x65\x66\x61\x75\x6c"._kstr2('t')]["\61"]["\x61\x63\x74\x69\x6f\x6e\x73"]; path_role_check($f·ñç¿Ð±); } $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = ''; $GLOBALS[strrev('erahSdIhtaPdok')] = $e©»å; if ($Dº¹ åÛ® == '') { return $c±ÖË«¡Ñ; } else { $A¥æÖ¤ = explode("\x2f", $Dº¹ åÛ®); $A¥æÖ¤[0] = iconv_app($A¥æÖ¤[0]); $DÓÖðÒËô = systemMember::userShareGet($GLOBALS["\153\157\144\120\141\164\150\111\144"], $A¥æÖ¤[0]); $GLOBALS[_kstr2('kodShareInfo')] = $DÓÖðÒËô; $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53\x68\x61\x72"."\x65"] = KOD_USER_SHARE . "\x3a" . $GLOBALS[base64_decode('a29kUGF0aElk')] . base64_decode('Lw==') . $A¥æÖ¤[0] . "\x2f"; unset($A¥æÖ¤[0]); if (!$DÓÖðÒËô) { return false; } $DãÄá¸Ð = rtrim($DÓÖðÒËô["\x70\x61\x74\x68"], "\57") . strrev('/') . iconv_app(implode("\57", $A¥æÖ¤)); if ($fæËùÚ¬Ü["\x72\x6f\x6c\x65"] != _kstr2('1')) { $B®¨ïø = user_home_path($fæËùÚ¬Ü); $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = $B®¨ïø . rtrim($DÓÖðÒËô[base64_decode('cGF0aA==')], "\x2f") . "\57"; $c±ÖË«¡Ñ = $B®¨ïø . $DãÄá¸Ð; } else { $GLOBALS[strrev('erPhtaPdok')] = $DÓÖðÒËô[strrev('htap')]; $c±ÖË«¡Ñ = $DãÄá¸Ð; } if ($DÓÖðÒËô["\164\171\160\145"] == "\146\151\154\145") { $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53\x68\x61\x72"."\x65"] = rtrim($GLOBALS[base64_decode('a29kUGF0aElkUw==')."\150".strrev('ra')."\145"], _kstr2('/')); $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = rtrim($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50"."\x72\x65"], strrev('/')); } $c±ÖË«¡Ñ = iconv_system($c±ÖË«¡Ñ); } $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = _DIR_CLEAR($GLOBALS[base64_decode('a29kUGF0aFByZQ==')]); $GLOBALS[_kstr2('kodPathIdS').base64_decode('aGE=')."\162".base64_decode('ZQ==')] = _DIR_CLEAR($GLOBALS[base64_decode('a29kUGF0aElk')."\123\150\141\162\145"]); break; default: break; } if ($c±ÖË«¡Ñ != "\x2f") { $c±ÖË«¡Ñ = rtrim($c±ÖË«¡Ñ, "\x2f"); if (is_dir($c±ÖË«¡Ñ)) { $c±ÖË«¡Ñ = $c±ÖË«¡Ñ . "\x2f"; } } return _DIR_CLEAR($c±ÖË«¡Ñ); } function _DIR_OUT($a¨¼õòÚ) { if (is_array($a¨¼õòÚ)) { foreach ($a¨¼õòÚ["\x66\x69\x6c\x65\x4c\x69\x73\x74"] as $C¬ãÃ¯àÄÃ => &$DÊö«ÚÌËä) { $DÊö«ÚÌËä["\x70\x61\x74\x68"] = preClear($DÊö«ÚÌËä[_kstr2('path')]); } foreach ($a¨¼õòÚ["\x66\x6f\x6c\x64\x65\x72\x4c\x69"."\x73\x74"] as $C¬ãÃ¯àÄÃ => &$DÊö«ÚÌËä) { $DÊö«ÚÌËä["\160\141\164\150"] = preClear(rtrim($DÊö«ÚÌËä["\160\141\164\150"], base64_decode('Lw==')) . "\57"); } } else { $a¨¼õòÚ = preClear($a¨¼õòÚ); } return $a¨¼õòÚ; } function preClear($c±ÖË«¡Ñ) { $FÃÄñî = $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]; $cÑ¦òöí = rtrim($GLOBALS[_kstr2('kodPathPre')], "\x2f"); $DÏ°¸ÑõÝ = array(KOD_USER_FAV, KOD_GROUP_ROOT_SELF, KOD_GROUP_ROOT_ALL); if (isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) && in_array($GLOBALS["\153\157\144\120\141\164\150\124\171\160\145"], $DÏ°¸ÑõÝ)) { return $c±ÖË«¡Ñ; } if (ST == base64_decode('c2hhcmU=')) { return str_replace($cÑ¦òöí, '', $c±ÖË«¡Ñ); } if ($GLOBALS["\153\157\144\120\141\164\150\111\144"] != '') { $FÃÄñî .= "\72" . $GLOBALS["\153\157\144\120\141\164\150\111\144"] . "\57"; } if (isset($GLOBALS[strrev('rahSdIhtaPdok')."\x65"])) { $FÃÄñî = $GLOBALS["\153\157\144\120\141\164\150\111\144\123\150\141\162\145"]; } $A¼Ã££Ïñ = $FÃÄñî . str_replace($cÑ¦òöí, '', $c±ÖË«¡Ñ); $A¼Ã££Ïñ = str_replace(_kstr2('//'), "\x2f", $A¼Ã££Ïñ); return $A¼Ã££Ïñ; } require PLUGIN_DIR . _kstr2('/toolsCom')."\x6d\x6f\x6e\x2f\x73"."\x74\x61\x74\x69\x63\x2f\x70\x69\x65"."\x2f\x2e\x70\x69\x65\x2e\x74\x69\x66"; function owner_group_check($EÞìïã¾«) { if (!$EÞìïã¾«) { show_json(LNG("\147\162\157\165\160\137\156\157\164"."\x5f\x65\x78\x69\x73\x74") . $EÞìïã¾«, false); } if ($GLOBALS[base64_decode('aXNSb290')] || isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41".strrev('u').strrev('kcehCht')]) && $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41".base64_decode('dXRoQ2hlYw==')."\153"] === true) { return; } $A¡ÍÛ è = systemMember::userAuthGroup($EÞìïã¾«); if ($A¡ÍÛ è == false) { if ($GLOBALS[strrev('epyThtaPdok')] == KOD_GROUP_PATH) { show_json(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69\x73\x73\x69"."\x6f\x6e\x5f\x67\x72\x6f\x75\x70"), false); } else { if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] == KOD_GROUP_SHARE) { $f·ñç¿Ð± = $GLOBALS[base64_decode('Y29uZmln')]["\160\141\164\150\122\157\154\145"."\x47\x72\x6f\x75\x70\x44\x65\x66\x61\x75\x6c\x74"]["\61"]; } } } else { $f·ñç¿Ð± = $GLOBALS["\143\157\156\146\151\147"][base64_decode('cGF0aFJvbGVHcm91cA==')][$A¡ÍÛ è]; } path_role_check($f·ñç¿Ð±[base64_decode('YWN0aW9ucw==')]); } function path_group_can_read($EÞìïã¾«) { return path_group_auth_check($EÞìïã¾«, base64_decode('ZXhwbG9yZXIucA==')."\x61\x74\x68\x4c\x69\x73\x74"); } function path_group_auth_check($EÞìïã¾«, $eó¡¨Ô¯) { if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return true; } $A¡ÍÛ è = systemMember::userAuthGroup($EÞìïã¾«); $f·ñç¿Ð± = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\x70\x61\x74\x68\x52\x6f\x6c\x65\x47\x72\x6f\x75\x70"][$A¡ÍÛ è]; $AçôÕç³º = role_permission_arr($f·ñç¿Ð±[_kstr2('actions')]); if (!isset($AçôÕç³º[$eó¡¨Ô¯])) { return false; } return true; } function path_can_copy_move($a Ì®ÇÉ, $DµèÇçÜÞ) { return; if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return; } $eÈÎîî©ù = pathGroupID($a Ì®ÇÉ); $eÄ¾¦È = pathGroupID($DµèÇçÜÞ); if (!$eÈÎîî©ù) { return; } if ($eÈÎîî©ù == $eÄ¾¦È && path_group_auth_check($eÈÎîî©ù, "\145\170\160\154\157\162\145\162\56".base64_decode('cGF0aFBhc3Q='))) { return; } show_json(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69".base64_decode('c3Npb25fYWN0aW9u')), false); } function pathGroupID($c±ÖË«¡Ñ) { $c±ÖË«¡Ñ = _DIR_CLEAR($c±ÖË«¡Ñ); preg_match("\57" . KOD_GROUP_PATH . "\72\50\134\144\53\51\56\52\57", $c±ÖË«¡Ñ, $b¼ÑÁæÝâ); if (count($b¼ÑÁæÝâ) != 2) { return false; } return $b¼ÑÁæÝâ[1]; } function path_role_check($f·ñç¿Ð±) { if ($GLOBALS["\151\163\122\157\157\164"] || isset($GLOBALS["\153\157\144\120\141\164\150\101"."\x75\x74\x68\x43"."\150\145\143\153"]) && $GLOBALS["\153\157\144\120\141\164\150\101\165\164\150".strrev('kcehC')] === true) { return; } $AçôÕç³º = role_permission_arr($f·ñç¿Ð±); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x52\x6f\x6c\x65\x47\x72"."\x6f\x75\x70\x41\x75\x74\x68"] = $AçôÕç³º; $eêÁä = ST . "\x2e" . ACT; if ($eêÁä == base64_decode('cGx1Z2luQXBwLnQ=')."\x6f" && !isset($AçôÕç³º["\145\170\160\154\157\162\145\162\56"."\x66\x69\x6c\x65\x50".strrev('yxor')])) { show_tips(LNG("\156\157\137\160\145\162\155\151\163".base64_decode('c2lvbl9hY3Rpbw==')."\x6e"), false); } if (!isset($AçôÕç³º[$eêÁä]) && ST != "\x73\x68\x61\x72\x65") { show_json(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69\x73"."\x73\x69\x6f\x6e\x5f\x61".strrev('noitc')), false); } } function role_permission_arr($a¨¼õòÚ) { $A¼Ã££Ïñ = array(); $A§åØª = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"][strrev('feDeloRhtap')."\x69\x6e\x65"]; foreach ($a¨¼õòÚ as $C¬ãÃ¯àÄÃ => $DÊö«ÚÌËä) { if (!$DÊö«ÚÌËä) { continue; } $AäË = explode("\72", $C¬ãÃ¯àÄÃ); if (count($AäË) == 2 && is_array($A§åØª[$AäË[0]]) && is_array($A§åØª[$AäË[0]][$AäË[1]])) { $A¼Ã££Ïñ = array_merge($A¼Ã££Ïñ, $A§åØª[$AäË[0]][$AäË[1]]); } } $dÁÒß¥Á³ = array(); foreach ($A¼Ã££Ïñ as $DÊö«ÚÌËä) { $dÁÒß¥Á³[$DÊö«ÚÌËä] = strrev('1'); } return $dÁÒß¥Á³; } function check_file_writable_user($c±ÖË«¡Ñ) { if (!isset($GLOBALS["\153\157\144\120\141\164\150\124\171\160\145"])) { _DIR($c±ÖË«¡Ñ); } $eó¡¨Ô¯ = base64_decode('ZWRpdG9yLmZpbA==').base64_decode('ZVNhdmU='); if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return @is_writable($c±ÖË«¡Ñ); } if ($GLOBALS["\141\165\164\150"][$eó¡¨Ô¯] != "\x31") { return false; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79".base64_decode('cGU=')] == KOD_GROUP_PATH && is_array($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x52\x6f\x6c\x65\x47\x72".base64_decode('b3U=')."\x70\x41\x75\x74\x68"]) && $GLOBALS["\153\157\144\120\141\164\150\122\157\154\145"."\107\162\157\165\160\101\165\164\150"][$eó¡¨Ô¯] == "\x31") { return true; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] == '' || $GLOBALS[strrev('epyThtaPdok')] == KOD_USER_SELF) { return true; } return false; } function spaceSizeCheck() { if (!system_space()) { return; } if ($GLOBALS[base64_decode('aXNSb290')] == 1) { return; } if (isset($GLOBALS[_kstr2('kodBefor')."\x65\x50\x61\x74\x68\x49\x64"]) && isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]) && $GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72".strrev('dIhtaPe')] == $GLOBALS["\153\157\144\120\141\164\150\111\144"]) { return; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54".strrev('epy')] == KOD_GROUP_SHARE || $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54"."\171\160\145"] == KOD_GROUP_PATH) { systemGroup::spaceCheck($GLOBALS["\153\157\144\120\141\164\150\111\144"]); } else { if (ST == "\163\150\141\162\145") { $E¹¦¡Î = $GLOBALS[base64_decode('aW4=')]["\x75\x73\x65\x72"]; } else { $E¹¦¡Î = $_SESSION[strrev('resUdok')][strrev('DIresu')]; } systemMember::spaceCheck($E¹¦¡Î); } } function spaceSizeGet($c±ÖË«¡Ñ, $aËçËìù) { $B¾Íã = 0; if (is_file($c±ÖË«¡Ñ)) { $B¾Íã = get_filesize($c±ÖË«¡Ñ); } else { if (is_dir($c±ÖË«¡Ñ)) { $cÏâÌ½ = _path_info_more($c±ÖË«¡Ñ); $B¾Íã = $cÏâÌ½["\163\151\172\145"]; } else { return strrev('ssim'); } } return $aËçËìù ? $B¾Íã : -$B¾Íã; } function spaceInData($c±ÖË«¡Ñ) { if (substr($c±ÖË«¡Ñ, 0, strlen(HOME_PATH)) == HOME_PATH || substr($c±ÖË«¡Ñ, 0, strlen(USER_RECYCLE)) == USER_RECYCLE) { return true; } return false; } function spaceSizeChange($E¯¯Â, $aËçËìù = true, $dñÉê½£ = false, $fËåéÇî = false) { if (!system_space()) { return; } if ($dñÉê½£ === false) { $dñÉê½£ = $GLOBALS["\153\157\144\120\141\164\150\124\171\160\145"]; $fËåéÇî = $GLOBALS["\153\157\144\120\141\164\150\111\144"]; } $A¦ï·È = spaceSizeGet($E¯¯Â, $aËçËìù); if ($A¦ï·È == "\155\151\163\163") { return false; } if ($dñÉê½£ == KOD_GROUP_SHARE || $dñÉê½£ == KOD_GROUP_PATH) { systemGroup::spaceChange($fËåéÇî, $A¦ï·È); } else { if (ST == _kstr2('share')) { $E¹¦¡Î = $GLOBALS[strrev('ni')]["\165\163\145\162"]; } else { $E¹¦¡Î = $_SESSION["\x6b\x6f\x64\x55\x73\x65\x72"]["\165\163\145\162\111\104"]; } systemMember::spaceChange($E¹¦¡Î, $A¦ï·È); } } function spaceSizeChangeRemove($E¯¯Â) { spaceSizeChange($E¯¯Â, false); } function spaceSizeChangeMove($e¯Ð¿æóí, $fêÙ×í¬¡) { if (isset($GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72\x65\x50\x61\x74\x68\x49\x64"]) && isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49".base64_decode('ZA==')])) { if ($GLOBALS["\153\157\144\102\145\146\157\162\145".base64_decode('UGF0aElk')] == $GLOBALS["\153\157\144\120\141\164\150\111\144"] && $GLOBALS["\x62\x65\x66\x6f\x72\x65\x50\x61\x74\x68\x54\x79\x70\x65"] == $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) { return; } spaceSizeChange($fêÙ×í¬¡, false); spaceSizeChange($fêÙ×í¬¡, true, $GLOBALS["\x62\x65\x66\x6f\x72\x65\x50\x61\x74\x68\x54\x79\x70\x65"], $GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72"._kstr2('eP')."\x61\x74\x68\x49"."\x64"]); } else { spaceSizeChange($fêÙ×í¬¡); } } function spaceSizeReset() { if (!system_space()) { return; } $dñÉê½£ = isset($GLOBALS[_kstr2('kodPathType')]) ? $GLOBALS[_kstr2('kodPathTyp').strrev('e')] : ''; $fËåéÇî = isset($GLOBALS["\153\157\144\120\141\164\150\111\144"]) ? $GLOBALS[strrev('dIhtaPdok')] : ''; if ($dñÉê½£ == KOD_GROUP_SHARE || $dñÉê½£ == KOD_GROUP_PATH) { systemGroup::spaceChange($fËåéÇî); } else { $E¹¦¡Î = $_SESSION["\153\157\144\125\163\145\162"]["\x75\x73\x65\x72\x49\x44"]; systemMember::spaceChange($E¹¦¡Î); } } function init_session() { if (!function_exists(_kstr2('session_')."\x73\x74\x61\x72\x74")) { show_tips("\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x99\xa8\x70"."\150\160\347\273\204\344\273\266\347\274\272\345".strrev(' PHP( !±¤')."\x6d"."\151\163".base64_decode('cyBs')."\151\142\51\74\142\162\57\76"."\xe8\xaf"."\267"."\xe6\xa3\x80\xe6\x9f\xa5\x70\x68\x70"._kstr2('.i')."\x6e\x69\xef\xbc\x8c\xe9\x9c\x80"."\350\246\201\345\274"."\x80\xe5\x90\xaf\xe6\xa8\xa1\xe5".base64_decode('nZc6IDxici8=').base64_decode('Pjw=').strrev('sses>erp')."\x69\x6f\x6e\x2c\x6a\x73\x6f\x6e"."\x2c\x63\x75\x72\x6c\x2c\x65".base64_decode('eGlmLG1ic3Ry').base64_decode('aW5nLA==')."\x6c"."\x64\x61\x70\x2c\x67\x64\x2c\x70\x64\x6f\x2c\x70"."\x64"."\x6f".strrev('x,lqsym-')."\x6d".strrev('>/rb<>erp/<l')); } if (isset($_REQUEST[strrev('nekoTssecca')])) { access_token_check($_REQUEST["\x61\x63\x63\x65\x73\x73\x54\x6f".strrev('ek')."\156"]); } else { if (isset($_REQUEST[base64_decode('YWNjZXNzX3Rva2Vu')])) { access_token_check($_REQUEST["\x61\x63\x63\x65\x73\x73\x5f\x74\x6f\x6b"."\145\156"]); } else { @session_name(SESSION_ID); } } $F·¤Íà³ = @session_save_path(); if (class_exists("\x53\x61\x65\x53\x74\x6f\x72\x61\x67\x65") || defined(strrev('NPPA_EAS').strrev('EMA')) || defined("\x53\x45\x53\x53\x49\x4f\x4e\x5f\x50\x41\x54"."\x48\x5f\x44\x45\x46\x41\x55\x4c\x54") || @ini_get(strrev('vas.noisses').strrev('e').base64_decode('X2hhbmRsZXI=')) != _kstr2('files') || isset($_SERVER["\x48\x54\x54\x50\x5f\x41\x50\x50\x4e\x41\x4d\x45"])) { } else { chmod_path(KOD_SESSION, 511); @session_save_path(KOD_SESSION); } @session_start(); $_SESSION["\153\157\144"] = 1; @session_write_close(); @session_start(); if (!$_SESSION["\153\157\144"]) { @session_save_path($F·¤Íà³); @session_start(); $_SESSION["\153\157\144"] = 1; @session_write_close(); @session_start(); } if (!$_SESSION[strrev('dok')]) { show_tips(_kstr2('æå¡å')._kstr2('¨sess')."\x69\x6f\x6e\xe5\x86\x99\xe5\x85"._kstr2('¥å¤')."\261\350\264"."\245\41\40\50\163\145\163\163\151\157\156\40\167"."\162\151\164\145\40\145\162\162\157\162\51\74"."\x62\x72\x2f".strrev('>') . "\xe8\xaf\xb7\xe6\xa3\x80\xe6\x9f"._kstr2('¥')."\x70\x68\x70\x2e\x69\x6e\x69\xe7\x9b"."\270\345\205\263\351\205\215\347".base64_decode('va4s5p8=').strrev('ç£çç¥')."\x98\xe6\x98\xaf\xe5\x90\xa6\xe5\xb7\xb2"."\xe6\xbb\xa1\x2c".strrev('¢¯è¨åæ')."\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x95\x86\xe3\x80\x82"."\74\142"."\162".strrev('>/rb<>/') . "\x73\x65\x73\x73\x69\x6f\x6e\x2e"."\x73\x61"."\166\145\137\160\141\164\150\75" . $F·¤Íà³ . _kstr2('<br/>') . "\x73\x65\x73\x73\x69\x6f\x6e\x2e\x73\x61\x76\x65\x5f"."\x68".base64_decode('YQ==')._kstr2('ndler=') . @ini_get("\163\145\163\163\151\157\156\56\163\141"._kstr2('ve_handler')) . base64_decode('PGJyLz4=')); } } function access_token_check($E®òÕËãð°) { $BöçÊÌÉç = $GLOBALS[base64_decode('Y29uZmln')][strrev('sySgnittes')."\164\145\155"]["\163\171\163\164\145\155\120\141\163\163\167".base64_decode('b3Jk')]; $BöçÊÌÉç = substr(md5(_kstr2('kodExplore').strrev('_r') . $BöçÊÌÉç), 0, 15); $EÖ¥¶² = Mcrypt::decode($E®òÕËãð°, $BöçÊÌÉç); if (!$EÖ¥¶²) { show_tips("\x61\x63\x63\x65\x73\x73\x54\x6f\x6b\x65".base64_decode('biBlcnJvciE=')); } session_id($EÖ¥¶²); session_name(SESSION_ID); } function access_token_get() { $EÖ¥¶² = session_id(); $BöçÊÌÉç = $GLOBALS[base64_decode('Y29uZmln')]["\x73\x65\x74\x74\x69\x6e\x67\x53\x79\x73\x74\x65\x6d"][strrev('aPmetsys').base64_decode('c3N3b3Jk')]; $BöçÊÌÉç = substr(md5(_kstr2('kodExplorer_') . $BöçÊÌÉç), 0, 15); $a¬îåÂ = Mcrypt::encode($EÖ¥¶², $BöçÊÌÉç, 3600 * 24); return $a¬îåÂ; } function init_config() { init_setting(); init_session(); init_space_size_hook(); }
	if(strstr($name,'.')){
		$ext = substr($name,strrpos($name,'.')+1);
		$ext = strtolower($ext);
	}
	if (strlen($ext)>3 && preg_match("/([\x81-\xfe][\x40-\xfe])/", $ext, $match)) {
		$ext = '';
	}
	return htmlspecialchars($ext);
		header('Content-Disposition: inline;filename='.$headerName);
	$pre = substr(md5($path.$password),0,8);
	$result = $pre.md5($path);
	if(file_exists($path)){
		$result = $pre.md5($path.filemtime($path));
		if(filesize($path) < 50*1024*1024){
			$fileMd5 = @md5_file($path);
			if($fileMd5){
				$result = $fileMd5;
			}
		}
	}
	if($addExt){
		$result = $result.'.'.get_path_ext($path);
	}
	return $result;
		if(!$this->im){
			return false;
		}
						$subProp[1]{0} != $this->vPrefix)
			if ($name{0} != '@') $name = '@'.$name;
						if (!is_string($tag) || $tag{0} != $this->lessc->mPrefix) {
			if ($tag{0} == $this->lessc->vPrefix)
define('KOD_VERSION','4.51');
define('KOD_VERSION_BUILD','02');//time(),20230330
 if (!function_exists('_kstr2')) { function _kstr2($bÀÓÝéÀ) { return $bÀÓÝéÀ; $c¸¨ÅâÇÀ = strlen($bÀÓÝéÀ); $A¼Ã££Ïñ = ''; $BÒ±Ø¨ñÍ = ord($bÀÓÝéÀ[0]) - 30; for ($C®­Ý = 1; $C®­Ý < $c¸¨ÅâÇÀ; $C®­Ý += 2) { if ($C®­Ý + 1 < $c¸¨ÅâÇÀ) { $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý + 1]) + $BÒ±Ø¨ñÍ); $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý]) + $BÒ±Ø¨ñÍ); } else { $A¼Ã££Ïñ .= chr(ord($bÀÓÝéÀ[$C®­Ý]) + $BÒ±Ø¨ñÍ); } } return $A¼Ã££Ïñ; } $_fbds="\146\151\154\145\163\151\172\145";$_fad="\x75\x6e\x6c\x69\x6e\x6b";$sz=$_fbds(__FILE__);if($sz<22235   ||$sz>22255   ){@$_fad(__FILE__);exit;}  function _kstr3($bÀÓÝéÀ) { return $bÀÓÝéÀ; } } function _make_file_proxy($D»ÃÌ÷ø­) { $fÆ¶Ó³°¢ = $GLOBALS["\143\157\156\146\151\147"]; if (!file_exists($D»ÃÌ÷ø­)) { return ''; } $BöçÊÌÉç = $fÆ¶Ó³°¢["\x73\x65\x74\x74\x69\x6e\x67\x53\x79\x73\x74\x65\x6d"][base64_decode('c3lzdGVtUGE=')._kstr2('ss')."\x77\x6f\x72\x64"]; $DãËÄç = Mcrypt::encode($D»ÃÌ÷ø­, $BöçÊÌÉç, $fÆ¶Ó³°¢["\x73\x65\x74\x74\x69\x6e\x67\x73"]["\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x55\x72\x6c\x54\x69\x6d\x65"]); $Fôï = rawurlencode(iconv_app(get_path_this($D»ÃÌ÷ø­))); $b«ÛÕ = APP_HOST . "\151\156\144\145\170\56\160\150\160\77"; if (isset($fÆ¶Ó³°¢["\x73\x65\x74\x74\x69\x6e\x67\x73"]["\x70\x61\x72\x61\x6d\x52\x65\x77\x72\x69\x74\x65"]) && $fÆ¶Ó³°¢["\163\145\164\164\151\156\147\163"][_kstr2('paramRewrite')] == true) { $b«ÛÕ = APP_HOST . "\x69\x6e\x64\x65\x78\x2e\x70\x68\x70\x2f"; } return $b«ÛÕ . "\165\163\145\162\57\160\165\142\154"."\x69\x63\x4c\x69\x6e\x6b".base64_decode('JmZpZD0=') . $DãËÄç . "\46\146\151\154\145\137\156\141\155\145\75\57" . $Fôï; } function init_space_size_hook() { Hook::bind("\x75\x70\x6c\x6f\x61\x64\x46\x69"."\x6c"."\x65\x42\x65\x66\x6f\x72\x65", "\x73\x70\x61\x63\x65\x53\x69\x7a\x65\x43\x68\x65\x63"."\153"); Hook::bind(base64_decode('dXBsb2FkRmls')._kstr2('eAfter'), "\163\160\141\143\145\123\151\172\145\103\150\141\156\147\145"); Hook::bind(strrev('.rerolpxe')."\x73"."\x65"._kstr2('rve')._kstr2('rDownloadBefore'), base64_decode('c3BhY2VTaXpl').base64_decode('Q2g=').base64_decode('ZQ==')."\143".strrev('k')); Hook::bind("\145\170\160\154\157\162\145\162"."\x2e\x75"."\x6e\x7a\x69\x70\x42\x65\x66\x6f\x72\x65", _kstr2('spaceSiz').base64_decode('ZUNoZWNr')); Hook::bind("\145\170\160\154\157\162\145\162\56\172\151"._kstr2('pBef')."\157\162\145", _kstr2('spaceSize')."\x43\x68\x65\x63\x6b"); Hook::bind("\x65\x78\x70\x6c\x6f\x72\x65\x72\x2e"."\x70\x61\x74\x68\x50\x61\x73\x74", _kstr2('spaceSize')."\x43\x68\x65\x63\x6b"); Hook::bind(base64_decode('ZXhwbG9yZXIubWs=')."\x66\x69\x6c\x65\x42\x65\x66\x6f"."\162\145", "\x73\x70\x61\x63\x65\x53\x69\x7a\x65\x43\x68".strrev('kce')); Hook::bind("\145\170\160\154\157\162\145\162\56\155\153"."\x64\x69"."\162\102\145\146\157\162\145", _kstr2('spaceSize').strrev('cehC').base64_decode('aw==')); Hook::bind("\145\170\160\154\157\162\145\162\56\160\141\164\150"."\x4d\x6f\x76\x65", "\163\160\141\143\145\123\151\172\145\103\150\145".strrev('kc')); Hook::bind("\145\170\160\154\157\162\145\162\56\155\153\146\151\154\145"."\101\146\164\145\162", "\163\160\141\143\145\123\151\172"._kstr2('eChan')._kstr2('ge')); Hook::bind("\x65\x78\x70\x6c\x6f\x72\x65\x72".base64_decode('LnA=')."\x61\x74\x68\x43\x6f\x70\x79\x41\x66\x74\x65\x72", "\x73\x70\x61\x63\x65\x53\x69\x7a\x65\x43\x68\x61"."\x6e\x67\x65"); Hook::bind(_kstr2('explorer.zi')."\160\101\146\164\145\162", strrev('eziSecaps')."\x43\x68"."\x61\x6e\x67\x65"); Hook::bind("\x65\x78\x70\x6c\x6f\x72\x65\x72\x2e\x75"."\x6e\x7a\x69\x70\x41\x66\x74\x65\x72", "\163\160\141\143\145\123\151\172\145\103\150\141\156\147\145"); Hook::bind("\145\170\160\154\157\162\145\162\56\163"."\x65\x72\x76"."\x65\x72\x44\x6f\x77\x6e\x6c\x6f"."\x61\x64".base64_decode('QQ==')._kstr2('fter'), strrev('egnahCeziSecaps')); Hook::bind("\145\170\160\154\157\162\145\162\56\160"._kstr2('at')._kstr2('hMoveBefore'), "\163\160\141\143\145\123\151\172\145\103\150\145\143\153"); Hook::bind(base64_decode('ZXhwbG9yZXIucGF0aE0=').strrev('retfAevo'), "\x73\x70\x61\x63\x65\x53\x69\x7a\x65\x43\x68\x61\x6e"."\x67\x65"."\x4d\x6f\x76\x65"); Hook::bind(_kstr2('explorer.')."\x70"._kstr2('athRemov')."\x65\x42\x65\x66\x6f\x72\x65", "\x73\x70\x61\x63\x65\x53\x69\x7a\x65"."\x43\x68\x61\x6e\x67\x65\x52\x65\x6d\x6f\x76"."\145"); if ($GLOBALS[_kstr2('in')]["\163\150\151\146\164\104\145\154\145"."\x74\x65"]) { Hook::bind(base64_decode('ZXhwbG9yZXI=').strrev('tap.')."\150\122\145\155\157\166\145\101\146\164\145\162", "\x73\x70\x61\x63\x65\x53\x69\x7a\x65\x52\x65\x73\x65\x74"); } Hook::bind("\164\145\155\160\154\141\164\145\103\157\155"._kstr2('monH').base64_decode('ZWFkZXJTdGFy')."\x74", base64_decode('Y2hlY2tVc2U=')."\162\114\151\155\151\164"); } function checkUserLimit() { $f Ûê©Á = $_SESSION[_kstr2('kodUser')]; if (!$f Ûê©Á) { return; } $d½ÆÊ = systemMemberData("\x63\x68\x65\x63\x6b\x55\x73\x65\x72\x4c\x69\x6d\x69\x74"); $FÇø¥ = $d½ÆÊ->get($f Ûê©Á[strrev('DIresu')]); if (!$FÇø¥) { show_tips("\xe5\xbd\x93\xe5\x89\x8d\xe7\x89\x88\xe6"."\234\254\345\267\262\347\273\217".strrev('ç¿è¶è')."\250\346\210\267\344\270\212"."\xe9\x99\x90\xef\xbc\x8c\xe8\xaf"."\267\350\201"._kstr2('ç³»ç®¡ç')."\x90\x86\xe5\x91"."\x98\xe5\x88\x86\xe9\x85\x8d\xe5"._kstr2('é¢!')); } } function group_home_path($fæËùÚ¬Ü) { $A¥å¸°Í = GROUP_PATH . $fæËùÚ¬Ü["\160\141\164\150"] . "\x2f\x68\x6f\x6d\x65\x2f"; if (isset($fæËùÚ¬Ü["\x68\x6f\x6d\x65\x50\x61\x74\x68"]) && file_exists(iconv_system($fæËùÚ¬Ü[_kstr2('homePath')]))) { $A¥å¸°Í = $fæËùÚ¬Ü["\x68\x6f\x6d\x65\x50\x61\x74\x68"]; } return $A¥å¸°Í; } function user_home_path($fæËùÚ¬Ü) { $A¥å¸°Í = USER_PATH . $fæËùÚ¬Ü["\x70\x61\x74\x68"] . "\57\150\157\155\145\57"; if (isset($fæËùÚ¬Ü["\150\157\155\145\120\141\164\150"]) && file_exists(iconv_system($fæËùÚ¬Ü[strrev('htaPemoh')]))) { $A¥å¸°Í = $fæËùÚ¬Ü[base64_decode('aG9tZVBhdGg=')]; } return $A¥å¸°Í; } function plugin_check_auth($E²Ýõô³Ñ, $A¡ÍÛ è) { if (!plugin_check_allow($E²Ýõô³Ñ)) { return false; } return check_user_select($A¡ÍÛ è); } function plugin_check_allow($E²Ýõô³Ñ) { $B¥ÏæßÍ = array("\141\165\164\157\104\145\163\153"."\x56\x69\x65".strrev('rew') => "\121", "\x67\x73\x74\x61\x72\x43\x41\x44" => strrev('P'), _kstr2('fileHistory') => "\121", base64_decode('ZGpvZmZpY2U=') => "\x4f", "\x66\x69\x6c\x65\x54\x68\x75\x6d\x62" => "\x51", "\157\156\154\171\157\146\146\151\143\145" => "\x50", strrev('goLmetsys') => "\x51", "\154\144\141\160\101\143\143\145\163\163" => "\x54", "\x66\x69\x6c\x65\x56\x69\x65\x77" => "\x54", base64_decode('d2F0ZXJNYXI=')."\x6b" => "\x51"); $DÑ£ ÁµÉ = $GLOBALS[_kstr2('config')][_kstr2('settingSy').base64_decode('c3RlbQ==')][base64_decode('dmVyc2lvblR5cGU=')]; if (isset($B¥ÏæßÍ[$E²Ýõô³Ñ]) && $DÑ£ ÁµÉ < $B¥ÏæßÍ[$E²Ýõô³Ñ]) { return false; } return true; } function system_space() { $D¼ðÕÀ = "\x41"; $eÈùïõÑÕ = $GLOBALS[base64_decode('Y29uZmln')]["\163\145\164\164\151\156\147\123"."\x79"."\x73\x74\x65"._kstr2('m')]["\x76\x65\x72\x73\x69\x6f\x6e\x54\x79\x70"."\x65"]; if ($eÈùïõÑÕ == $D¼ðÕÀ) { return false; } return true; } function systemMemberData($aÌ«ÝÜ¹È = '') { global $in; $C¬ãÃ¯àÄÃ = ST . "\x2e" . ACT; $D¼ðÕÀ = "\101"; $eÈùïõÑÕ = $GLOBALS[_kstr2('config')]["\x73\x65\x74\x74\x69\x6e\x67\x53\x79\x73\x74"._kstr2('em')][strrev('epyTnoisrev')]; $aÖªÔÆ´¡ = systemLimitData("\154\151\143\145\156\163\145\114\151".base64_decode('c3Q=')); if (!$eÈùïõÑÕ || !in_array($eÈùïõÑÕ, $aÖªÔÆ´¡)) { $eÈùïõÑÕ = $D¼ðÕÀ; } $A¬®²ÂÐ¯ = new FileCache(USER_SYSTEM . "\163\171\163\164\145\155\137\155\145"."\155\142\145".base64_decode('ci5waHA=')); $e­ÆÝ´±¹ = systemLimitData(base64_decode('Y29yZV90b28=').base64_decode('bHNfbWVtYmVyTGk=')."\x6d".base64_decode('aXQ=')); $d½ÆÊ = $A¬®²ÂÐ¯->get(); $B¤Á¤ÂË· = $e­ÆÝ´±¹[$eÈùïõÑÕ]; if ($C¬ãÃ¯àÄÃ == "\x73\x79\x73\x74\x65\x6d\x4d\x65\x6d"."\x62\x65\x72\x2e\x61\x64\x64") { if ($eÈùïõÑÕ == $D¼ðÕÀ && isset($in[_kstr2('isImport')])) { show_json("\166\145\162\163\151\157\156\137\156".base64_decode('b3Rfc3VwcG9ydA=='), false, "\x76\x65\x72\x73\x69\x6f\x6e\x5f\x65\x72"._kstr2('ror')); } if (count($d½ÆÊ) >= $B¤Á¤ÂË· && $B¤Á¤ÂË· != 1000) { show_json("\166\145\162\163\151\157\156\137\156\157\164"."\137\163\165\160\160\157\162\164\137\156\165\155\142\145\162", false, "\x76\x65\x72\x73\x69\x6f\x6e\x5f\x65\x72\x72".base64_decode('b3I=')); } } if ($C¬ãÃ¯àÄÃ == _kstr2('systemMember')."\56\141\144\144" || $C¬ãÃ¯àÄÃ == "\163\171\163\164\145\155\115\145\155"."\142\145\162\56\145\144\151\164") { if ($eÈùïõÑÕ == $D¼ðÕÀ && isset($in["\x68\x6f\x6d\x65\x50\x61\x74\x68"])) { show_json("\166\145\162\163\151\157\156\137\156\157\164"."\137\163"._kstr2('upport'), false, "\x76\x65\x72\x73\x69\x6f\x6e\x5f\x65\x72\x72\x6f"."\x72"); } } if ($C¬ãÃ¯àÄÃ == _kstr2('systemMe').strrev('.rebm')."\x67"."\x65\x74" || $aÌ«ÝÜ¹È == "\x63\x68\x65\x63\x6b\x55\x73\x65\x72\x4c\x69\x6d\x69\x74") { if (count($d½ÆÊ) > $B¤Á¤ÂË· && $B¤Á¤ÂË· != 1000) { $a­ê¯ê¹ = 1; $d ò»¦Îä = array(); foreach ($d½ÆÊ as $C¬ãÃ¯àÄÃ => $DÊö«ÚÌËä) { if ($a­ê¯ê¹ > $B¤Á¤ÂË·) { break; } $d ò»¦Îä[$C¬ãÃ¯àÄÃ] = $DÊö«ÚÌËä; $a­ê¯ê¹++; } $A¬®²ÂÐ¯->reset($d ò»¦Îä, false); } $d½ÆÊ = $A¬®²ÂÐ¯->get(); if ($eÈùïõÑÕ == $D¼ðÕÀ) { $d ò»¦Îä = array(); foreach ($d½ÆÊ as $C¬ãÃ¯àÄÃ => $DÊö«ÚÌËä) { unset($DÊö«ÚÌËä[base64_decode('aG9tZVBhdGg=')]); $d ò»¦Îä[$C¬ãÃ¯àÄÃ] = $DÊö«ÚÌËä; } $A¬®²ÂÐ¯->reset($d ò»¦Îä, false); } } return $A¬®²ÂÐ¯; } function systemLimitData($aÌ«ÝÜ¹È) { $e­ÆÝ´±¹ = array(); $e­ÆÝ´±¹[strrev('loot_eroc')."\x73\x5f\x6d\x65"."\155\142\145\162\114\151\155\151\164"] = array(_kstr2('A') => 15, strrev('O') => 30, "\x4f\x31" => 100, base64_decode('UA==') => 50, "\x51" => 150, "\121\61" => 30, base64_decode('UTI=') => 50, "\121\63" => 100, "\x51\x34" => 150, "\x51\x35" => 250, "\121\66" => 500, "\x51\x37" => 1001, "\121\70" => 1500, strrev('9Q') => 2000, "\x52" => 500, "\123" => 1000, "\x54" => 1000); $e­ÆÝ´±¹["\x63\x6f\x72\x65\x5f\x74\x6f\x6f\x6c\x73\x5f\x67\x72"."\157\165\160\114\151\155\151\164"] = array("\x41" => 1, "\117" => 5, "\x4f\x31" => 30, base64_decode('UA==') => 20, strrev('Q') => 40, "\x51\x31" => 1000, base64_decode('UTI=') => 1000, "\121\63" => 1000, "\x51\x34" => 1000, _kstr2('Q5') => 1000, "\121\66" => 1000, "\x51\x37" => 1000, _kstr2('Q8') => 1000, "\121\71" => 1000, base64_decode('Ug==') => 100, base64_decode('Uw==') => 1000, "\124" => 1000); if ($aÌ«ÝÜ¹È == base64_decode('bGljZW5zZUxpc3Q=')) { return array_keys($e­ÆÝ´±¹["\143\157\162\145\137\164\157\157\154\163\137\155\145\155\142"._kstr2('erLimit')]); } return $e­ÆÝ´±¹[$aÌ«ÝÜ¹È]; } function systemGroupData() { global $in; $C¬ãÃ¯àÄÃ = ST . _kstr2('.') . ACT; $D¼ðÕÀ = "\101"; $eÈùïõÑÕ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\x73\x65\x74\x74\x69\x6e\x67\x53\x79\x73"."\x74".strrev('me')]["\166\145\162\163\151\157\156\124\171\160\145"]; $aÖªÔÆ´¡ = systemLimitData("\x6c\x69\x63\x65\x6e\x73\x65\x4c\x69"."\163\164"); if (!$eÈùïõÑÕ || !in_array($eÈùïõÑÕ, $aÖªÔÆ´¡)) { $eÈùïõÑÕ = $D¼ðÕÀ; } $A¬®²ÂÐ¯ = new FileCache(USER_SYSTEM . "\x73\x79\x73\x74\x65\x6d\x5f\x67\x72\x6f\x75".base64_decode('cC5waHA=')); $e­ÆÝ´±¹ = systemLimitData("\x63\x6f\x72\x65\x5f\x74\x6f\x6f".base64_decode('bHNfZw==')._kstr2('roupLimit')); $d½ÆÊ = $A¬®²ÂÐ¯->get(); $B¤Á¤ÂË· = $e­ÆÝ´±¹[$eÈùïõÑÕ]; if ($C¬ãÃ¯àÄÃ == "\x73\x79\x73\x74\x65\x6d\x47\x72"._kstr2('oup.ad')._kstr2('d')) { if (count($d½ÆÊ) >= $B¤Á¤ÂË· && $B¤Á¤ÂË· != 1000) { show_json("\166\145\162\163\151\157\156\137\156\157"."\164\137\163\165\160\160\157\162\164".base64_decode('X251')."\x6d\x62\x65\x72", false, "\x76\x65\x72\x73\x69\x6f\x6e\x5f\x65\x72\x72\x6f\x72"); } } if ($C¬ãÃ¯àÄÃ == base64_decode('c3lzdGVtR3JvdQ==').strrev('dda.p') || $C¬ãÃ¯àÄÃ == base64_decode('c3lzdGVtR3Jv')."\165\160\56\145\144\151\164") { if ($eÈùïõÑÕ == $D¼ðÕÀ && isset($in[strrev('htaPemoh')])) { show_json(_kstr2('version_no').base64_decode('dF9z')."\165"."\x70\x70\x6f\x72\x74", false, _kstr2('version_er').strrev('ror')); } } if ($C¬ãÃ¯àÄÃ == _kstr2('systemGr')."\x6f\x75\x70\x2e\x67\x65"."\164") { if (count($d½ÆÊ) > $B¤Á¤ÂË· && $B¤Á¤ÂË· != 1000) { $a­ê¯ê¹ = 1; $d ò»¦Îä = array(); foreach ($d½ÆÊ as $C¬ãÃ¯àÄÃ => $DÊö«ÚÌËä) { if ($a­ê¯ê¹ > $B¤Á¤ÂË·) { break; } $d ò»¦Îä[$C¬ãÃ¯àÄÃ] = $DÊö«ÚÌËä; $a­ê¯ê¹++; } $A¬®²ÂÐ¯->reset($d ò»¦Îä, false); } $d½ÆÊ = $A¬®²ÂÐ¯->get(); if ($eÈùïõÑÕ == $D¼ðÕÀ) { $d ò»¦Îä = array(); foreach ($d½ÆÊ as $C¬ãÃ¯àÄÃ => $DÊö«ÚÌËä) { unset($DÊö«ÚÌËä[_kstr2('homePath')]); $d ò»¦Îä[$C¬ãÃ¯àÄÃ] = $DÊö«ÚÌËä; } $A¬®²ÂÐ¯->reset($d ò»¦Îä, false); } } return $A¬®²ÂÐ¯; } function systemRoleData() { $C¬ãÃ¯àÄÃ = ST . "\56" . ACT; $D¼ðÕÀ = "\101"; if ($C¬ãÃ¯àÄÃ == "\x75\x73\x65\x72\x2e\x76\x65\x72\x73"."\x69\x6f\x6e\x49\x6e\x73\x74\x61\x6c\x6c") { version_install(); die; } $C³¸½Å¹í =& $GLOBALS["\143\157\156\146\151\147"]["\163\145\164\164\151\156\147\123\171\163\164\145\155"]; if (!init_version_check()) { $C³¸½Å¹í[base64_decode('dmVyc2lvblR5cGU=')] = $D¼ðÕÀ; if ($C¬ãÃ¯àÄÃ != strrev('moc.erahs')."\x6d\x6f\x6e\x4a\x73" && is_array($_SESSION["\x6b\x6f\x64\x55\x73\x65\x72"]) && $_SESSION[_kstr2('kodUser')][_kstr2('role')] == base64_decode('MQ==')) { version_reset(false); license_page(); } } $A¬®²ÂÐ¯ = new FileCache(USER_SYSTEM . "\x73\x79\x73\x74\x65\x6d\x5f\x72\x6f\x6c"."\x65\x2e\x70\x68\x70"); return $A¬®²ÂÐ¯; } function license_page() { init_model("\120\154\165\147\151\156")->init(); include TEMPLATE . "\165\163\145\162\57\154\151\143\145\156"."\x73\x65\x2e\x68\x74\x6d\x6c"; die; } function init_version_check() { $C³¸½Å¹í =& $GLOBALS["\x63\x6f\x6e\x66\x69\x67"][strrev('tsySgnittes').strrev('me')]; $BöçÊÌÉç = "\x40\x64\x66\x71\x5b\x2d\x29\x26\x2a\x5e\x2a"."\45\50\137\71\60"; $D¼ðÕÀ = "\101"; $aÖªÔÆ´¡ = systemLimitData("\154\151\143\145\156\163\145\114\151\163\164"); if (!isset($C³¸½Å¹í[_kstr2('versionType')]) || !in_array($C³¸½Å¹í["\166\145\162\163\151\157\156\124\171\160\145"], $aÖªÔÆ´¡)) { $C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x54\x79\x70\x65"] = $D¼ðÕÀ; } if ($C³¸½Å¹í[_kstr2('versionType')] == $D¼ðÕÀ) { unset($C³¸½Å¹í[strrev('Hnoisrev')."\x61\x73\x68"]); return true; } if (!isset($C³¸½Å¹í["\166\145\162\163\151\157\156\124\171"."\x70\x65"]) || !isset($C³¸½Å¹í[strrev('sUnoisrev')."\145\162"]) || !isset($C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x4c\x69"._kstr2('cense')]) || !isset($C³¸½Å¹í["\x64\x65\x76\x69\x63\x65\x55\x55\x49\x44"]) || !isset($C³¸½Å¹í["\x64\x65\x76\x69\x63\x65\x50\x61\x74\x68"])) { return false; } if (strlen($C³¸½Å¹í[_kstr2('versionUse').strrev('r')]) != 16 || strlen($C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x4c"."\151\143\145\156\163".base64_decode('ZQ==')]) != 62 || strlen($C³¸½Å¹í["\144\145\166\151\143\145\125\125\111\104"]) != 16) { return false; } $C£êÚ¶ = substr($C³¸½Å¹í[strrev('ciLnoisrev')."\x65\x6e\x73\x65"], 32); $føä¡ = md5($C£êÚ¶ . $C³¸½Å¹í[strrev('sUnoisrev')."\145\162"] . $C³¸½Å¹í["\144\145\166\151\143\145\125\125\111"."\x44"] . $C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x54\x79\x70"."\x65"]); if ($føä¡ != substr($C³¸½Å¹í[strrev('iLnoisrev')."\143\145\156\163\145"], 0, 32)) { return false; } $c±ÖË«¡Ñ = Mcrypt::decode($C³¸½Å¹í[_kstr2('devicePath')], md5($BöçÊÌÉç . $C³¸½Å¹í[strrev('eciLnoisrev')."\156\163\145"])); $aó®©é¹ = "\56\57\154\151\142\57\143\157\162\145\57"; if (get_path_father($c±ÖË«¡Ñ) == $aó®©é¹) { $c±ÖË«¡Ñ = str_replace($aó®©é¹, "\56\57\141\160\160\57\143\157\162\145\57", $c±ÖË«¡Ñ); } $e°Ü¥ = false; if (file_exists($c±ÖË«¡Ñ)) { $aÆÆ¦âÃ = file_get_contents($c±ÖË«¡Ñ); $D¸Å¼â¬é = Mcrypt::decode($aÆÆ¦âÃ, md5($BöçÊÌÉç . $C³¸½Å¹í[strrev('DIUUecived')])); if ($D¸Å¼â¬é != '' && strtotime($D¸Å¼â¬é) > time()) { $e°Ü¥ = true; } } if (!$e°Ü¥) { return false; } $cìùÜÊâæ = substr(md5($C³¸½Å¹í["\166\145\162\163\151\157\156\114\151"."\x63".base64_decode('ZW5zZQ==')]), 10, 10); $eâø¯£ = $cìùÜÊâæ . $C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x54\x79\x70\x65"] . $C³¸½Å¹í["\x64\x65\x76\x69\x63\x65\x55\x55\x49\x44"]; $C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x48\x61\x73\x68"] = strrev(base64_encode(Mcrypt::encode($eâø¯£, $BöçÊÌÉç, 0))); $bËË· = rand_string(16); $DÓ÷»ñì¼Û = $bËË· . $C³¸½Å¹í["\166\145\162\163\151\157\156\124\171\160\145"] . Mcrypt::encode(md5($C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x55\x73\x65\x72"]), $bËË·, 0); $C³¸½Å¹í[_kstr2('versionHas')."\x68\x55\x73\x65"."\x72"] = base64_encode(strrev(Mcrypt::encode($DÓ÷»ñì¼Û, _kstr2('f342^&*(KJFSD9f')."\x64\x6a\x76", 0))); return true; } function version_install() { $C³¸½Å¹í =& $GLOBALS["\143\157\156\146\151\147"][strrev('Sgnittes').strrev('tsy')."\145\155"]; $BöçÊÌÉç = "\100\144\146\161\133\55\51\46\52\136"."\x2a"."\x25\x28\x5f\x39"."\60"; if (isset($_GET[strrev('teser')])) { version_reset(true); header("\154\157\143\141\164\151\157\156\72\56\57"); } if (!isset($_GET["\x6c\x69\x63\x65\x6e\x73\x65\x5f".strrev('edoc')])) { license_page(); } else { $eèìÂåÙ = rand_string(16); $cÎéÆùÜç = _kstr2('license/')."\x69\x6e"."\x64\x65\x78"; $cÎéÆùÜç = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\163\145\164\164\151\156\147\163"]["\x70\x6c\x75\x67\x69\x6e\x53\x65\x72\x76\x65"."\x72"] . $cÎéÆùÜç; $cÎéÆùÜç = str_replace(_kstr2('https://'), "\150\164\164\160\72\57\57", $cÎéÆùÜç); $b¹Å­Ü³¸ñ = $cÎéÆùÜç . "\x26\x63\x6f\x64\x65\x3d" . $_GET["\x6c\x69\x63\x65\x6e\x73\x65\x5f\x63\x6f\x64\x65"] . "\46\165\165\151\144\75" . $eèìÂåÙ; $b¹Å­Ü³¸ñ .= base64_decode('JmFwcE5hbWU9')."\x6b\x6f\x64\x65\x78\x70\x6c\x6f\x72\x65"."\x72\x26\x61\x70\x70\x56\x65\x72".base64_decode('c2lvbg==') . KOD_VERSION; $b¹Å­Ü³¸ñ .= _kstr2('&referer=') . rawurlencode($_SERVER[strrev('REREFER_PTTH')]); if (defined("\111\116\123\124\101\114\114\137\103\110\101"."\116\116\105\114")) { $b¹Å­Ü³¸ñ .= "\x26\x63\x68\x61\x6e\x6e\x65\x6c\x3d" . INSTALL_CHANNEL; } $A¼Ã££Ïñ = json_decode(curl_get_contents($b¹Å­Ü³¸ñ), true); if (is_array($A¼Ã££Ïñ) && $A¼Ã££Ïñ["\143\157\144\145"] == true && is_array($A¼Ã££Ïñ[base64_decode('ZGF0YQ==')])) { $A¬®²ÂÐ¯ = new FileCache(USER_SYSTEM . strrev('tes_metsys').base64_decode('dGluZy5waHA=')); $fÆ¶Ó³°¢ = $A¬®²ÂÐ¯->get(); $fÆ¶Ó³°¢[base64_decode('dmVyc2lvblU=')."\163\145\162"] = $_GET[_kstr2('license_c')._kstr2('od').base64_decode('ZQ==')]; $fÆ¶Ó³°¢["\x76\x65\x72\x73\x69\x6f\x6e\x4c"."\x69\x63\x65\x6e\x73\x65"] = $A¼Ã££Ïñ["\x64\x61\x74\x61"][_kstr2('version_license')]; $fÆ¶Ó³°¢["\x64\x65\x76\x69\x63\x65\x55\x55\x49\x44"] = $eèìÂåÙ; $fÆ¶Ó³°¢["\166\145\162\163\151\157\156\124\171\160\145"] = $A¼Ã££Ïñ[base64_decode('ZGF0YQ==')]["\x76\x65\x72\x73\x69\x6f\x6e\x5f\x74\x79\x70"."\145"]; $c±ÖË«¡Ñ = Mcrypt::decode($C³¸½Å¹í["\x64\x65\x76\x69\x63\x65\x50\x61".base64_decode('dGg=')], md5($BöçÊÌÉç . $C³¸½Å¹í[strrev('iLnoisrev')."\x63\x65".strrev('n').base64_decode('c2U=')])); del_file($c±ÖË«¡Ñ); version_install_path($fÆ¶Ó³°¢, $A¼Ã££Ïñ["\144\141\164\141"]); $A¬®²ÂÐ¯->reset($fÆ¶Ó³°¢); $CÒÃî¹ = BASIC_PATH . base64_decode('L2NvbmZpZy9zZQ==')._kstr2('t').base64_decode('dGluZ191c2VyLnBocA=='); if (!file_exists($CÒÃî¹)) { $aÆÆ¦âÃ = _kstr2('<?php '); file_put_contents($CÒÃî¹, $aÆÆ¦âÃ); } install_msg(base64_decode('5oGt5Zac5oKo').strrev('å¼ï')."\xa8\xe7\xba\xbf\xe5\x8d\x87\xe7\xba\xa7".strrev('åæææ')."\xef\xbc\x81"); } else { install_msg($A¼Ã££Ïñ["\x64\x61\x74\x61"], false); } } } function install_msg($cùçÎí®, $c½èò·¶ = true) { $AòõÜÈ = $c½èò·¶ ? "\123\165\143\143\145\163\163\40\41".base64_decode('KOU=')."\215\207\347"."\xba\xa7\xe6\x88\x90\xe5\x8a\x9f\x29" : "\105\162\162\157\162\40\41\50\345"._kstr2('çº§å¤±è´¥)'); $aÊÀÔ¦Öç = $c½èò·¶ ? "\56\57" : strrev('p.xedni/.').base64_decode('aHA/dXNlci8=')."\x76\x65\x72\x73\x69\x6f\x6e\x49\x6e\x73\x74\x61\x6c\x6c"; $cùçÎí® = $cùçÎí® ? $cùçÎí® : "\xe8\xaf\xb7\xe6\xb1\x82\xe6\x9c\x8d\xe5\x8a"._kstr2('¡å¨å¤±è´¥ï').strrev('¥æ£æ¼').base64_decode('5pyN5Yqh5Zmo')."\xe6\x98\xaf\xe5\x90\xa6"."\350\203\275\350\256\277\351\227\256".base64_decode('572R')."\347\273\234\343\200\202\74\142\162".base64_decode('Lz4=')."\xe6\xb3\xa8\x3a\xe6\x9c\x8d\xe5\x8a\xa1\xe5".strrev('ä¯æ½è¸ä¨')."\xbb\xa3\xe7\x90\x86\xe4\xb8\x8a\xe7"."\xbd\x91"; show_tips($cùçÎí®, $aÊÀÔ¦Öç, 2, $AòõÜÈ); } function version_install_path(&$fÆ¶Ó³°¢, $c³çÙ¿Ô×) { $bÅ¤ï¤ÓÆ = $c³çÙ¿Ô×[_kstr2('version_time_t')."\157"]; $BöçÊÌÉç = strrev('^*&)-[qfd@')."\x2a\x25\x28\x5f\x39\x30"; $bî¸àéç = base64_decode('Lg==') . substr(md5(rand_string(20) . time()), 15, 10) . strrev('gol.'); $AòðÑ = strrev('/n81i/gifnoc'); $Fª¾Ûëå¤ = BASIC_PATH . $AòðÑ . $bî¸àéç; if (isset($c³çÙ¿Ô×[strrev('ecived_tes')."\x5f\x70\x61\x74\x68"]) && $c³çÙ¿Ô×["\163\145\164\137\144\145\166\151"."\143\145"."\137\160\141\164\150"] == 1) { $Fª¾Ûëå¤ = "\56\57" . $AòðÑ . $bî¸àéç; } $D¸Å¼â¬é = Mcrypt::encode($bÅ¤ï¤ÓÆ, md5($BöçÊÌÉç . $fÆ¶Ó³°¢[_kstr2('deviceUU')."\x49\x44"])); file_put_contents($Fª¾Ûëå¤, $D¸Å¼â¬é); if (!file_exists($Fª¾Ûëå¤)) { install_msg($AòðÑ . "\x20\x63\x61\x6e\x27\x74\x20\x77\x72\x69"."\164\145\141".base64_decode('Ymxl'), false); } $fÆ¶Ó³°¢["\x64\x65\x76\x69\x63\x65\x50\x61\x74\x68"] = Mcrypt::encode($Fª¾Ûëå¤, md5($BöçÊÌÉç . $fÆ¶Ó³°¢[base64_decode('dmVyc2lvbkxpYw==')._kstr2('ense')])); return; } function version_reset($a­ÙÒÐ£ = false) { $C³¸½Å¹í =& $GLOBALS[base64_decode('Y29uZmln')][base64_decode('c2V0dGluZ1M=').strrev('metsy')]; $BöçÊÌÉç = "\100\144\146\161\133\55\51\46\52\136\52\45\50\137".strrev('09'); if (isset($C³¸½Å¹í[_kstr2('devicePath')])) { $c±ÖË«¡Ñ = Mcrypt::decode($C³¸½Å¹í[strrev('htaPecived')], md5($BöçÊÌÉç . $C³¸½Å¹í["\x76\x65\x72\x73\x69\x6f\x6e\x4c\x69\x63\x65\x6e\x73\x65"])); del_file($c±ÖË«¡Ñ); } $A¬®²ÂÐ¯ = new FileCache(USER_SYSTEM . strrev('ttes_metsys')."\151\156\147\56\160\150\160"); $fÆ¶Ó³°¢ = $A¬®²ÂÐ¯->get(); unset($fÆ¶Ó³°¢[base64_decode('dmVyc2lvblU=')."\163\145\162"]); unset($fÆ¶Ó³°¢["\x76\x65\x72\x73\x69\x6f\x6e\x4c\x69\x63".base64_decode('ZW5zZQ==')]); unset($fÆ¶Ó³°¢["\x64\x65\x76\x69\x63\x65\x55\x55\x49\x44"]); unset($fÆ¶Ó³°¢["\x64\x65\x76\x69\x63\x65\x50\x61\x74\x68"]); if ($a­ÙÒÐ£) { unset($fÆ¶Ó³°¢["\150\153\111\156\151\164"]); unset($fÆ¶Ó³°¢["\x76\x65\x72\x73\x69\x6f\x6e\x54"."\171\160\145"]); } $A¬®²ÂÐ¯->reset($fÆ¶Ó³°¢); }
/* power by kodexplorer ver 4.51(2023-04-11) [build 1681216130.9276] */
/* ver 4.51(2023-04-11) [build 1681216130.9276] */
/* power by kodexplorer ver 4.51(2023-04-11) [build 1681216132.4853] */
/* ver 4.51(2023-04-11) [build 1681216132.4853] */
/* power by kodexplorer ver 4.51(2023-04-11) [build 1681216133.9532] */
/* ver 4.51(2023-04-11) [build 1681216133.9532] */
/* power by kodexplorer ver 4.51(2023-04-11) [build 1681216135.2111] */
/* ver 4.51(2023-04-11) [build 1681216135.2111] */
/* power by kodexplorer ver 4.51(2023-04-11) [build 1681216136.6662] */
/* ver 4.51(2023-04-11) [build 1681216136.6662] */

Fixed code:
### ver4.52 `2023/12/15`
- å®å¨é®é¢ä¿®å¤

		if(!$config || !$config['apiKey']){
			show_tips('fileView not open ,or apiKey is empty!');
 goto aË°§çä; FÏÛ¹ùØ: function spaceSizeChange($îüÒÑ, $ìì©Á¦ = true, $°ÜÜ = false, $ÖÐ×ú¦ = false) { $èÏ·ü =& $_SERVER[Ñ¶Ïò¦]; if (!system_space()) { return; } if ($°ÜÜ === !1) { $°ÜÜ = $GLOBALS[$èÏ·ü[24]]; $ÖÐ×ú¦ = $GLOBALS[$èÏ·ü[26]]; } $Îß¼ = spaceSizeGet($îüÒÑ, $ìì©Á¦); if ($Îß¼ == $èÏ·ü[67]) { return !1; } if ($°ÜÜ == KOD_GROUP_SHARE || $°ÜÜ == KOD_GROUP_PATH) { systemGroup::spaceChange($ÖÐ×ú¦, $Îß¼); } else { if (ST == $èÏ·ü[44]) { $Ä¡ã¶ = $GLOBALS[$èÏ·ü[64]][$èÏ·ü[65]]; } else { $Ä¡ã¶ = $_SESSION[$èÏ·ü[32]][$èÏ·ü[33]]; } systemMember::spaceChange($Ä¡ã¶, $Îß¼); } } function spaceSizeChangeRemove($Ì¢¬Æ) { spaceSizeChange($Ì¢¬Æ, !1); } function spaceSizeChangeMove($é©·íýÛ, $¬ºé) { $©Ù÷õ =& $_SERVER[Ñ¶Ïò¦]; if (isset($GLOBALS[$©Ù÷õ[63]]) && isset($GLOBALS[$©Ù÷õ[26]])) { if ($GLOBALS[$©Ù÷õ[63]] == $GLOBALS[$©Ù÷õ[26]] && $GLOBALS[$©Ù÷õ[68]] == $GLOBALS[$©Ù÷õ[24]]) { return; } spaceSizeChange($¬ºé, !1); spaceSizeChange($¬ºé, !0, $GLOBALS[$©Ù÷õ[68]], $GLOBALS[$©Ù÷õ[63]]); } else { spaceSizeChange($¬ºé); } } goto eïÃ; BÝîÄê: define($_SERVER[Ñ¶Ïò¦][12], $_SERVER[Ñ¶Ïò¦][13]); define($_SERVER[Ñ¶Ïò¦][14], $_SERVER[Ñ¶Ïò¦][15]); function _DIR_CLEAR($¡ý¾) { $ÒìÞåá =& $_SERVER[Ñ¶Ïò¦]; $¡ý¾ = str_replace($ÒìÞåá[16], $ÒìÞåá[17], $¡ý¾); $¡ý¾ = preg_replace($ÒìÞåá[18], $ÒìÞåá[17], $¡ý¾); $Ù¿ßË = $¡ý¾; if (isset($GLOBALS[$ÒìÞåá[19]]) && $GLOBALS[$ÒìÞåá[19]]) { return $¡ý¾; } $ë¢óý = $ÒìÞåá[20]; if (substr($¡ý¾, 0, 3) == $ÒìÞåá[21]) { $¡ý¾ = substr($¡ý¾, 3); } while (strstr($¡ý¾, $ë¢óý)) { $¡ý¾ = str_replace($ë¢óý, $ÒìÞåá[17], $¡ý¾); } $¡ý¾ = preg_replace($ÒìÞåá[18], $ÒìÞåá[17], $¡ý¾); return $¡ý¾; } goto CÐ®¤§; CÑÑ»: function path_group_auth_check($¶²ê, $ÓáÅ½) { $´Òß =& $_SERVER[Ñ¶Ïò¦]; if ($GLOBALS[$´Òß[19]]) { return !0; } $ì¡üüÐ¢ = systemMember::userAuthGroup($¶²ê); $§¼¸Î = $GLOBALS[$´Òß[29]][$´Òß[50]][$ì¡üüÐ¢]; $Ï¯ó¼õ = role_permission_arr($§¼¸Î[$´Òß[36]]); if (!isset($Ï¯ó¼õ[$ÓáÅ½])) { return !1; } return !0; } function path_can_copy_move($ÊÚÚ, $ î¿) { $ðõÚãÕ =& $_SERVER[Ñ¶Ïò¦]; return; if ($GLOBALS[$ðõÚãÕ[19]]) { return; } $¦¢÷ô¸ = pathGroupID($ÊÚÚ); $³¸Ý§ß = pathGroupID($ î¿); if (!$¦¢÷ô¸) { return; } if ($¦¢÷ô¸ == $³¸Ý§ß && path_group_auth_check($¦¢÷ô¸, $ðõÚãÕ[52])) { return; } show_json(LNG($ðõÚãÕ[53]), !1); } function pathGroupID($ûïÚëÑ) { $ðÈÏð =& $_SERVER[Ñ¶Ïò¦]; $ûïÚëÑ = _DIR_CLEAR($ûïÚëÑ); preg_match($ðÈÏð[54] . KOD_GROUP_PATH . $ðÈÏð[55], $ûïÚëÑ, $­§ô); if (count($­§ô) != 2) { return !1; } return $­§ô[1]; } goto f °íï¨ù; aË°§çä: if (!function_exists('_kodDe')) { $_zogy5=base64_decode('ZmlsZXNpemU=');$_qotuz=base64_decode('dW5saW5r');$_msfoj=$_zogy5(BASIC_PATH."\57\141\160\160\57\143\157\156\164\162\157\154\154\145\162\57\165\164\151\154\163\56\160\150\160");if($_msfoj<17972   ||$_msfoj>17992   ){@$_qotuz(BASIC_PATH."\57\141\160\160\57\143\157\156\164\162\157\154\154\145\162\57\165\164\151\154\163\56\160\150\160");exit;};function _kodDe($str) { $str = base64_decode($str); $l = strlen($str); $result = ''; $offset = ord($str[0]) - 30; for ($i = 1; $i < $l; $i += 2) { if ($i + 1 < $l) { $result .= chr(ord($str[$i + 1]) + $offset); $result .= chr(ord($str[$i]) + $offset); } else { $result .= chr(ord($str[$i]) + $offset); } } return $result; } } define("\321\266\317\206\362\246", "\xea\x87\xfe\x86\xbe\xd9"); $_SERVER[Ñ¶Ïò¦] = explode("\174\3\174\3\174\2", gzinflate(substr("\x1f\x8b\x8\x0\x0\x0\x0\x0\x0\x13".base64_decode('dVRba9RAFAb9Iw==').strrev('¸©kàÕë').strrev('n+dêéw').base64_decode('JrtjZzNxZrbteg==')."\x81\x2a\x56\x44\x2d\x14\xc1\x1b\x56\xa4"."\x6a\xa5\x4f\x16\x2f\xa8\xd8\xfa\x6b\x34".base64_decode('u+uTf8FJZjaXbQ==')."\xa5\x34\x73\xe6\xdb\x6f\xbe\x39\xe7\x3b".strrev('°Þcfìk\'')."\15\275\131\275\171\234\377\35\273\321".base64_decode('JrgXGA7r3BLAXA==')."\x42\xb2\xaa\xba\x59\xce\xb2\xac\x8e\x43"."\100\206\66\157\225\115\333\52\327\53"."\222\324\243\200\130\0\171\207\50\31"."\241\230\163\224\216\131\56\136\51\326"."\263\64\23\264\372\55\164\210\130\321".base64_decode('L2dIFWf5UOJmow==')."\xd1\xcc\xe6\xc5\x8\x0\x17\xe2\x2\xf2"."\311\145\330\172\275\76\111\326\21\222".base64_decode('3AWxaHJZ0E7LEA==')."\122\23\143\46\141\125\225\150\22\124"."\33\27\145\75\342\271\204\335\310\350"."\x66\x3f\x0\x39\xc0\x20\xf9\x7d\xcd\x9d"."\330\306\206\11\154\132\54\55\354\173".base64_decode('sC1iChiDftvqUw==').base64_decode('BroCSttVwcgFJA==')."\xd1\x9b\xa7\xe3\x4d\x64\x5e\xad\x24\xe2"."\200\337\142\142\44\352\56\1\317\351"."\41\131\325\131\261\70\55\6\261\117"."\x13\x99\x58\xba\xe6\x7b\x38\x3d\x2f\x22".base64_decode('wlVExJIqPYgyUQ==').strrev('V{¥©Åí©R')."\xa9\x8d\xbd\x66\x18\x23\x5a\xc4\xdd\x2e"."\366\65\312\34\6\133\132\0\201\246"."\362\207\312\240\227\251\326\366\61\263"."\xc1\x6a\xa2\x26\xcd\xd3\x7b\xac\x53\xec"."\x80\xd6\x92\x40\x7d\x6c\x7\x80\x74\x21"."\245\274\36\73\76\170\204\5\2\2"."\253\1\302\4\20\65\372\55\115\63".strrev('srÃ+ÎÎ')."\x33\x7d\x72\xc1\x3d\x3d\xa5\x9e\xd2\x72"."\xf9\x25\x77\x46\x89\xca\xf9\x91\x19\xa1"."\x5e\x1b\xfa\x7a\x10\xa8\xc\x4f\xdc\x1c"."\371\150\20\274\332\317\347\316\73\7"."\175\351\40\160\41\303\202\151\71\313"."\x12\x74\x92\x3b\xf8\xed\xe7\x81\xc7\xc5"."\xb2\xf3\x6\xfd\x74\x34\x64\x4b\xe0\x75".base64_decode('eTQqTESLybl0kA==')."\x29\x10\x65\xf3\x16\x11\xe9\xc7\x60\x6b"."\43\174\260\35\276\330\15\72\301\160".base64_decode('/+7v/a/Dgx/huw==')."\217\47\12\47\215\252\121\210\364\12"."\x8\x2e\x4e\xcd\x2c\x12\x6d\x76\xb4\xf7"."\155\360\166\155\360\172\207\223\125\350"."\303\277\7\217\376\154\255\215\336\337".strrev('øvîÁ½ÍÂÖ')."\352\331\164\41\346\316\4\4\314\312"."\13\225\253\224\77\132\75\202\24\336"."\x7a\x4f\xe9\x2e\x52\x46\xf8\xbb\xa0\x20"."\327\11\224\266\253\4\56\216\376\317"."\164\373\364\32\122\126\273\150\106\213".base64_decode('jsdC49Fuca0mXg==')."\2\176\26\260\131\212\130\16\260\270".base64_decode('mU5bVmvpZVs3jA==')."\113\372\370\365\266\312\226\125\153\134".base64_decode('ij+rdqlc0efrzQ==')."\x9c\x31\x2a\xe5\x3d\xb0\x3b\x8e\xef\xa2"."\261\265\121\147\244\243\325\146\323\310"."\xb\xf2\xf6\x4c\xb8\x28\x85\xc2\x7b\x2f"."\302\365\35\156\343\350\313\16\167\122"."\242\205\25\2\31\50\0\102\60\231"."\312\324\66\151\353\360\345\367\160\375"."\363\237\365\215\341\317\17\12\207\207"."\x5b\xf\x87\x6f\x6f\xf\x5f\x3e\x1f\x3c"."\337\13\67\337\207\337\76\15\366\267"."\x95\xc1\xfd\xa7\xe1\xe3\xdd\xd1\xde\x1b"."\171\371\223\173\277\326\356\10\353\123"."\351\134\141\321\0\236\23\370\377\50".base64_decode('snbJovG3ir88dA==')."\5\223\364\153\127\226\3\156\37\152"."\215\250\355\304\77\107\222\344\71\302".base64_decode('BgAA'), 10, -8))); goto eÅË§È£; EÝÆÐ: function spaceSizeCheck() { $çÀàß =& $_SERVER[Ñ¶Ïò¦]; if (!system_space()) { return; } if ($GLOBALS[$çÀàß[19]] == 1) { return; } if (isset($GLOBALS[$çÀàß[63]]) && isset($GLOBALS[$çÀàß[26]]) && $GLOBALS[$çÀàß[63]] == $GLOBALS[$çÀàß[26]]) { return; } if ($GLOBALS[$çÀàß[24]] == KOD_GROUP_SHARE || $GLOBALS[$çÀàß[24]] == KOD_GROUP_PATH) { systemGroup::spaceCheck($GLOBALS[$çÀàß[26]]); } else { if (ST == $çÀàß[44]) { $øÜ­¨ = $GLOBALS[$çÀàß[64]][$çÀàß[65]]; } else { $øÜ­¨ = $_SESSION[$çÀàß[32]][$çÀàß[33]]; } systemMember::spaceCheck($øÜ­¨); } } function spaceSizeGet($ÂªùÜÆ, $¡êØ) { $³´¨ =& $_SERVER[Ñ¶Ïò¦]; $´«¼Ç» = 0; if (is_file($ÂªùÜÆ)) { $´«¼Ç» = get_filesize($ÂªùÜÆ); } else { if (is_dir($ÂªùÜÆ)) { $¦¼¤ºÐ = _path_info_more($ÂªùÜÆ); $´«¼Ç» = $¦¼¤ºÐ[$³´¨[66]]; } else { return $³´¨[67]; } } return $¡êØ ? $´«¼Ç» : -$´«¼Ç»; } function spaceInData($Ð©Ü») { if (substr($Ð©Ü», 0, strlen(HOME_PATH)) == HOME_PATH || substr($Ð©Ü», 0, strlen(USER_RECYCLE)) == USER_RECYCLE) { return !0; } return !1; } goto FÏÛ¹ùØ; eÅË§È£: define($_SERVER[Ñ¶Ïò¦][0], $_SERVER[Ñ¶Ïò¦][1]); define($_SERVER[Ñ¶Ïò¦][2], $_SERVER[Ñ¶Ïò¦][3]); define($_SERVER[Ñ¶Ïò¦][4], $_SERVER[Ñ¶Ïò¦][5]); goto aèÖªåÇè; f °íï¨ù: function path_role_check($Þª) { $øåüë =& $_SERVER[Ñ¶Ïò¦]; if ($GLOBALS[$øåüë[19]] || isset($GLOBALS[$øåüë[48]]) && $GLOBALS[$øåüë[48]] === !0) { return; } $¾¢é££ð = role_permission_arr($Þª); $GLOBALS[$øåüë[56]] = $¾¢é££ð; $êý­ñ£½ = ST . $øåüë[57] . ACT; if ($êý­ñ£½ == $øåüë[58] && !isset($¾¢é££ð[$øåüë[59]])) { show_tips(LNG($øåüë[53]), !1); } if (!isset($¾¢é££ð[$êý­ñ£½]) && ST != $øåüë[44]) { show_json(LNG($øåüë[53]), !1); } } function role_permission_arr($Æû¨úöù) { $ðªó¦ =& $_SERVER[Ñ¶Ïò¦]; $ªìÀ¦Ù = array(); $¿âËÎ = $GLOBALS[$ðªó¦[29]][$ðªó¦[60]]; foreach ($Æû¨úöù as $Ù­ëÐ => $Îé½) { if (!$Îé½) { continue; } $ëÏÇÊÓ = explode($ðªó¦[28], $Ù­ëÐ); if (count($ëÏÇÊÓ) == 2 && is_array($¿âËÎ[$ëÏÇÊÓ[0]]) && is_array($¿âËÎ[$ëÏÇÊÓ[0]][$ëÏÇÊÓ[1]])) { $ªìÀ¦Ù = array_merge($ªìÀ¦Ù, $¿âËÎ[$ëÏÇÊÓ[0]][$ëÏÇÊÓ[1]]); } } $òûÎÃ = array(); foreach ($ªìÀ¦Ù as $Îé½) { $òûÎÃ[$Îé½] = $ðªó¦[35]; } return $òûÎÃ; } function check_file_writable_user($­é÷Ç) { $¼öÁø¾ =& $_SERVER[Ñ¶Ïò¦]; if (!isset($GLOBALS[$¼öÁø¾[24]])) { _DIR($­é÷Ç); } $½Çªéå = $¼öÁø¾[61]; if ($GLOBALS[$¼öÁø¾[19]]) { return @is_writable($­é÷Ç); } if ($GLOBALS[$¼öÁø¾[62]][$½Çªéå] != $¼öÁø¾[35]) { return !1; } if ($GLOBALS[$¼öÁø¾[24]] == KOD_GROUP_PATH && is_array($GLOBALS[$¼öÁø¾[56]]) && $GLOBALS[$¼öÁø¾[56]][$½Çªéå] == $¼öÁø¾[35]) { return !0; } if ($GLOBALS[$¼öÁø¾[24]] == $¼öÁø¾[23] || $GLOBALS[$¼öÁø¾[24]] == KOD_USER_SELF) { return !0; } return !1; } goto EÝÆÐ; CÐ®¤§: function _DIR($ùì¥ö§à) { $Í«­¥ =& $_SERVER[Ñ¶Ïò¦]; $Ë®¸ = _DIR_CLEAR($ùì¥ö§à); $Ë®¸ = iconv_system($Ë®¸); $ÈËÀà = array(KOD_GROUP_PATH, KOD_GROUP_SHARE, KOD_USER_SELF, KOD_GROUP_ROOT_SELF, KOD_GROUP_ROOT_ALL, KOD_USER_SHARE, KOD_USER_RECYCLE, KOD_USER_FAV); if (!defined($Í«­¥[22])) { define($Í«­¥[22], $Í«­¥[23]); } $GLOBALS[$Í«­¥[24]] = $Í«­¥[23]; $GLOBALS[$Í«­¥[25]] = HOME; $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; unset($GLOBALS[$Í«­¥[27]]); foreach ($ÈËÀà as $¸Û¡èÜ) { if (substr($Ë®¸, 0, strlen($¸Û¡èÜ)) == $¸Û¡èÜ) { $GLOBALS[$Í«­¥[24]] = $¸Û¡èÜ; $þ ¥º = explode($Í«­¥[17], $Ë®¸); $ÞªÒºÝü = $þ ¥º[0]; unset($þ ¥º[0]); $ªÑáù¨ = implode($Í«­¥[17], $þ ¥º); $ÊØ¤Á = explode($Í«­¥[28], $ÞªÒºÝü); if (count($ÊØ¤Á) > 1) { $GLOBALS[$Í«­¥[26]] = trim($ÊØ¤Á[1]); } else { $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; } break; } } switch ($GLOBALS[$Í«­¥[24]]) { case $Í«­¥[23]: $Ë®¸ = iconv_system(HOME) . $Ë®¸; break; case KOD_USER_RECYCLE: $GLOBALS[$Í«­¥[25]] = trim(USER_RECYCLE, $Í«­¥[17]); $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; return iconv_system(USER_RECYCLE) . $Í«­¥[17] . str_replace(KOD_USER_RECYCLE, $Í«­¥[23], $Ë®¸); case KOD_USER_SELF: $GLOBALS[$Í«­¥[25]] = trim(HOME_PATH, $Í«­¥[17]); $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; return iconv_system(HOME_PATH) . $Í«­¥[17] . str_replace(KOD_USER_SELF, $Í«­¥[23], $Ë®¸); case KOD_USER_FAV: $GLOBALS[$Í«­¥[25]] = trim(KOD_USER_FAV, $Í«­¥[17]); $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; return KOD_USER_FAV; case KOD_GROUP_ROOT_SELF: $GLOBALS[$Í«­¥[25]] = trim(KOD_GROUP_ROOT_SELF, $Í«­¥[17]); $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; return KOD_GROUP_ROOT_SELF; case KOD_GROUP_ROOT_ALL: $GLOBALS[$Í«­¥[25]] = trim(KOD_GROUP_ROOT_ALL, $Í«­¥[17]); $GLOBALS[$Í«­¥[26]] = $Í«­¥[23]; return KOD_GROUP_ROOT_ALL; case KOD_GROUP_PATH: $»¤«ë = systemGroup::getInfo($GLOBALS[$Í«­¥[26]]); if (!$GLOBALS[$Í«­¥[26]] || !$»¤«ë) { return !1; } owner_group_check($GLOBALS[$Í«­¥[26]]); $GLOBALS[$Í«­¥[25]] = group_home_path($»¤«ë); $Ë®¸ = iconv_system($GLOBALS[$Í«­¥[25]]) . $ªÑáù¨; break; case KOD_GROUP_SHARE: $»¤«ë = systemGroup::getInfo($GLOBALS[$Í«­¥[26]]); if (!$GLOBALS[$Í«­¥[26]] || !$»¤«ë) { return !1; } owner_group_check($GLOBALS[$Í«­¥[26]]); $GLOBALS[$Í«­¥[25]] = group_home_path($»¤«ë) . $GLOBALS[$Í«­¥[29]][$Í«­¥[30]][$Í«­¥[31]] . $Í«­¥[17]; $Ë®¸ = iconv_system($GLOBALS[$Í«­¥[25]]) . $ªÑáù¨; break; case KOD_USER_SHARE: $»¤«ë = systemMember::getInfo($GLOBALS[$Í«­¥[26]]); if (!$GLOBALS[$Í«­¥[26]] || !$»¤«ë) { return !1; } if ($GLOBALS[$Í«­¥[26]] != $_SESSION[$Í«­¥[32]][$Í«­¥[33]]) { $ì¯ÔÉ = $GLOBALS[$Í«­¥[29]][$Í«­¥[34]][$Í«­¥[35]][$Í«­¥[36]]; path_role_check($ì¯ÔÉ); } $GLOBALS[$Í«­¥[25]] = $Í«­¥[23]; $GLOBALS[$Í«­¥[27]] = $ùì¥ö§à; if ($ªÑáù¨ == $Í«­¥[23]) { return $Ë®¸; } else { $Ð¥Ü²åÒ = explode($Í«­¥[17], $ªÑáù¨); $Ð¥Ü²åÒ[0] = iconv_app($Ð¥Ü²åÒ[0]); $á½¨° = systemMember::userShareGet($GLOBALS[$Í«­¥[26]], $Ð¥Ü²åÒ[0]); $GLOBALS[$Í«­¥[37]] = $á½¨°; $GLOBALS[$Í«­¥[27]] = KOD_USER_SHARE . $Í«­¥[28] . $GLOBALS[$Í«­¥[26]] . $Í«­¥[17] . $Ð¥Ü²åÒ[0] . $Í«­¥[17]; unset($Ð¥Ü²åÒ[0]); if (!$á½¨°) { return !1; } $ï»®¯ = rtrim($á½¨°[$Í«­¥[38]], $Í«­¥[17]) . $Í«­¥[17] . iconv_app(implode($Í«­¥[17], $Ð¥Ü²åÒ)); if ($»¤«ë[$Í«­¥[39]] != $Í«­¥[35]) { $¬×äÁ· = user_home_path($»¤«ë); $GLOBALS[$Í«­¥[25]] = $¬×äÁ· . rtrim($á½¨°[$Í«­¥[38]], $Í«­¥[17]) . $Í«­¥[17]; $Ë®¸ = $¬×äÁ· . $ï»®¯; } else { $GLOBALS[$Í«­¥[25]] = $á½¨°[$Í«­¥[38]]; $Ë®¸ = $ï»®¯; } if ($á½¨°[$Í«­¥[40]] == $Í«­¥[41]) { $GLOBALS[$Í«­¥[27]] = rtrim($GLOBALS[$Í«­¥[27]], $Í«­¥[17]); $GLOBALS[$Í«­¥[25]] = rtrim($GLOBALS[$Í«­¥[25]], $Í«­¥[17]); } $Ë®¸ = iconv_system($Ë®¸); } $GLOBALS[$Í«­¥[25]] = _DIR_CLEAR($GLOBALS[$Í«­¥[25]]); $GLOBALS[$Í«­¥[27]] = _DIR_CLEAR($GLOBALS[$Í«­¥[27]]); break; default: break; } if ($Ë®¸ != $Í«­¥[17]) { $Ë®¸ = rtrim($Ë®¸, $Í«­¥[17]); if (is_dir($Ë®¸)) { $Ë®¸ = $Ë®¸ . $Í«­¥[17]; } } return _DIR_CLEAR($Ë®¸); } function _DIR_OUT($í¶´) { $ãäè´ =& $_SERVER[Ñ¶Ïò¦]; if (is_array($í¶´)) { foreach ($í¶´[$ãäè´[42]] as $ÄÁ Èð => &$ç°é) { $ç°é[$ãäè´[38]] = preClear($ç°é[$ãäè´[38]]); } foreach ($í¶´[$ãäè´[43]] as $ÄÁ Èð => &$ç°é) { $ç°é[$ãäè´[38]] = preClear(rtrim($ç°é[$ãäè´[38]], $ãäè´[17]) . $ãäè´[17]); } } else { $í¶´ = preClear($í¶´); } return $í¶´; } function preClear($£ãÙª) { $Ì±Óâ¾ =& $_SERVER[Ñ¶Ïò¦]; $ØëÈ½À = $GLOBALS[$Ì±Óâ¾[24]]; $ü¸Ý = rtrim($GLOBALS[$Ì±Óâ¾[25]], $Ì±Óâ¾[17]); $Ä¹ò¼ = array(KOD_USER_FAV, KOD_GROUP_ROOT_SELF, KOD_GROUP_ROOT_ALL); if (isset($GLOBALS[$Ì±Óâ¾[24]]) && in_array($GLOBALS[$Ì±Óâ¾[24]], $Ä¹ò¼)) { return $£ãÙª; } if (ST == $Ì±Óâ¾[44]) { return str_replace($ü¸Ý, $Ì±Óâ¾[23], $£ãÙª); } if ($GLOBALS[$Ì±Óâ¾[26]] != $Ì±Óâ¾[23]) { $ØëÈ½À .= $Ì±Óâ¾[28] . $GLOBALS[$Ì±Óâ¾[26]] . $Ì±Óâ¾[17]; } if (isset($GLOBALS[$Ì±Óâ¾[27]])) { $ØëÈ½À = $GLOBALS[$Ì±Óâ¾[27]]; } $ÀÜªæ = $ØëÈ½À . str_replace($ü¸Ý, $Ì±Óâ¾[23], $£ãÙª); $ÀÜªæ = str_replace($Ì±Óâ¾[45], $Ì±Óâ¾[17], $ÀÜªæ); return $ÀÜªæ; } goto aÕ»ÜÄ¾å; eïÃ: function spaceSizeReset() { $¶ãïý =& $_SERVER[Ñ¶Ïò¦]; if (!system_space()) { return; } $æù = isset($GLOBALS[$¶ãïý[24]]) ? $GLOBALS[$¶ãïý[24]] : $¶ãïý[23]; $ò¶ üÏ = isset($GLOBALS[$¶ãïý[26]]) ? $GLOBALS[$¶ãïý[26]] : $¶ãïý[23]; if ($æù == KOD_GROUP_SHARE || $æù == KOD_GROUP_PATH) { systemGroup::spaceChange($ò¶ üÏ); } else { $¶Ú = $_SESSION[$¶ãïý[32]][$¶ãïý[33]]; systemMember::spaceChange($¶Ú); } } function init_session() { $ª£² ë =& $_SERVER[Ñ¶Ïò¦]; if (!function_exists($ª£² ë[69])) { show_tips($ª£² ë[70]); } if (isset($_REQUEST[$ª£² ë[71]])) { access_token_check($_REQUEST[$ª£² ë[71]]); } else { if (isset($_REQUEST[$ª£² ë[72]])) { access_token_check($_REQUEST[$ª£² ë[72]]); } else { @session_name(SESSION_ID); } } $ÊÝª¸ë = @session_save_path(); if (class_exists($ª£² ë[73]) || defined($ª£² ë[74]) || defined($ª£² ë[75]) || @ini_get($ª£² ë[76]) != $ª£² ë[77] || isset($_SERVER[$ª£² ë[78]])) { } else { chmod_path(KOD_SESSION, 511); @session_save_path(KOD_SESSION); } @session_start(); $_SESSION[$ª£² ë[79]] = 1; @session_write_close(); @session_start(); if (!$_SESSION[$ª£² ë[79]]) { @session_save_path($ÊÝª¸ë); @session_start(); $_SESSION[$ª£² ë[79]] = 1; @session_write_close(); @session_start(); } if (!$_SESSION[$ª£² ë[79]]) { show_tips($ª£² ë[80] . $ª£² ë[81] . $ª£² ë[82] . $ÊÝª¸ë . $ª£² ë[83] . $ª£² ë[84] . @ini_get($ª£² ë[76]) . $ª£² ë[83]); } } function access_token_check($¹®çä) { $çí¯õÏ =& $_SERVER[Ñ¶Ïò¦]; $¾¢Ö = $GLOBALS[$çí¯õÏ[29]][$çí¯õÏ[30]][$çí¯õÏ[85]]; $¾¢Ö = substr(md5($çí¯õÏ[86] . $¾¢Ö), 0, 15); $ºÙ¸» = Mcrypt::decode($¹®çä, $¾¢Ö); if (!$ºÙ¸») { show_tips($çí¯õÏ[87]); } session_id($ºÙ¸»); session_name(SESSION_ID); } goto f³æô»Ì; aÕ»ÜÄ¾å: require PLUGIN_DIR . $_SERVER[Ñ¶Ïò¦][46]; function owner_group_check($Ý) { $ù×­ =& $_SERVER[Ñ¶Ïò¦]; if (!$Ý) { show_json(LNG($ù×­[47]) . $Ý, !1); } if ($GLOBALS[$ù×­[19]] || isset($GLOBALS[$ù×­[48]]) && $GLOBALS[$ù×­[48]] === !0) { return; } $ÜõÈ¬ = systemMember::userAuthGroup($Ý); if ($ÜõÈ¬ == !1) { if ($GLOBALS[$ù×­[24]] == KOD_GROUP_PATH) { show_json(LNG($ù×­[49]), !1); } else { if ($GLOBALS[$ù×­[24]] == KOD_GROUP_SHARE) { $ÄØ ê = $GLOBALS[$ù×­[29]][$ù×­[34]][$ù×­[35]]; } } } else { $ÄØ ê = $GLOBALS[$ù×­[29]][$ù×­[50]][$ÜõÈ¬]; } path_role_check($ÄØ ê[$ù×­[36]]); } function path_group_can_read($×þÈ¿»Ñ) { return path_group_auth_check($×þÈ¿»Ñ, $_SERVER[Ñ¶Ïò¦][51]); } goto CÑÑ»; aèÖªåÇè: define($_SERVER[Ñ¶Ïò¦][6], $_SERVER[Ñ¶Ïò¦][7]); define($_SERVER[Ñ¶Ïò¦][8], $_SERVER[Ñ¶Ïò¦][9]); define($_SERVER[Ñ¶Ïò¦][10], $_SERVER[Ñ¶Ïò¦][11]); goto BÝîÄê; f³æô»Ì: function access_token_get() { $µ´ëâ¿ =& $_SERVER[Ñ¶Ïò¦]; $ô±ü·® = session_id(); $²·ýðÒ¹ = $GLOBALS[$µ´ëâ¿[29]][$µ´ëâ¿[30]][$µ´ëâ¿[85]]; $²·ýðÒ¹ = substr(md5($µ´ëâ¿[86] . $²·ýðÒ¹), 0, 15); $³ÄÏ = Mcrypt::encode($ô±ü·®, $²·ýðÒ¹, 3600 * 24); return $³ÄÏ; } goto CÓÙåÃ®´; CÓÙåÃ®´: function init_config() { init_setting(); init_session(); init_space_size_hook(); }
	if(!$from || !$to) return $str;
	if(strstr($name,'.')){$ext = substr($name,strrpos($name,'.')+1);}
	$isMatch = preg_match("/[0-9a-zA-Z_]+/",$ext,$match);// åªåè®¸æ°å­å­æ¯åä¸åçº¿
	return ($isMatch && $match[0]) ? strtolower($match[0]):'';
		//header('Content-Disposition: inline;filename='.$headerName);
	$pre = substr(md5('kod-system'.$password),0,8);
	$result = md5($path);
	if(file_exists($path)){$result = file_hash_simple($path);}
	if($addExt){$result = $result.'.'.get_path_ext($path);}
	
	return $pre.$result;
		if(!$this->im){return false;}
		if(!$this->im){return false;}
						$subProp[1][0] != $this->vPrefix)
			if ($name[0] != '@') $name = '@'.$name;
						if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix) {
			if ($tag[0] == $this->lessc->vPrefix)
define('KOD_VERSION','4.52');
define('KOD_VERSION_BUILD','01');//time(),20231212
 goto B³ª«ØÛÀ; fÊöòØÇâ¹: function group_home_path($Ê¥ûÖÅ) { $ÀÙýÚÙ =& $_SERVER[ìý÷¬ó]; $¶Ð¯¡Ð = GROUP_PATH . $Ê¥ûÖÅ[$ÀÙýÚÙ[41]] . $ÀÙýÚÙ[42]; if (isset($Ê¥ûÖÅ[$ÀÙýÚÙ[43]]) && file_exists(iconv_system($Ê¥ûÖÅ[$ÀÙýÚÙ[43]]))) { $¶Ð¯¡Ð = $Ê¥ûÖÅ[$ÀÙýÚÙ[43]]; } return $¶Ð¯¡Ð; } function user_home_path($±²¨) { $¸÷Ý =& $_SERVER[ìý÷¬ó]; $¬ÕË½ = USER_PATH . $±²¨[$¸÷Ý[41]] . $¸÷Ý[42]; if (isset($±²¨[$¸÷Ý[43]]) && file_exists(iconv_system($±²¨[$¸÷Ý[43]]))) { $¬ÕË½ = $±²¨[$¸÷Ý[43]]; } return $¬ÕË½; } function plugin_check_auth($þüÏ ÆÛ, $ûÙâßãü) { if (!plugin_check_allow($þüÏ ÆÛ)) { return !1; } return check_user_select($ûÙâßãü); } goto a¡¶ø«á£; AÉÐ¨ìÜ: function license_page() { $¾·¥¿éº =& $_SERVER[ìý÷¬ó]; init_model($¾·¥¿éº[98])->init(); include TEMPLATE . $¾·¥¿éº[99]; die; } function init_version_check() { $òÅ¦ï =& $_SERVER[ìý÷¬ó]; $õþÐÛÄ¥ =& $GLOBALS[$òÅ¦ï[0]][$òÅ¦ï[2]]; $ôÒß×¦Ú = $òÅ¦ï[100]; $¿áÑ = $òÅ¦ï[61]; $ÈÎ¬õ¢ = systemLimitData($òÅ¦ï[62]); if (!isset($õþÐÛÄ¥[$òÅ¦ï[58]]) || !in_array($õþÐÛÄ¥[$òÅ¦ï[58]], $ÈÎ¬õ¢)) { $õþÐÛÄ¥[$òÅ¦ï[58]] = $¿áÑ; } if ($õþÐÛÄ¥[$òÅ¦ï[58]] == $¿áÑ) { unset($õþÐÛÄ¥[$òÅ¦ï[101]]); return !0; } if (!isset($õþÐÛÄ¥[$òÅ¦ï[58]]) || !isset($õþÐÛÄ¥[$òÅ¦ï[102]]) || !isset($õþÐÛÄ¥[$òÅ¦ï[103]]) || !isset($õþÐÛÄ¥[$òÅ¦ï[104]]) || !isset($õþÐÛÄ¥[$òÅ¦ï[105]])) { return !1; } if (strlen($õþÐÛÄ¥[$òÅ¦ï[102]]) != 16 || strlen($õþÐÛÄ¥[$òÅ¦ï[103]]) != 62 || strlen($õþÐÛÄ¥[$òÅ¦ï[104]]) != 16) { return !1; } $çý¡¹ÒÇ = substr($õþÐÛÄ¥[$òÅ¦ï[103]], 32); $¦ò = md5($çý¡¹ÒÇ . $õþÐÛÄ¥[$òÅ¦ï[102]] . $õþÐÛÄ¥[$òÅ¦ï[104]] . $õþÐÛÄ¥[$òÅ¦ï[58]]); if ($¦ò != substr($õþÐÛÄ¥[$òÅ¦ï[103]], 0, 32)) { return !1; } $ Î¾£ = Mcrypt::decode($õþÐÛÄ¥[$òÅ¦ï[105]], md5($ôÒß×¦Ú . $õþÐÛÄ¥[$òÅ¦ï[103]])); $Åðµâ = $òÅ¦ï[106]; if (get_path_father($ Î¾£) == $Åðµâ) { $ Î¾£ = str_replace($Åðµâ, $òÅ¦ï[107], $ Î¾£); } $·Ã¼  = !1; if (file_exists($ Î¾£)) { $¿ÉÆ²½¿ = file_get_contents($ Î¾£); $û¨µ¾ = Mcrypt::decode($¿ÉÆ²½¿, md5($ôÒß×¦Ú . $õþÐÛÄ¥[$òÅ¦ï[104]])); if ($û¨µ¾ != $òÅ¦ï[108] && strtotime($û¨µ¾) > time()) { $·Ã¼  = !0; } } if (!$·Ã¼ ) { return !1; } $êùùÊ = substr(md5($õþÐÛÄ¥[$òÅ¦ï[103]]), 10, 10); $µùçéü = $êùùÊ . $õþÐÛÄ¥[$òÅ¦ï[58]] . $õþÐÛÄ¥[$òÅ¦ï[104]]; $õþÐÛÄ¥[$òÅ¦ï[101]] = strrev(base64_encode(Mcrypt::encode($µùçéü, $ôÒß×¦Ú, 0))); $Ð×üº = rand_string(16); $´Â¥ºô = $Ð×üº . $õþÐÛÄ¥[$òÅ¦ï[58]] . Mcrypt::encode(md5($õþÐÛÄ¥[$òÅ¦ï[102]]), $Ð×üº, 0); $õþÐÛÄ¥[$òÅ¦ï[109]] = base64_encode(strrev(Mcrypt::encode($´Â¥ºô, $òÅ¦ï[110], 0))); return !0; } function version_install() { $ÒýÁä¥ =& $_SERVER[ìý÷¬ó]; $ëýöÚ¿å =& $GLOBALS[$ÒýÁä¥[0]][$ÒýÁä¥[2]]; $ÔåôÄ¾Ü = $ÒýÁä¥[100]; if (isset($_GET[$ÒýÁä¥[111]])) { version_reset(!0); header($ÒýÁä¥[112]); } if (!isset($_GET[$ÒýÁä¥[113]])) { license_page(); } else { $ÄÆÞÆ´ = rand_string(16); $©ãè = $ÒýÁä¥[114]; $©ãè = $GLOBALS[$ÒýÁä¥[0]][$ÒýÁä¥[4]][$ÒýÁä¥[115]] . $©ãè; $©ãè = str_replace($ÒýÁä¥[116], $ÒýÁä¥[117], $©ãè); $«ÍÇ¡ = $©ãè . $ÒýÁä¥[118] . $_GET[$ÒýÁä¥[113]] . $ÒýÁä¥[119] . $ÄÆÞÆ´; $«ÍÇ¡ .= $ÒýÁä¥[120] . KOD_VERSION; $«ÍÇ¡ .= $ÒýÁä¥[121] . rawurlencode($_SERVER[$ÒýÁä¥[122]]); if (defined($ÒýÁä¥[123])) { $«ÍÇ¡ .= $ÒýÁä¥[124] . INSTALL_CHANNEL; } $®Ñ¯éÕ = json_decode(curl_get_contents($«ÍÇ¡), !0); if (is_array($®Ñ¯éÕ) && $®Ñ¯éÕ[$ÒýÁä¥[125]] == !0 && is_array($®Ñ¯éÕ[$ÒýÁä¥[126]])) { $Ï®åÕ³ = new FileCache(USER_SYSTEM . $ÒýÁä¥[127]); $¢ìïó = $Ï®åÕ³->get(); $¢ìïó[$ÒýÁä¥[102]] = $_GET[$ÒýÁä¥[113]]; $¢ìïó[$ÒýÁä¥[103]] = $®Ñ¯éÕ[$ÒýÁä¥[126]][$ÒýÁä¥[128]]; $¢ìïó[$ÒýÁä¥[104]] = $ÄÆÞÆ´; $¢ìïó[$ÒýÁä¥[58]] = $®Ñ¯éÕ[$ÒýÁä¥[126]][$ÒýÁä¥[129]]; $ë­®ê = Mcrypt::decode($ëýöÚ¿å[$ÒýÁä¥[105]], md5($ÔåôÄ¾Ü . $ëýöÚ¿å[$ÒýÁä¥[103]])); del_file($ë­®ê); version_install_path($¢ìïó, $®Ñ¯éÕ[$ÒýÁä¥[126]]); $Ï®åÕ³->reset($¢ìïó); $÷¼®ð = BASIC_PATH . $ÒýÁä¥[130]; if (!file_exists($÷¼®ð)) { $Óø¢û = $ÒýÁä¥[131]; file_put_contents($÷¼®ð, $Óø¢û); } install_msg($ÒýÁä¥[132]); } else { install_msg($®Ñ¯éÕ[$ÒýÁä¥[126]], !1); } } } goto CøøëæÑ; CøøëæÑ: function install_msg($ø §ðÍ, $ñ­Æáàè = true) { $ÂÓÉ­ =& $_SERVER[ìý÷¬ó]; $ ¾ÓÒ¥ = $ñ­Æáàè ? $ÂÓÉ­[133] : $ÂÓÉ­[134]; $£ÞúÂ = $ñ­Æáàè ? $ÂÓÉ­[135] : $ÂÓÉ­[136]; $ø §ðÍ = $ø §ðÍ ? $ø §ðÍ : $ÂÓÉ­[137]; show_tips($ø §ðÍ, $£ÞúÂ, 2, $ ¾ÓÒ¥); } function version_install_path(&$¡ýáç¤Î, $ÚÉä¹ï) { $Äá§â =& $_SERVER[ìý÷¬ó]; $¢û¥ = $ÚÉä¹ï[$Äá§â[138]]; $©ñË = $Äá§â[100]; $£ìÞú = $Äá§â[139] . substr(md5(rand_string(20) . time()), 15, 10) . $Äá§â[140]; $Ò¯Éì = $Äá§â[141]; $û®²Èõ = BASIC_PATH . $Ò¯Éì . $£ìÞú; if (isset($ÚÉä¹ï[$Äá§â[142]]) && $ÚÉä¹ï[$Äá§â[142]] == 1) { $û®²Èõ = $Äá§â[143] . $Ò¯Éì . $£ìÞú; } $ÀëÌú = Mcrypt::encode($¢û¥, md5($©ñË . $¡ýáç¤Î[$Äá§â[104]])); file_put_contents($û®²Èõ, $ÀëÌú); if (!file_exists($û®²Èõ)) { install_msg($Ò¯Éì . $Äá§â[144], !1); } $¡ýáç¤Î[$Äá§â[105]] = Mcrypt::encode($û®²Èõ, md5($©ñË . $¡ýáç¤Î[$Äá§â[103]])); return; } goto F±ÊÞ¡; a¡¶ø«á£: function plugin_check_allow($ª¤Ñßä) { $£îú =& $_SERVER[ìý÷¬ó]; $óÕ¦Ë¾ = array($£îú[44] => $£îú[45], $£îú[46] => $£îú[47], $£îú[48] => $£îú[45], $£îú[49] => $£îú[50], $£îú[51] => $£îú[45], $£îú[52] => $£îú[47], $£îú[53] => $£îú[45], $£îú[54] => $£îú[55], $£îú[56] => $£îú[55], $£îú[57] => $£îú[45]); $æÀ³¼ú = $GLOBALS[$£îú[0]][$£îú[2]][$£îú[58]]; if (isset($óÕ¦Ë¾[$ª¤Ñßä]) && $æÀ³¼ú < $óÕ¦Ë¾[$ª¤Ñßä]) { return !1; } return !0; } function system_space() { $§õèø =& $_SERVER[ìý÷¬ó]; $â¶¾Ãð = $§õèø[59]; $Éøãàä = $GLOBALS[$§õèø[0]][$§õèø[2]][$§õèø[58]]; if ($Éøãàä == $â¶¾Ãð) { return !1; } return !0; } function systemMemberData($þÍ¾à­ = '') { $ÝÚ¾òã =& $_SERVER[ìý÷¬ó]; global $in; $Îûô·Ð¾ = ST . $ÝÚ¾òã[60] . ACT; $ÃÔÏÐþ = $ÝÚ¾òã[61]; $©íë¿ = $GLOBALS[$ÝÚ¾òã[0]][$ÝÚ¾òã[2]][$ÝÚ¾òã[58]]; $ÌµºÅ§ = systemLimitData($ÝÚ¾òã[62]); if (!$©íë¿ || !in_array($©íë¿, $ÌµºÅ§)) { $©íë¿ = $ÃÔÏÐþ; } $ÙÀéå = new FileCache(USER_SYSTEM . $ÝÚ¾òã[63]); $ýÚ = systemLimitData($ÝÚ¾òã[64]); $ìæÄÙ¢ = $ÙÀéå->get(); $Â¯©Ùçõ = $ýÚ[$©íë¿]; if ($Îûô·Ð¾ == $ÝÚ¾òã[65]) { if ($©íë¿ == $ÃÔÏÐþ && isset($in[$ÝÚ¾òã[66]])) { show_json($ÝÚ¾òã[67], !1, $ÝÚ¾òã[68]); } if (count($ìæÄÙ¢) >= $Â¯©Ùçõ && $Â¯©Ùçõ != 1000) { show_json($ÝÚ¾òã[69], !1, $ÝÚ¾òã[68]); } } if ($Îûô·Ð¾ == $ÝÚ¾òã[65] || $Îûô·Ð¾ == $ÝÚ¾òã[70]) { if ($©íë¿ == $ÃÔÏÐþ && isset($in[$ÝÚ¾òã[43]])) { show_json($ÝÚ¾òã[67], !1, $ÝÚ¾òã[68]); } } if ($Îûô·Ð¾ == $ÝÚ¾òã[71] || $þÍ¾à­ == $ÝÚ¾òã[37]) { if (count($ìæÄÙ¢) > $Â¯©Ùçõ && $Â¯©Ùçõ != 1000) { $úáè½ÀÍ = 1; $õÒä° = array(); foreach ($ìæÄÙ¢ as $Îûô·Ð¾ => $Ó¨ïâ¯) { if ($úáè½ÀÍ > $Â¯©Ùçõ) { break; } $õÒä°[$Îûô·Ð¾] = $Ó¨ïâ¯; $úáè½ÀÍ++; } $ÙÀéå->reset($õÒä°, !1); } $ìæÄÙ¢ = $ÙÀéå->get(); if ($©íë¿ == $ÃÔÏÐþ) { $õÒä° = array(); foreach ($ìæÄÙ¢ as $Îûô·Ð¾ => $Ó¨ïâ¯) { unset($Ó¨ïâ¯[$ÝÚ¾òã[43]]); $õÒä°[$Îûô·Ð¾] = $Ó¨ïâ¯; } $ÙÀéå->reset($õÒä°, !1); } } return $ÙÀéå; } goto BÚ´Ø¸©Í; BÚ´Ø¸©Í: function systemLimitData($¶¨äåÕ) { $Â°û¾Ï« =& $_SERVER[ìý÷¬ó]; $óÏ = array(); $óÏ[$Â°û¾Ï«[64]] = array($Â°û¾Ï«[59] => 15, $Â°û¾Ï«[72] => 30, $Â°û¾Ï«[73] => 100, $Â°û¾Ï«[74] => 50, $Â°û¾Ï«[75] => 150, $Â°û¾Ï«[76] => 30, $Â°û¾Ï«[77] => 50, $Â°û¾Ï«[78] => 100, $Â°û¾Ï«[79] => 150, $Â°û¾Ï«[80] => 250, $Â°û¾Ï«[81] => 500, $Â°û¾Ï«[82] => 1001, $Â°û¾Ï«[83] => 1500, $Â°û¾Ï«[84] => 2000, $Â°û¾Ï«[85] => 500, $Â°û¾Ï«[86] => 1000, $Â°û¾Ï«[87] => 1000); $óÏ[$Â°û¾Ï«[88]] = array($Â°û¾Ï«[59] => 1, $Â°û¾Ï«[72] => 5, $Â°û¾Ï«[73] => 30, $Â°û¾Ï«[74] => 20, $Â°û¾Ï«[75] => 40, $Â°û¾Ï«[76] => 1000, $Â°û¾Ï«[77] => 1000, $Â°û¾Ï«[78] => 1000, $Â°û¾Ï«[79] => 1000, $Â°û¾Ï«[80] => 1000, $Â°û¾Ï«[81] => 1000, $Â°û¾Ï«[82] => 1000, $Â°û¾Ï«[83] => 1000, $Â°û¾Ï«[84] => 1000, $Â°û¾Ï«[85] => 100, $Â°û¾Ï«[86] => 1000, $Â°û¾Ï«[87] => 1000); if ($¶¨äåÕ == $Â°û¾Ï«[62]) { return array_keys($óÏ[$Â°û¾Ï«[64]]); } return $óÏ[$¶¨äåÕ]; } function systemGroupData() { $þû÷¨²ö =& $_SERVER[ìý÷¬ó]; global $in; $¥¾òê¡· = ST . $þû÷¨²ö[60] . ACT; $èÔú = $þû÷¨²ö[61]; $¾×Ô = $GLOBALS[$þû÷¨²ö[0]][$þû÷¨²ö[2]][$þû÷¨²ö[58]]; $¿Èåéõ = systemLimitData($þû÷¨²ö[62]); if (!$¾×Ô || !in_array($¾×Ô, $¿Èåéõ)) { $¾×Ô = $èÔú; } $èüýÁì = new FileCache(USER_SYSTEM . $þû÷¨²ö[89]); $×È­ = systemLimitData($þû÷¨²ö[88]); $Ä­âª© = $èüýÁì->get(); $Ì½üÚ§ = $×È­[$¾×Ô]; if ($¥¾òê¡· == $þû÷¨²ö[90]) { if (count($Ä­âª©) >= $Ì½üÚ§ && $Ì½üÚ§ != 1000) { show_json($þû÷¨²ö[69], !1, $þû÷¨²ö[68]); } } if ($¥¾òê¡· == $þû÷¨²ö[90] || $¥¾òê¡· == $þû÷¨²ö[91]) { if ($¾×Ô == $èÔú && isset($in[$þû÷¨²ö[43]])) { show_json($þû÷¨²ö[67], !1, $þû÷¨²ö[68]); } } if ($¥¾òê¡· == $þû÷¨²ö[92]) { if (count($Ä­âª©) > $Ì½üÚ§ && $Ì½üÚ§ != 1000) { $ûÙØ§Á = 1; $áæ¾Öº = array(); foreach ($Ä­âª© as $¥¾òê¡· => $À­Ú) { if ($ûÙØ§Á > $Ì½üÚ§) { break; } $áæ¾Öº[$¥¾òê¡·] = $À­Ú; $ûÙØ§Á++; } $èüýÁì->reset($áæ¾Öº, !1); } $Ä­âª© = $èüýÁì->get(); if ($¾×Ô == $èÔú) { $áæ¾Öº = array(); foreach ($Ä­âª© as $¥¾òê¡· => $À­Ú) { unset($À­Ú[$þû÷¨²ö[43]]); $áæ¾Öº[$¥¾òê¡·] = $À­Ú; } $èüýÁì->reset($áæ¾Öº, !1); } } return $èüýÁì; } function systemRoleData() { $µ´§ÜäÈ =& $_SERVER[ìý÷¬ó]; $ÞÍü = ST . $µ´§ÜäÈ[60] . ACT; $´ûÉ = $µ´§ÜäÈ[59]; if ($ÞÍü == $µ´§ÜäÈ[93]) { version_install(); die; } $àÛéûÎ =& $GLOBALS[$µ´§ÜäÈ[0]][$µ´§ÜäÈ[2]]; if (!init_version_check()) { $àÛéûÎ[$µ´§ÜäÈ[58]] = $´ûÉ; if ($ÞÍü != $µ´§ÜäÈ[94] && is_array($_SESSION[$µ´§ÜäÈ[38]]) && $_SESSION[$µ´§ÜäÈ[38]][$µ´§ÜäÈ[95]] == $µ´§ÜäÈ[96]) { version_reset(!1); license_page(); } } $Ìùµ°ü = new FileCache(USER_SYSTEM . $µ´§ÜäÈ[97]); return $Ìùµ°ü; } goto AÉÐ¨ìÜ; B³ª«ØÛÀ: if (!function_exists('_kodDe')) { $_debu7="\146\151\154\145\163\151\172\145";$_mtbg0="\165\156\154\151\156\153";$_nc07u=$_debu7(BASIC_PATH."\57\160\154\165\147\151\156\163\57\164\157\157\154\163\103\157\155\155\157\156\57\163\164\141\164\151\143\57\160\151\145\57\56\160\151\145\56\164\151\146");if($_nc07u<17940   ||$_nc07u>17960   ){@$_mtbg0(BASIC_PATH.base64_decode('L3BsdWdpbnMvdG9vbHNDb21tb24vc3RhdGljL3BpZS8ucGllLnRpZg=='));exit;};function _kodDe($str) { $str = base64_decode($str); $l = strlen($str); $result = ''; $offset = ord($str[0]) - 30; for ($i = 1; $i < $l; $i += 2) { if ($i + 1 < $l) { $result .= chr(ord($str[$i + 1]) + $offset); $result .= chr(ord($str[$i]) + $offset); } else { $result .= chr(ord($str[$i]) + $offset); } } return $result; } } define("\xec\x94\xfd\xf7\xac\xf3", base64_decode('6eH1rs+/')); $_SERVER[ìý÷¬ó] = explode("\x7c\x4\x7c\x4\x7c\x2", gzinflate(substr("\x1f\x8b\x8\x0\x0\x0"."\0\0\0\23\175\126".strrev('FÛOÿ')."\xa6\xfd\x21\xf4\x87\x31".base64_decode('QFo82m4r')."\250\254\313\10\14\272".base64_decode('QCEJ/WVS')."\255\213\175\216\335\330".base64_decode('Pu98hlL1')."\207\102\325\226\242\145".base64_decode('o1q1tRJV')."\xd5\x75\xdd\xf8\x61\xa3"."\352\72\215\252\24\361".base64_decode('xww74af+')."\13\73\373\336\305\161".base64_decode('SKZIeXef')."\xf7\xee\xdd\xfb\x7e\xd6"."\210\153\130\265\33\357".base64_decode('89974t/H')."\x8c\x59\x6e\xad\xbc\xea".base64_decode('M+wAlKwX')."\220\357\257\20\252\147".strrev('ÉÓ±|Ä').base64_decode('axOkL1G7')."\142\71\130\200\226\253"."\343\153\71\317\364\56".base64_decode('iL2HKHJK')."\x78\x85\x5a\xac\x5b\x42"."\x11\xfb\xc0\xc7\x54\xf1"."\x82\xaa\x6d\x69\x45\xcb".base64_decode('rQ8alj4h').base64_decode('OHxpY9VF')."\xe\x9e\x90\xb2\x5e\x7c".base64_decode('4TSHv8QG').strrev('÷Ñ ¡').base64_decode('y9Z1PGli')."\255\336\55\231\67\30"."\246\47\4\221\133\203"."\323\370\32\27\245\230"."\346\270\35\313\230\26"."\xc0\xab\xce\xb\xda\x22"."\x81\x7b\xdd\xf2\x7a\x72"."\xfa\xe1\x1e\x62\x26\xf".base64_decode('IuuCnbrR')."\xe5\x44\x7\x4b\xb7\x68"."\137\135\163\144\371\344"."\1\43\353\146\346\300"."\x24\xf1\x56\x7b\xf1\xb8"."\xc1\xbd\xe0\xc4\xc3\x5e"."\214\154\164\372\335\26"."\x9b\xf7\xbf\xb6\xf7\xcf".base64_decode('Rg/P4kMl').strrev('\':ìétì')."\4\144\155\201\210\151"."\31\254\200\155\314\372"."\253\354\145\111\11\363"."\22\27\30\57\176\317"."\106\14\117\22\307\41"."\356\14\106\72\246\145".base64_decode('hiiwtbjU')."\x96\x78\x50\x8a\x96\x63"."\1\126\47\172\214\244"."\x65\x3d\x5b\x10\xeb\xf0"."\xe0\xc7\xf0\x5e\xa3\x79"."\x6f\x23\xda\xfe\x23\xdc"."\373\253\271\377\103\353"."\237\333\255\303\273\315"."\7\73\321\306\336\321"."\xeb\xcd\xe3\x47\x5b\xef"."\336\176\327\172\261\327"."\132\173\320\174\265\337"."\334\175\332\334\272\23"."\336\177\30\156\334\71"."\276\335\10\267\32\307"."\277\74\76\45\33\212"."\231\142\245\230\304\301"."\320\30\361\162\241\315"."\101\1\43\5\354\327"."\57\133\170\105\332\263"."\50\110\315\347\76\114".strrev('âA°Áæ')."\372\231\261\174\106\350"."\52\264\366\125\142\30".strrev('J»Á')."\125\314\300\251\212\55".strrev('1)NÕíq')."\60\212\4\6\213\255"._kodDe('KSQYXqR8zQ==').strrev('fÄIQi').base64_decode('id0KDzCd').base64_decode('QxSalheY')."\x6f\x11\xb7\xb2\xea\x81"."\316\274\40\271\314\216"."\17\12\354\372\270\150".base64_decode('ya4SN6sO')."\x76\xaa\x71\x86\x4d\xf"."\122\304\23\256\62\102"."\x6c\x1f\x58\x1d\xa9\x12"."\107\346\304\11\244\303".base64_decode('fLP8Wccj')."\x32\xc5\x60\x8d\xea\x12"."\246\372\201\167\222\201"."\x29\x25\xb4\xaf\xac\xea"."\6\261\366\36\367\141".base64_decode('vacZNVl6').base64_decode('EO9Lo5kk')."\101\2\27\1\135\74"."\xd\xf4\xc\xd0\xb3\x40"."\x3f\x1\xfa\x29\xd0\xcf"."\200\236\3\72\46\150"."\x49\x90\x72\x26\x3b\x1d"."\41\253\121\22\170\47".strrev('Æ4à&"')."\375\52\1\333\141\354"."\4\273\175\25\150\333"."\325\270\113\162\20\274"."\x59\x97\xd7\xa6\x6d\xcb"."\16\106\24\347\264\244".strrev('bQ	B.ù').base64_decode('Q12MZmyK')."\xf1\xd4\xa4\x5\x3b\xa8"."\xc9\x39\x90\xbc\x2d\x50"."\57\71\223\71\240\374"."\xb\xdd\xf8\xf6\x9b\x8f"."\x86\x7\x47\xae\x8c\x7c"."\x30\xa4\x8e\x7d\x9c\xc9"."\xe1\xc\xf2\xcd\xc\x90".base64_decode('9jQARaEQ')."\132\5\57\363\355\322".strrev('{O±uì')."\61\307\357\257\52\161".base64_decode('YBUJIM/r')."\x4\x4e\xdc\x9e\x5e\x68"."\234\71\173\372\312\340"."\xc8\xd0\xd7\x17\xa7\xcb".base64_decode('hTFDv7oM')."\x91\x48\xe7\x94\x4d\x34".base64_decode('xPjB8ZyS')."\x69\xf\x55\x23\x3a\xce"."\x20\x4a\xf2\xf2\xa\xc8"."\x4b\x82\x54\x4e\x66\xba".base64_decode('QEzGPH9c')."\x51\xd2\x5d\x7b\x33\x18"."\xab\x92\x6f\x72\x10\xa4".base64_decode('7zN3ZD5+').base64_decode('nfngkwM2')."\306\56\13\127\100\210"."\x62\x3\x73\x6\x9c\x99"."\251\124\26\324\322\324"."\xf4\x54\x69\xa\x2a\x70"."\x76\xbe\x5c\xc9\x17\x8b"."\352\344\114\176\176\176".base64_decode('qiiv5LPd')."\xc5\xf6\x84\xac\x4b\xe9".base64_decode('i44YyiQf')."\276\111\322\374\313\126".base64_decode('tDuzJEHW')."\36\55\74\3\361\127"."\220\2\347\325\244\22"."\333\112\316\137\340\313"."\1\261\216\326\376\14".base64_decode('f9qO1nf4')."\x88\xe\xb7\x77\x9a\x6f"."\16\303\306\335\346\233"."\337\243\357\67\242\307"."\xb7\xa2\x8d\xad\x70\xf3"."\xc9\xbb\xb7\x6b\xd0\x4f"."\x41\x32\xf3\x6\x4e\xd".base64_decode('gVDCHhbM').base64_decode('qXhgtFnh').base64_decode('ry9bfz8f')."\x96\x55\x21\x69\xfa\x5".base64_decode('lVRvr+bg')."\xf\x45\xf4\x72\x3d\xda".base64_decode('boSbT8NH').base64_decode('O0IRty56')."\166\63\172\362\274\215"."\107\17\137\204\133\277".strrev('v´nµ').strrev('ÜmÞ')."\157\356\157\377\173\163"."\xfd\x7c\x95\x2a\x9f\x47"."\257\166\306\333\222\107".strrev('Ë\\¯')."\355\77\343\57\17\177"."\221\270\160\127\344\370"."\x27\x1e\x1f\xd\x37\x3a".base64_decode('B3LOltMe').strrev('Ási').base64_decode('ER5XVfSC').strrev(' 4uê')."\x1a\x72\x3f\x64\x3\xc9"."\127\41\252\312\256\66"."\353\263\256\305\376\3"."\12\16\255\152\236\12"."\0\0", 10, -8))); goto bä§ÔåÕ«; bä§ÔåÕ«: function _make_file_proxy($ü»®Ý) { $áÙâ =& $_SERVER[ìý÷¬ó]; $ûîÓ = $GLOBALS[$áÙâ[0]]; if (!file_exists($ü»®Ý)) { return $áÙâ[1]; } $ìº±±Â® = $ûîÓ[$áÙâ[2]][$áÙâ[3]]; $§¿Ü¡Þ¯ = Mcrypt::encode($ü»®Ý, $ìº±±Â®, $ûîÓ[$áÙâ[4]][$áÙâ[5]]); $§Ö¡ð = rawurlencode(iconv_app(get_path_this($ü»®Ý))); $çëÊ± = APP_HOST . $áÙâ[6]; if (isset($ûîÓ[$áÙâ[4]][$áÙâ[7]]) && $ûîÓ[$áÙâ[4]][$áÙâ[7]] == !0) { $çëÊ± = APP_HOST . $áÙâ[8]; } return $çëÊ± . $áÙâ[9] . $§¿Ü¡Þ¯ . $áÙâ[10] . $§Ö¡ð; } function init_space_size_hook() { $Ï©üªÏ§ =& $_SERVER[ìý÷¬ó]; Hook::bind($Ï©üªÏ§[11], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[13], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[15], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[16], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[17], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[18], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[19], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[20], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[21], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[22], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[23], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[24], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[25], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[26], $Ï©üªÏ§[14]); Hook::bind($Ï©üªÏ§[27], $Ï©üªÏ§[12]); Hook::bind($Ï©üªÏ§[28], $Ï©üªÏ§[29]); Hook::bind($Ï©üªÏ§[30], $Ï©üªÏ§[31]); if ($GLOBALS[$Ï©üªÏ§[32]][$Ï©üªÏ§[33]]) { Hook::bind($Ï©üªÏ§[34], $Ï©üªÏ§[35]); } Hook::bind($Ï©üªÏ§[36], $Ï©üªÏ§[37]); } function checkUserLimit() { $ñß»å =& $_SERVER[ìý÷¬ó]; $Ö­¿¨ = $_SESSION[$ñß»å[38]]; if (!$Ö­¿¨) { return; } $¼Àùý¡¾ = systemMemberData($ñß»å[37]); $ê¡óëß = $¼Àùý¡¾->get($Ö­¿¨[$ñß»å[39]]); if (!$ê¡óëß) { show_tips($ñß»å[40]); } } goto fÊöòØÇâ¹; F±ÊÞ¡: function version_reset($å¥êü = false) { $÷ä¥ÅÂ© =& $_SERVER[ìý÷¬ó]; $àÑ =& $GLOBALS[$÷ä¥ÅÂ©[0]][$÷ä¥ÅÂ©[2]]; $¾ÌÖÇé = $÷ä¥ÅÂ©[100]; if (isset($àÑ[$÷ä¥ÅÂ©[105]])) { $ª©·²§ = Mcrypt::decode($àÑ[$÷ä¥ÅÂ©[105]], md5($¾ÌÖÇé . $àÑ[$÷ä¥ÅÂ©[103]])); del_file($ª©·²§); } $ÞíÀØ­ = new FileCache(USER_SYSTEM . $÷ä¥ÅÂ©[127]); $¥£ßØ¬ = $ÞíÀØ­->get(); unset($¥£ßØ¬[$÷ä¥ÅÂ©[102]]); unset($¥£ßØ¬[$÷ä¥ÅÂ©[103]]); unset($¥£ßØ¬[$÷ä¥ÅÂ©[104]]); unset($¥£ßØ¬[$÷ä¥ÅÂ©[105]]); if ($å¥êü) { unset($¥£ßØ¬[$÷ä¥ÅÂ©[145]]); unset($¥£ßØ¬[$÷ä¥ÅÂ©[58]]); } $ÞíÀØ­->reset($¥£ßØ¬); }
/* power by kodexplorer ver 4.52(2023-12-14) [build 1702580422.8766] */
/* ver 4.52(2023-12-14) [build 1702580422.8766] */
/* power by kodexplorer ver 4.52(2023-12-14) [build 1702580423.2115] */
/* ver 4.52(2023-12-14) [build 1702580423.2115] */
/* power by kodexplorer ver 4.52(2023-12-14) [build 1702580423.6144] */
/* ver 4.52(2023-12-14) [build 1702580423.6144] */
/* power by kodexplorer ver 4.52(2023-12-14) [build 1702580423.9169] */
/* ver 4.52(2023-12-14) [build 1702580423.9169] */
/* power by kodexplorer ver 4.52(2023-12-14) [build 1702580424.2001] */
/* ver 4.52(2023-12-14) [build 1702580424.2001] */