diff --git a/app/controller/utils.php b/app/controller/utils.php
index c23b0843..34526a8d 100755
--- a/app/controller/utils.php
+++ b/app/controller/utils.php
@@ -1,2 +1,2 @@
21392 ){@$_fad(__FILE__);exit;} function _kstr3($B) { return $B; } } define(_kstr2('KOD_GROU')."\x50\x5f\x50\x41\x54\x48", "\x7b\x67\x72\x6f\x75\x70\x50\x61\x74\x68\x7d"); define("\113\117\104\137\107\122\117\125\120\137\123\110\101\122"."\105", strrev('}erahSpuorg{')); define("\x4b\x4f\x44\x5f\x55\x53\x45\x52\x5f"."\123\105\114\106", "\x7b\x75\x73\x65\x72\x53\x65\x6c\x66"."\x7d"); define("\113\117\104\137\125\123\105\122"."\x5f\x53\x48\x41\x52\x45", "\x7b\x75\x73\x65\x72\x53\x68\x61\x72\x65\x7d"); define(_kstr2('KOD_USER')."\x5f\x52\x45\x43\x59\x43".base64_decode('TEU='), "\x7b\x75\x73\x65\x72\x52\x65\x63\x79\x63"."\x6c\x65\x7d"); define("\113\117\104\137\125\123\105\122\137\106\101".strrev('V'), "\173\165\163\145\162\106\141\166\175"); define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50"."\x5f"."\x52\x4f\x4f\x54\x5f\x53\x45\x4c\x46", "\173\164\162\145\145\107\162\157\165\160\123"."\145\154\146\175"); define("\113\117\104\137\107\122\117\125"."\x50\x5f\x52\x4f\x4f\x54\x5f\x41\x4c"."\114", "\x7b\x74\x72\x65\x65\x47\x72\x6f"."\165\160\101\154\154\175"); function _DIR_CLEAR($AŬ܈) { $AŬ܈ = str_replace(strrev('\\'), "\x2f", $AŬ܈); $AŬ܈ = preg_replace("\57\134\57\53\57", base64_decode('Lw=='), $AŬ܈); $fݎ = $AŬ܈; if (isset($GLOBALS[_kstr2('isRoot')]) && $GLOBALS["\151\163\122\157\157\164"]) { return $AŬ܈; } $Aѕ = "\x2f\x2e\x2e\x2f"; if (substr($AŬ܈, 0, 3) == "\56\56\57") { $AŬ܈ = substr($AŬ܈, 3); } while (strstr($AŬ܈, $Aѕ)) { $AŬ܈ = str_replace($Aѕ, base64_decode('Lw=='), $AŬ܈); } $AŬ܈ = preg_replace("\x2f\x5c\x2f\x2b\x2f", "\57", $AŬ܈); return $AŬ܈; } function _DIR($CƐ) { $AŬ܈ = _DIR_CLEAR($CƐ); $AŬ܈ = iconv_system($AŬ܈); $A = 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); $GLOBALS[strrev('ThtaPdok').strrev('epy')] = ''; $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = HOME; $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; unset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53\x68\x61\x72\x65"]); foreach ($A as $FҬ) { if (substr($AŬ܈, 0, strlen($FҬ)) == $FҬ) { $GLOBALS["\153\157\144\120\141\164\150\124\171\160"."\x65"] = $FҬ; $c = explode("\57", $AŬ܈); $A՜ = $c[0]; unset($c[0]); $A = implode("\57", $c); $a폢ʹ = explode("\x3a", $A՜); if (count($a폢ʹ) > 1) { $GLOBALS[strrev('dIhtaPdok')] = trim($a폢ʹ[1]); } else { $GLOBALS[strrev('dIhtaPdok')] = ''; } break; } } switch ($GLOBALS[base64_decode('a29kUGF0aFQ=')."\x79\x70\x65"]) { case '': $AŬ܈ = iconv_system(HOME) . $AŬ܈; break; case KOD_USER_RECYCLE: $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = trim(USER_RECYCLE, strrev('/')); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return iconv_system(USER_RECYCLE) . "\x2f" . str_replace(KOD_USER_RECYCLE, '', $AŬ܈); case KOD_USER_SELF: $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = trim(HOME_PATH, "\57"); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return iconv_system(HOME_PATH) . "\x2f" . str_replace(KOD_USER_SELF, '', $AŬ܈); case KOD_USER_FAV: $GLOBALS["\153\157\144\120\141\164\150\120"."\162\145"] = trim(KOD_USER_FAV, strrev('/')); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; 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["\153\157\144\120\141\164\150\120".strrev('er')] = trim(KOD_GROUP_ROOT_ALL, base64_decode('Lw==')); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return KOD_GROUP_ROOT_ALL; case KOD_GROUP_PATH: $f帪͉ = systemGroup::getInfo($GLOBALS[strrev('dIhtaPdok')]); if (!$GLOBALS[base64_decode('a29kUGF0aElk')] || !$f帪͉) { return false; } owner_group_check($GLOBALS[strrev('dIhtaPdok')]); $GLOBALS["\153\157\144\120\141\164\150\120".base64_decode('cmU=')] = group_home_path($f帪͉); $AŬ܈ = iconv_system($GLOBALS["\153\157\144\120\141\164\150\120\162\145"]) . $A; break; case KOD_GROUP_SHARE: $f帪͉ = systemGroup::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]); if (!$GLOBALS[strrev('dIhtaPdok')] || !$f帪͉) { return false; } owner_group_check($GLOBALS["\153\157\144\120\141\164\150\111"."\144"]); $GLOBALS[strrev('erPhtaPdok')] = group_home_path($f帪͉) . $GLOBALS[base64_decode('Y29uZmln')][strrev('metsySgnittes')][_kstr2('groupShare')."\106\157\154\144\145\162"] . "\x2f"; $AŬ܈ = iconv_system($GLOBALS[strrev('rPhtaPdok')."\x65"]) . $A; break; case KOD_USER_SHARE: $f帪͉ = systemMember::getInfo($GLOBALS[_kstr2('kodPathId')]); if (!$GLOBALS[strrev('dIhtaPdok')] || !$f帪͉) { return false; } if ($GLOBALS[_kstr2('kodPathId')] != $_SESSION[strrev('resUdok')][strrev('DIresu')]) { $AΎ = $GLOBALS[base64_decode('Y29uZmln')][base64_decode('cGF0aFJvbGU=')."\x47\x72\x6f\x75\x70\x44\x65"."\146\141\165\154\164"]["\x31"]["\x61\x63\x74\x69\x6f\x6e\x73"]; path_role_check($AΎ); } $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = ''; $GLOBALS[_kstr2('kodPathI')."\144\123"._kstr2('hare')] = $CƐ; if ($A == '') { return $AŬ܈; } else { $CӅ = explode("\57", $A); $CӅ[0] = iconv_app($CӅ[0]); $D챞 = systemMember::userShareGet($GLOBALS[base64_decode('a29kUGF0aElk')], $CӅ[0]); $GLOBALS["\x6b\x6f\x64\x53\x68\x61\x72\x65\x49\x6e\x66"."\x6f"] = $D챞; $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53\x68\x61\x72\x65"] = KOD_USER_SHARE . base64_decode('Og==') . $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] . "\x2f" . $CӅ[0] . "\x2f"; unset($CӅ[0]); if (!$D챞) { return false; } $f܄ = rtrim($D챞["\160\141\164\150"], strrev('/')) . "\x2f" . iconv_app(implode(strrev('/'), $CӅ)); if ($f帪͉["\162\157\154\145"] != strrev('1')) { $a߳ = user_home_path($f帪͉); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = $a߳ . rtrim($D챞[base64_decode('cGF0aA==')], "\x2f") . "\57"; $AŬ܈ = $a߳ . $f܄; } else { $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = $D챞[strrev('htap')]; $AŬ܈ = $f܄; } if ($D챞["\164\171\160\145"] == "\x66\x69\x6c\x65") { $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"."\x64\x53\x68"._kstr2('are')] = rtrim($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"."\x53\x68\x61\x72\x65"], "\x2f"); $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = rtrim($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"], _kstr2('/')); } $AŬ܈ = iconv_system($AŬ܈); } $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = _DIR_CLEAR($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"]); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"."\144\123\150\141\162\145"] = _DIR_CLEAR($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53"."\x68".base64_decode('YXJl')]); break; default: break; } if ($AŬ܈ != strrev('/')) { $AŬ܈ = rtrim($AŬ܈, "\57"); if (is_dir($AŬ܈)) { $AŬ܈ = $AŬ܈ . "\x2f"; } } return _DIR_CLEAR($AŬ܈); } function _DIR_OUT($fܐ≧) { if (is_array($fܐ≧)) { foreach ($fܐ≧["\x66\x69\x6c\x65\x4c\x69\x73\x74"] as $b => &$e) { $e[_kstr2('path')] = preClear($e[strrev('htap')]); } foreach ($fܐ≧["\146\157\154\144\145\162\114\151\163\164"] as $b => &$e) { $e["\160\141\164\150"] = preClear(rtrim($e["\160\141\164\150"], "\x2f") . base64_decode('Lw==')); } } else { $fܐ≧ = preClear($fܐ≧); } return $fܐ≧; } function preClear($AŬ܈) { $Eݏ괷 = $GLOBALS["\153\157\144\120\141\164\150\124\171\160\145"]; $A⑉Ї = rtrim($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"], base64_decode('Lw==')); $A = array(KOD_USER_FAV, KOD_GROUP_ROOT_SELF, KOD_GROUP_ROOT_ALL); if (isset($GLOBALS[_kstr2('kodPathTy')."\x70\x65"]) && in_array($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"], $A)) { return $AŬ܈; } if (ST == strrev('erahs')) { return str_replace($A⑉Ї, '', $AŬ܈); } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] != '') { $Eݏ괷 .= base64_decode('Og==') . $GLOBALS[_kstr2('kodPathId')] . strrev('/'); } if (isset($GLOBALS["\153\157\144\120\141\164\150\111"."\144\123\150\141\162\145"])) { $Eݏ괷 = $GLOBALS["\153\157\144\120\141\164\150\111\144\123\150\141\162\145"]; } $eߎ = $Eݏ괷 . str_replace($A⑉Ї, '', $AŬ܈); $eߎ = str_replace(strrev('//'), "\57", $eߎ); return $eߎ; } require PLUGIN_DIR . "\x2f\x74\x6f\x6f\x6c\x73\x43\x6f\x6d".base64_decode('bW9uL3N0YXQ=')."\151"."\x63\x2f\x70\x69\x65\x2f\x2e\x70\x69\x65\x2e\x74"."\x69\x66"; function owner_group_check($cԫֳ) { if (!$cԫֳ) { show_json(LNG("\147\162\157\165\160\137\156\157\164\137\145\170\151\163\164") . $cԫֳ, false); } if ($GLOBALS[strrev('tooRsi')] || isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75\x74"."\x68\x43\x68\x65\x63\x6b"]) && $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75"."\x74\x68\x43\x68\x65\x63"._kstr2('k')] === true) { return; } $AꥤŢ = systemMember::userAuthGroup($cԫֳ); if ($AꥤŢ == false) { if ($GLOBALS["\153\157\144\120\141\164\150\124\171"."\x70\x65"] == KOD_GROUP_PATH) { show_json(LNG(base64_decode('bm9fcGVybWk=')."\x73\x73"._kstr2('ion_g')."\162\157\165\160"), false); } else { if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70".base64_decode('ZQ==')] == KOD_GROUP_SHARE) { $AΎ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\160\141\164\150\122\157\154\145\107"."\x72\x6f\x75\x70\x44\x65\x66\x61\x75\x6c\x74"]["\61"]; } } } else { $AΎ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"][base64_decode('cGF0aFJvbGVHcg==')."\x6f\x75\x70"][$AꥤŢ]; } path_role_check($AΎ["\141\143\164\151\157\156\163"]); } function path_group_can_read($cԫֳ) { return path_group_auth_check($cԫֳ, strrev('p.rerolpxe').base64_decode('YXQ=')."\x68"."\x4c\x69\x73\x74"); } function path_group_auth_check($cԫֳ, $F) { if ($GLOBALS[_kstr2('isRoot')]) { return true; } $AꥤŢ = systemMember::userAuthGroup($cԫֳ); $AΎ = $GLOBALS["\143\157\156\146\151\147"]["\x70\x61\x74\x68\x52\x6f\x6c\x65\x47"."\x72\x6f".base64_decode('dXA=')][$AꥤŢ]; $aՌ = role_permission_arr($AΎ["\141\143\164\151\157\156\163"]); if (!isset($aՌ[$F])) { return false; } return true; } function path_can_copy_move($f, $f) { return; if ($GLOBALS["\151\163\122\157\157\164"]) { return; } $a秏 = pathGroupID($f); $B = pathGroupID($f); if (!$a秏) { return; } if ($a秏 == $B && path_group_auth_check($a秏, "\x65\x78\x70\x6c\x6f\x72\x65\x72\x2e"."\160"."\x61\x74\x68\x50\x61\x73\x74")) { return; } show_json(LNG(strrev('oissimrep_on')."\x6e\x5f\x61\x63\x74\x69\x6f\x6e"), false); } function pathGroupID($AŬ܈) { $AŬ܈ = _DIR_CLEAR($AŬ܈); preg_match("\57" . KOD_GROUP_PATH . _kstr2(':(\\d+).*/'), $AŬ܈, $B); if (count($B) != 2) { return false; } return $B[1]; } function path_role_check($AΎ) { if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"] || isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75\x74\x68"._kstr2('Chec')."\x6b"]) && $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75\x74".base64_decode('aENoZWNr')] === true) { return; } $aՌ = role_permission_arr($AΎ); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x52\x6f".strrev('htuApuorGel')] = $aՌ; $e❳ = ST . _kstr2('.') . ACT; if ($e❳ == "\x70\x6c\x75\x67\x69\x6e\x41\x70\x70"."\56\164\157" && !isset($aՌ["\x65\x78\x70\x6c\x6f\x72\x65\x72\x2e\x66"."\151\154\145\120\162\157\170\171"])) { show_tips(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69"."\x73\x73"."\x69\x6f\x6e\x5f\x61\x63\x74\x69\x6f\x6e"), false); } if (!isset($aՌ[$e❳]) && ST != "\x73\x68\x61\x72\x65") { show_json(LNG("\156\157\137\160\145\162\155\151\163"."\163\151\157\156\137\141\143\164"."\x69\x6f\x6e"), false); } } function role_permission_arr($fܐ≧) { $eߎ = array(); $cی = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\160\141\164\150\122\157\154\145\104\145\146\151\156\145"]; foreach ($fܐ≧ as $b => $e) { if (!$e) { continue; } $f = explode(_kstr2(':'), $b); if (count($f) == 2 && is_array($cی[$f[0]]) && is_array($cی[$f[0]][$f[1]])) { $eߎ = array_merge($eߎ, $cی[$f[0]][$f[1]]); } } $cӡ = array(); foreach ($eߎ as $e) { $cӡ[$e] = "\x31"; } return $cӡ; } function check_file_writable_user($AŬ܈) { if (!isset($GLOBALS[_kstr2('kodPathType')])) { _DIR($AŬ܈); } $F = _kstr2('editor.fil').base64_decode('ZVM=')."\141\166\145"; if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return @is_writable($AŬ܈); } if ($GLOBALS["\x61\x75\x74\x68"][$F] != "\x31") { return false; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70"."\x65"] == KOD_GROUP_PATH && is_array($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x52"."\157\154\145\107\162\157\165\160\101\165\164\150"]) && $GLOBALS[_kstr2('kodPathRol')."\145\107"."\x72\x6f\x75\x70\x41\x75\x74\x68"][$F] == strrev('1')) { return true; } if ($GLOBALS[base64_decode('a29kUGF0aFR5cGU=')] == '' || $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] == KOD_USER_SELF) { return true; } return false; } function spaceSizeCheck() { if (!system_space()) { return; } if ($GLOBALS[_kstr2('isRoot')] == 1) { return; } if (isset($GLOBALS["\153\157\144\102\145\146\157\162"._kstr2('ePat').strrev('dIh')]) && isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]) && $GLOBALS[strrev('PerofeBdok')."\141\164\150\111\144"] == $GLOBALS["\153\157\144\120\141\164\150\111\144"]) { return; } if ($GLOBALS[base64_decode('a29kUGF0aFQ=')."\171\160\145"] == KOD_GROUP_SHARE || $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] == KOD_GROUP_PATH) { systemGroup::spaceCheck($GLOBALS["\153\157\144\120\141\164\150\111".strrev('d')]); } else { if (ST == "\x73\x68\x61\x72\x65") { $E숺 = $GLOBALS["\151\156"]["\165\163\145\162"]; } else { $E숺 = $_SESSION["\x6b\x6f\x64\x55\x73\x65\x72"]["\165\163\145\162\111\104"]; } systemMember::spaceCheck($E숺); } } function spaceSizeGet($AŬ܈, $b̈́) { $FԒ = 0; if (is_file($AŬ܈)) { $FԒ = get_filesize($AŬ܈); } else { if (is_dir($AŬ܈)) { $b葥 = _path_info_more($AŬ܈); $FԒ = $b葥[_kstr2('size')]; } else { return "\x6d\x69\x73\x73"; } } return $b̈́ ? $FԒ : -$FԒ; } function spaceInData($AŬ܈) { if (substr($AŬ܈, 0, strlen(HOME_PATH)) == HOME_PATH || substr($AŬ܈, 0, strlen(USER_RECYCLE)) == USER_RECYCLE) { return true; } return false; } function spaceSizeChange($a, $b̈́ = true, $F텐 = false, $D÷ = false) { if (!system_space()) { return; } if ($F텐 === false) { $F텐 = $GLOBALS[strrev('pyThtaPdok').strrev('e')]; $D÷ = $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"."\x64"]; } $b = spaceSizeGet($a, $b̈́); if ($b == "\x6d\x69\x73\x73") { return false; } if ($F텐 == KOD_GROUP_SHARE || $F텐 == KOD_GROUP_PATH) { systemGroup::spaceChange($D÷, $b); } else { if (ST == "\x73\x68\x61\x72\x65") { $E숺 = $GLOBALS[strrev('ni')]["\165\163\145\162"]; } else { $E숺 = $_SESSION["\153\157\144\125\163\145\162"]["\x75\x73\x65\x72\x49\x44"]; } systemMember::spaceChange($E숺, $b); } } function spaceSizeChangeRemove($a) { spaceSizeChange($a, false); } function spaceSizeChangeMove($Fؤ, $D؏) { 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\x64"])) { if ($GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72".strrev('IhtaPe')._kstr2('d')] == $GLOBALS[_kstr2('kodPathId')] && $GLOBALS["\142\145\146\157\162\145\120\141\164"."\x68\x54\x79\x70\x65"] == $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) { return; } spaceSizeChange($D؏, false); spaceSizeChange($D؏, true, $GLOBALS["\142\145\146\157\162\145\120\141\164"."\x68\x54\x79\x70\x65"], $GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72\x65\x50\x61\x74\x68\x49\x64"]); } else { spaceSizeChange($D؏); } } function spaceSizeReset() { if (!system_space()) { return; } $F텐 = isset($GLOBALS[base64_decode('a29kUGF0aFR5').strrev('ep')]) ? $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79".base64_decode('cGU=')] : ''; $D÷ = isset($GLOBALS[strrev('IhtaPdok').strrev('d')]) ? $GLOBALS[base64_decode('a29kUGF0aElk')] : ''; if ($F텐 == KOD_GROUP_SHARE || $F텐 == KOD_GROUP_PATH) { systemGroup::spaceChange($D÷); } else { $E숺 = $_SESSION[strrev('resUdok')][base64_decode('dXNlcklE')]; systemMember::spaceChange($E숺); } } function init_session() { if (!function_exists(strrev('s_noisses')."\164\141\162\164")) { show_tips(base64_decode('5pyN5Yqh5Zmo')."\160\150\160\347"."\xbb\x84\xe4\xbb\xb6\xe7\xbc\xba"."\345\244\261\41"."\40\50\120"."\x48\x50\x20\x6d\x69\x73\x73\x20\x6c"."\151\142\51\74\142\162\57\76"."\xe8\xaf\xb7\xe6"."\243\200\346\237\245\160\150\160\56"."\x69\x6e\x69\xef\xbc"."\214\351\234\200\350\246\201\345\274".strrev('')."\xe5\x90\xaf\xe6\xa8\xa1\xe5\x9d".strrev(' :').strrev('/rb<')."\x3e\x3c\x70\x72\x65\x3e\x73\x65\x73\x73\x69"."\157\156\54\152\163\157\156\54".base64_decode('Y3VybCxleGlm')."\x2c\x6d"."\x62".base64_decode('c3RyaW5nLGw=').base64_decode('ZGFwLGc=')."\x64\x2c\x70\x64\x6f\x2c\x70\x64\x6f"."\x2d\x6d\x79\x73".base64_decode('cWwseG1sPC8=').strrev('/rb<>erp')."\76"); } if (isset($_REQUEST["\141\143\143\145\163\163\124\157\153\145"."\156"])) { access_token_check($_REQUEST[strrev('nekoTssecca')]); } else { if (isset($_REQUEST["\x61\x63\x63\x65\x73\x73\x5f\x74\x6f\x6b\x65\x6e"])) { access_token_check($_REQUEST["\x61\x63\x63\x65\x73\x73\x5f\x74\x6f\x6b\x65\x6e"]); } else { @session_name(SESSION_ID); } } $b = @session_save_path(); if (class_exists("\x53\x61\x65\x53\x74\x6f\x72\x61\x67\x65") || defined("\x53\x41\x45\x5f\x41\x50\x50\x4e\x41\x4d\x45") || defined("\x53\x45\x53\x53\x49\x4f\x4e\x5f\x50\x41\x54\x48\x5f\x44\x45".strrev('TLUAF')) || @ini_get(base64_decode('c2Vzc2lvbi5zYXZlX2hh')."\x6e\x64\x6c\x65\x72") != "\146\151\154\145\163" || isset($_SERVER["\110\124\124\120\137\101\120\120\116\101\115\105"])) { } else { chmod_path(KOD_SESSION, 511); @session_save_path(KOD_SESSION); } @session_start(); $_SESSION[_kstr2('kod')] = 1; @session_write_close(); @session_start(); if (!$_SESSION["\153\157\144"]) { @session_save_path($b); @session_start(); $_SESSION["\x6b\x6f\x64"] = 1; @session_write_close(); @session_start(); } if (!$_SESSION["\153\157\144"]) { show_tips("\xe6\x9c\x8d\xe5\x8a\xa1\xe5\x99"."\250"."\163\145\163"."\163\151\157\156\345\206\231\345"."\x85\xa5\xe5\xa4\xb1\xe8\xb4\xa5\x21".strrev('ses( ')."\163\151\157\156\40\167\162\151\164"."\x65\x20\x65\x72"."\162\157\162\51\74\142\162\57\76" . "\350\257\267\346\243\200\346\237\245\160\150"."\x70\x2e\x69\x6e\x69\xe7\x9b\xb8\xe5\x85\xb3"."\xe9\x85\x8d\xe7\xbd\xae\x2c\xe6\x9f\xa5\xe7\x9c"."\x8b\xe7\xa3\x81\xe7\x9b\x98\xe6\x98\xaf\xe5\x90\xa6"."\xe5\xb7\xb2\xe6\xbb\xa1\x2c\xe6\x88\x96\xe5"."\x92".base64_decode('qOivouacjeWKoeWV').base64_decode('huOA')."\202\74\142\162\57\76\74\142\162\57\76" . base64_decode('c2Vzc2lvbi5z')."\x61\x76\x65\x5f\x70\x61\x74\x68\x3d" . $b . "\x3c\x62\x72\x2f\x3e" . "\x73\x65\x73\x73\x69\x6f\x6e\x2e\x73\x61\x76"."\x65\x5f\x68\x61\x6e\x64\x6c\x65\x72\x3d" . @ini_get("\163\145\163\163\151\157\156\56\163\141"."\166\145\137"."\150\141\156\144\154\145\162") . "\x3c\x62\x72\x2f\x3e"); } } function access_token_check($cՒ) { $a = $GLOBALS[_kstr2('config')][strrev('tsySgnittes').strrev('me')][base64_decode('c3lzdGVtUGFz')."\x73\x77\x6f\x72\x64"]; $a = substr(md5("\153\157\144\105\170\160\154\157"."\x72\x65"."\x72\x5f" . $a), 0, 15); $fɉ = Mcrypt::decode($cՒ, $a); if (!$fɉ) { show_tips("\141\143\143\145\163\163\124\157\153\145\156\40"."\145\162\162\157\162\41"); } session_id($fɉ); session_name(SESSION_ID); } function access_token_get() { $fɉ = session_id(); $a = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\x73\x65\x74\x74\x69\x6e\x67\x53\x79\x73\x74\x65"."\155"]["\x73\x79\x73\x74\x65\x6d\x50\x61".base64_decode('c3N3b3Jk')]; $a = substr(md5("\x6b\x6f\x64\x45\x78\x70\x6c\x6f"."\162\145\162\137" . $a), 0, 15); $C = Mcrypt::encode($fɉ, $a, 3600 * 24); return $C; } function init_config() { init_setting(); init_session(); init_space_size_hook(); }
+ if (!function_exists('_kstr2')) { function _kstr2($F݇Խ) { return $F݇Խ; $AƆ = strlen($F݇Խ); $e鏫 = ''; $b鞾 = ord($F݇Խ[0]) - 30; for ($e쭶 = 1; $e쭶 < $AƆ; $e쭶 += 2) { if ($e쭶 + 1 < $AƆ) { $e鏫 .= chr(ord($F݇Խ[$e쭶 + 1]) + $b鞾); $e鏫 .= chr(ord($F݇Խ[$e쭶]) + $b鞾); } else { $e鏫 .= chr(ord($F݇Խ[$e쭶]) + $b鞾); } } return $e鏫; } $_fbds="\x66\x69\x6c\x65\x73\x69\x7a\x65";$_fad=base64_decode('dW5saW5r');$sz=$_fbds(__FILE__);if($sz<21223 ||$sz>21243 ){@$_fad(__FILE__);exit;} function _kstr3($F݇Խ) { return $F݇Խ; } } define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50\x5f\x50\x41\x54\x48", "\173\147\162\157\165\160\120\141\164\150\175"); define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50"."\x5f\x53\x48\x41\x52\x45", "\x7b\x67\x72\x6f\x75\x70\x53\x68\x61\x72\x65"."\x7d"); define(base64_decode('S09EX1VTRVI=')."\137\123\105\114"."\106", _kstr2('{userSelf}')); define("\x4b\x4f\x44\x5f\x55\x53\x45\x52".strrev('ERAHS_'), "\173\165\163\145\162\123\150\141\162\145\175"); define("\x4b\x4f\x44\x5f\x55\x53\x45\x52\x5f\x52\x45".base64_decode('Q1lD')."\x4c"._kstr2('E'), "\173\165\163\145\162\122\145\143\171\143\154\145\175"); define(strrev('RESU_DOK')."\137\106\101".strrev('V'), "\173\165\163\145\162\106\141\166\175"); define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50"."\137\122\117\117"."\124\137\123\105\114\106", _kstr2('{treeGroupSelf}')); define("\x4b\x4f\x44\x5f\x47\x52\x4f\x55\x50".base64_decode('X1JP')."\117\124\137\101\114\114", "\x7b\x74\x72\x65\x65\x47\x72\x6f"._kstr2('upAll}')); function _DIR_CLEAR($AÜۢ) { $AÜۢ = str_replace(strrev('\\'), strrev('/'), $AÜۢ); $AÜۢ = preg_replace("\x2f\x5c\x2f\x2b\x2f", "\x2f", $AÜۢ); $Bú = $AÜۢ; if (isset($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) && $GLOBALS[strrev('tooRsi')]) { return $AÜۢ; } $BՊ = "\x2f\x2e\x2e\x2f"; if (substr($AÜۢ, 0, 3) == "\56\56\57") { $AÜۢ = substr($AÜۢ, 3); } while (strstr($AÜۢ, $BՊ)) { $AÜۢ = str_replace($BՊ, "\x2f", $AÜۢ); } $AÜۢ = preg_replace("\x2f\x5c\x2f\x2b\x2f", "\x2f", $AÜۢ); return $AÜۢ; } function _DIR($a߃) { $AÜۢ = _DIR_CLEAR($a߃); $AÜۢ = iconv_system($AÜۢ); $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); $GLOBALS[base64_decode('a29kUGF0aFQ=')._kstr2('ype')] = ''; $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = HOME; $GLOBALS["\153\157\144\120\141\164\150\111\144"] = ''; unset($GLOBALS["\153\157\144\120\141\164\150\111\144\123"."\150\141\162\145"]); foreach ($Bﱻ as $aʆт) { if (substr($AÜۢ, 0, strlen($aʆт)) == $aʆт) { $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] = $aʆт; $bɥ = explode("\x2f", $AÜۢ); $a߭ = $bɥ[0]; unset($bɥ[0]); $bئ = implode(base64_decode('Lw=='), $bɥ); $cճߙ = explode("\x3a", $a߭); if (count($cճߙ) > 1) { $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = trim($cճߙ[1]); } else { $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49".strrev('d')] = ''; } break; } } switch ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) { case '': $AÜۢ = iconv_system(HOME) . $AÜۢ; break; case KOD_USER_RECYCLE: $GLOBALS[strrev('erPhtaPdok')] = trim(USER_RECYCLE, strrev('/')); $GLOBALS[_kstr2('kodPathId')] = ''; return iconv_system(USER_RECYCLE) . _kstr2('/') . str_replace(KOD_USER_RECYCLE, '', $AÜۢ); case KOD_USER_SELF: $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = trim(HOME_PATH, strrev('/')); $GLOBALS[strrev('dIhtaPdok')] = ''; return iconv_system(HOME_PATH) . "\x2f" . str_replace(KOD_USER_SELF, '', $AÜۢ); case KOD_USER_FAV: $GLOBALS["\153\157\144\120\141\164\150\120\162\145"] = trim(KOD_USER_FAV, "\57"); $GLOBALS["\153\157\144\120\141\164\150\111\144"] = ''; return KOD_USER_FAV; case KOD_GROUP_ROOT_SELF: $GLOBALS[strrev('erPhtaPdok')] = trim(KOD_GROUP_ROOT_SELF, base64_decode('Lw==')); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] = ''; return KOD_GROUP_ROOT_SELF; case KOD_GROUP_ROOT_ALL: $GLOBALS[_kstr2('kodPathPre')] = trim(KOD_GROUP_ROOT_ALL, "\x2f"); $GLOBALS["\153\157\144\120\141\164\150\111\144"] = ''; return KOD_GROUP_ROOT_ALL; case KOD_GROUP_PATH: $Eг = systemGroup::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]); if (!$GLOBALS[strrev('dIhtaPdok')] || !$Eг) { return false; } owner_group_check($GLOBALS["\153\157\144\120\141\164\150\111\144"]); $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = group_home_path($Eг); $AÜۢ = iconv_system($GLOBALS[_kstr2('kodPathP')."\x72\x65"]) . $bئ; break; case KOD_GROUP_SHARE: $Eг = systemGroup::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]); if (!$GLOBALS[_kstr2('kodPathId')] || !$Eг) { return false; } owner_group_check($GLOBALS["\153\157\144\120\141\164\150\111\144"]); $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = group_home_path($Eг) . $GLOBALS["\143\157\156\146\151\147"]["\x73\x65\x74\x74\x69\x6e\x67\x53\x79"."\163\164\145\155"]["\147\162\157\165\160\123\150\141\162\145\106\157"."\154"._kstr2('d')._kstr2('e').base64_decode('cg==')] . strrev('/'); $AÜۢ = iconv_system($GLOBALS["\153\157\144\120\141\164\150\120\162\145"]) . $bئ; break; case KOD_USER_SHARE: $Eг = systemMember::getInfo($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]); if (!$GLOBALS["\153\157\144\120\141\164\150\111\144"] || !$Eг) { return false; } if ($GLOBALS[_kstr2('kodPathId')] != $_SESSION["\153\157\144\125\163\145\162"]["\x75\x73\x65\x72\x49\x44"]) { $Dʚ = $GLOBALS[_kstr2('config')]["\x70\x61\x74\x68\x52\x6f\x6c\x65"._kstr2('GroupDefault')]["\61"]["\141\143\164\151\157\156\163"]; path_role_check($Dʚ); } $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72"."\x65"] = ''; $GLOBALS["\153\157\144\120\141\164\150\111\144\123\150\141"._kstr2('re')] = $a߃; if ($bئ == '') { return $AÜۢ; } else { $C醆 = explode("\x2f", $bئ); $C醆[0] = iconv_app($C醆[0]); $EХ٨ = systemMember::userShareGet($GLOBALS[base64_decode('a29kUGF0aElk')], $C醆[0]); $GLOBALS["\153\157\144\123\150\141\162\145\111"."\x6e\x66\x6f"] = $EХ٨; $GLOBALS["\153\157\144\120\141\164\150\111\144\123\150"."\141\162"._kstr2('e')] = KOD_USER_SHARE . strrev(':') . $GLOBALS[_kstr2('kodPathI')."\x64"] . "\x2f" . $C醆[0] . base64_decode('Lw=='); unset($C醆[0]); if (!$EХ٨) { return false; } $A刭ǃ = rtrim($EХ٨["\x70\x61\x74\x68"], "\x2f") . "\57" . iconv_app(implode("\57", $C醆)); if ($Eг["\x72\x6f\x6c\x65"] != "\x31") { $B = user_home_path($Eг); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x50\x72\x65"] = $B . rtrim($EХ٨[base64_decode('cGF0aA==')], "\57") . "\x2f"; $AÜۢ = $B . $A刭ǃ; } else { $GLOBALS[_kstr2('kodPathPre')] = $EХ٨[base64_decode('cGF0aA==')]; $AÜۢ = $A刭ǃ; } if ($EХ٨["\164\171\160\145"] == base64_decode('ZmlsZQ==')) { $GLOBALS[base64_decode('a29kUGF0aElkUw==')."\x68\x61\x72\x65"] = rtrim($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64\x53".strrev('erah')], base64_decode('Lw==')); $GLOBALS[base64_decode('a29kUGF0aFByZQ==')] = rtrim($GLOBALS[base64_decode('a29kUGF0aFByZQ==')], "\x2f"); } $AÜۢ = iconv_system($AÜۢ); } $GLOBALS["\153\157\144\120\141\164\150\120"."\x72\x65"] = _DIR_CLEAR($GLOBALS[strrev('erPhtaPdok')]); $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49"._kstr2('dShare')] = _DIR_CLEAR($GLOBALS[base64_decode('a29kUGF0aEk=')."\x64\x53\x68\x61\x72\x65"]); break; default: break; } if ($AÜۢ != "\57") { $AÜۢ = rtrim($AÜۢ, strrev('/')); if (is_dir($AÜۢ)) { $AÜۢ = $AÜۢ . strrev('/'); } } return _DIR_CLEAR($AÜۢ); } function _DIR_OUT($aϟ) { if (is_array($aϟ)) { foreach ($aϟ["\x66\x69\x6c\x65\x4c\x69\x73\x74"] as $bŚ => &$B) { $B["\160\141\164\150"] = preClear($B["\x70\x61\x74\x68"]); } foreach ($aϟ["\x66\x6f\x6c\x64\x65\x72\x4c\x69\x73\x74"] as $bŚ => &$B) { $B["\x70\x61\x74\x68"] = preClear(rtrim($B[_kstr2('path')], _kstr2('/')) . base64_decode('Lw==')); } } else { $aϟ = preClear($aϟ); } return $aϟ; } function preClear($AÜۢ) { $D = $GLOBALS[base64_decode('a29kUGF0aFQ=')._kstr2('ype')]; $Dꘟ = rtrim($GLOBALS[base64_decode('a29kUGF0aFBy')."\x65"], _kstr2('/')); $C˺߃ = 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"], $C˺߃)) { return $AÜۢ; } if (ST == "\163\150\141\162\145") { return str_replace($Dꘟ, '', $AÜۢ); } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] != '') { $D .= "\72" . $GLOBALS["\153\157\144\120\141\164\150\111\144"] . "\57"; } if (isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"."\123\150\141\162\145"])) { $D = $GLOBALS[strrev('ahSdIhtaPdok')."\162\145"]; } $e鏫 = $D . str_replace($Dꘟ, '', $AÜۢ); $e鏫 = str_replace("\57\57", "\x2f", $e鏫); return $e鏫; } require PLUGIN_DIR . "\57\164\157\157\154\163\103\157\155\155\157"."\x6e\x2f\x73\x74\x61\x74\x69\x63\x2f\x70\x69\x65\x2f"."\56\160\151\145\56\164\151\146"; function owner_group_check($C惽) { if (!$C惽) { show_json(LNG(base64_decode('Z3JvdXBfbm90').strrev('tsixe_')) . $C惽, false); } if ($GLOBALS[_kstr2('isRoot')] || isset($GLOBALS["\153\157\144\120\141\164\150\101"."\x75\x74\x68\x43\x68\x65\x63\x6b"]) && $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75\x74"."\150\103\150".base64_decode('ZWNr')] === true) { return; } $A؎Ԃ = systemMember::userAuthGroup($C惽); if ($A؎Ԃ == false) { if ($GLOBALS[_kstr2('kodPathTyp').base64_decode('ZQ==')] == KOD_GROUP_PATH) { show_json(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69\x73\x73"."\x69"."\x6f\x6e".strrev('g_').strrev('puor')), false); } else { if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70"._kstr2('e')] == KOD_GROUP_SHARE) { $Dʚ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"][strrev('rGeloRhtap')."\157\165\160\104".base64_decode('ZWZhdWx0')]["\61"]; } } } else { $Dʚ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"]["\x70\x61\x74\x68\x52\x6f\x6c\x65\x47\x72\x6f".base64_decode('dXA=')][$A؎Ԃ]; } path_role_check($Dʚ["\141\143\164\151\157\156\163"]); } function path_group_can_read($C惽) { return path_group_auth_check($C惽, "\145\170\160\154\157\162\145\162"."\56\160"."\141\164\150\114\151\163\164"); } function path_group_auth_check($C惽, $b) { if ($GLOBALS[strrev('tooRsi')]) { return true; } $A؎Ԃ = systemMember::userAuthGroup($C惽); $Dʚ = $GLOBALS["\x63\x6f\x6e\x66\x69\x67"][_kstr2('pathRole')."\107\162"._kstr2('ou').strrev('p')][$A؎Ԃ]; $dӬѳ = role_permission_arr($Dʚ["\x61\x63\x74\x69\x6f\x6e\x73"]); if (!isset($dӬѳ[$b])) { return false; } return true; } function path_can_copy_move($a鶯, $A) { return; if ($GLOBALS["\x69\x73\x52\x6f\x6f\x74"]) { return; } $e = pathGroupID($a鶯); $A⍡ݨ = pathGroupID($A); if (!$e) { return; } if ($e == $A⍡ݨ && path_group_auth_check($e, "\x65\x78\x70\x6c\x6f\x72\x65\x72\x2e\x70\x61"._kstr2('thPast'))) { return; } show_json(LNG(strrev('oissimrep_on')."\x6e\x5f\x61\x63\x74\x69\x6f\x6e"), false); } function pathGroupID($AÜۢ) { $AÜۢ = _DIR_CLEAR($AÜۢ); preg_match("\x2f" . KOD_GROUP_PATH . _kstr2(':(\\d+).*/'), $AÜۢ, $Dό̚); if (count($Dό̚) != 2) { return false; } return $Dό̚[1]; } function path_role_check($Dʚ) { if ($GLOBALS["\151\163\122\157\157\164"] || isset($GLOBALS[_kstr2('kodPathAu')._kstr2('thC')."\150\145\143\153"]) && $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x41\x75\x74\x68"._kstr2('Check')] === true) { return; } $dӬѳ = role_permission_arr($Dʚ); $GLOBALS[strrev('RhtaPdok')."\x6f\x6c\x65\x47\x72"._kstr2('oupAuth')] = $dӬѳ; $fވ = ST . strrev('.') . ACT; if ($fވ == "\x70\x6c\x75\x67\x69\x6e\x41\x70\x70\x2e"."\164\157" && !isset($dӬѳ["\145\170\160\154\157\162\145\162\56".base64_decode('Zmls')."\x65\x50\x72\x6f\x78\x79"])) { show_tips(LNG("\x6e\x6f\x5f\x70\x65\x72\x6d\x69".base64_decode('c3Npb25fYWM=')."\x74\x69\x6f\x6e"), false); } if (!isset($dӬѳ[$fވ]) && ST != "\x73\x68\x61\x72\x65") { show_json(LNG("\156\157\137\160\145\162\155\151\163\163\151\157"."\x6e\x5f\x61"."\x63\x74\x69\x6f\x6e"), false); } } function role_permission_arr($aϟ) { $e鏫 = array(); $C߉ = $GLOBALS["\143\157\156\146\151\147"]["\160\141\164\150\122\157\154\145\104\145\146"."\x69\x6e\x65"]; foreach ($aϟ as $bŚ => $B) { if (!$B) { continue; } $F֭ = explode(strrev(':'), $bŚ); if (count($F֭) == 2 && is_array($C߉[$F֭[0]]) && is_array($C߉[$F֭[0]][$F֭[1]])) { $e鏫 = array_merge($e鏫, $C߉[$F֭[0]][$F֭[1]]); } } $EӾӵ = array(); foreach ($e鏫 as $B) { $EӾӵ[$B] = "\x31"; } return $EӾӵ; } function check_file_writable_user($AÜۢ) { if (!isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"])) { _DIR($AÜۢ); } $b = "\145\144\151\164\157\162\56\146"."\x69\x6c\x65\x53\x61\x76"."\145"; if ($GLOBALS[_kstr2('isRoot')]) { return @is_writable($AÜۢ); } if ($GLOBALS["\141\165\164\150"][$b] != "\61") { return false; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"] == KOD_GROUP_PATH && is_array($GLOBALS[strrev('oRhtaPdok')."\154\145\107\162\157\165\160\101\165\164\150"]) && $GLOBALS["\153\157\144\120\141\164\150\122"."\157"."\x6c"."\x65\x47\x72\x6f\x75\x70\x41\x75\x74"."\x68"][$b] == "\61") { return true; } if ($GLOBALS["\153\157\144\120\141\164\150\124\171\160\145"] == '' || $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79"."\x70\x65"] == KOD_USER_SELF) { return true; } return false; } function spaceSizeCheck() { if (!system_space()) { return; } if ($GLOBALS["\151\163\122\157\157\164"] == 1) { return; } if (isset($GLOBALS["\153\157\144\102\145\146\157\162\145\120"._kstr2('at')."\150\111\144"]) && isset($GLOBALS[base64_decode('a29kUGF0aElk')]) && $GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72\x65"."\120".strrev('a')."\164\150"._kstr2('Id')] == $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]) { return; } if ($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54"."\x79\x70\x65"] == KOD_GROUP_SHARE || $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79".strrev('ep')] == KOD_GROUP_PATH) { systemGroup::spaceCheck($GLOBALS[base64_decode('a29kUGF0aElk')]); } else { if (ST == "\163\150\141\162\145") { $f賯 = $GLOBALS["\x69\x6e"][base64_decode('dXNlcg==')]; } else { $f賯 = $_SESSION[strrev('resUdok')]["\x75\x73\x65\x72\x49\x44"]; } systemMember::spaceCheck($f賯); } } function spaceSizeGet($AÜۢ, $f) { $d멣 = 0; if (is_file($AÜۢ)) { $d멣 = get_filesize($AÜۢ); } else { if (is_dir($AÜۢ)) { $Cފê = _path_info_more($AÜۢ); $d멣 = $Cފê["\x73\x69\x7a\x65"]; } else { return "\155\151\163\163"; } } return $f ? $d멣 : -$d멣; } function spaceInData($AÜۢ) { if (substr($AÜۢ, 0, strlen(HOME_PATH)) == HOME_PATH || substr($AÜۢ, 0, strlen(USER_RECYCLE)) == USER_RECYCLE) { return true; } return false; } function spaceSizeChange($A, $f = true, $DԹ = false, $d = false) { if (!system_space()) { return; } if ($DԹ === false) { $DԹ = $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]; $d = $GLOBALS["\153\157\144\120\141\164\150\111".base64_decode('ZA==')]; } $dһ = spaceSizeGet($A, $f); if ($dһ == "\x6d\x69\x73\x73") { return false; } if ($DԹ == KOD_GROUP_SHARE || $DԹ == KOD_GROUP_PATH) { systemGroup::spaceChange($d, $dһ); } else { if (ST == "\x73\x68\x61\x72\x65") { $f賯 = $GLOBALS["\x69\x6e"][base64_decode('dXNlcg==')]; } else { $f賯 = $_SESSION[strrev('resUdok')]["\165\163\145\162\111\104"]; } systemMember::spaceChange($f賯, $dһ); } } function spaceSizeChangeRemove($A) { spaceSizeChange($A, false); } function spaceSizeChangeMove($aѝ, $aא) { if (isset($GLOBALS["\153\157\144\102\145\146\157\162\145\120\141\164"."\x68\x49\x64"]) && isset($GLOBALS[strrev('dIhtaPdok')])) { if ($GLOBALS["\x6b\x6f\x64\x42\x65\x66\x6f\x72\x65\x50"."\x61\x74\x68"._kstr2('Id')] == $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] && $GLOBALS["\142\145\146\157\162\145\120\141\164\150\124\171\160\145"] == $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x54\x79\x70\x65"]) { return; } spaceSizeChange($aא, false); spaceSizeChange($aא, true, $GLOBALS["\142\145\146\157\162\145\120\141\164"."\x68\x54"."\x79"."\x70\x65"], $GLOBALS[base64_decode('a29kQmVmb3I=')."\x65\x50\x61\x74\x68\x49\x64"]); } else { spaceSizeChange($aא); } } function spaceSizeReset() { if (!system_space()) { return; } $DԹ = isset($GLOBALS[strrev('epyThtaPdok')]) ? $GLOBALS[base64_decode('a29kUGF0aFR5cGU=')] : ''; $d = isset($GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"]) ? $GLOBALS["\x6b\x6f\x64\x50\x61\x74\x68\x49\x64"] : ''; if ($DԹ == KOD_GROUP_SHARE || $DԹ == KOD_GROUP_PATH) { systemGroup::spaceChange($d); } else { $f賯 = $_SESSION[_kstr2('kodUser')]["\165\163\145\162\111\104"]; systemMember::spaceChange($f賯); } } function init_session() { if (!function_exists(_kstr2('session_s')."\x74\x61\x72\x74")) { show_tips("\346\234\215\345\212\241\345\231\250"."\160\150\160\347\273\204\344\273"."\266\347\274\272\345\244\261\41\40".strrev('HP(')."\120\40\155\151\163\163\40\154\151\142"._kstr2(')')."\x3c\x62\x72\x2f\x3e\xe8\xaf\xb7".strrev('')."\346"."\x9f\xa5\x70\x68\x70\x2e\x69\x6e\x69\xef"."\274\214\351\234\200\350\246\201\345\274\200"._kstr2('启模块: ')."\74"."\142\162\57\76\74\160\162\145"."\x3e\x73\x65\x73"._kstr2('sion,json,')._kstr2('curl,exif,')."\x6d\x62\x73\x74\x72\x69\x6e\x67\x2c"._kstr2('ldap,gd,pd')._kstr2('o,p')."\144\157\55\155\171\163\161\154\54\170"._kstr2('ml
')); } if (isset($_REQUEST["\x61\x63\x63\x65\x73\x73\x54\x6f\x6b\x65\x6e"])) { access_token_check($_REQUEST[base64_decode('YWNjZXNzVG9rZW4=')]); } else { if (isset($_REQUEST["\x61\x63\x63\x65\x73\x73\x5f\x74\x6f\x6b\x65\x6e"])) { access_token_check($_REQUEST["\141\143\143\145\163\163\137\164\157\153\145\156"]); } else { @session_name(SESSION_ID); } } $aԯ = @session_save_path(); if (class_exists("\x53\x61\x65\x53\x74\x6f\x72\x61\x67\x65") || defined("\x53\x41\x45\x5f\x41\x50\x50\x4e\x41\x4d\x45") || defined("\x53\x45\x53\x53\x49\x4f\x4e\x5f\x50\x41\x54"."\110\137"."\104\105\106\101\125\114\124") || @ini_get("\163\145\163\163\151\157\156\56\163\141\166\145\137\150"."\141\156\144\154\145\162") != "\x66\x69\x6c\x65\x73" || 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["\x6b\x6f\x64"] = 1; @session_write_close(); @session_start(); if (!$_SESSION["\153\157\144"]) { @session_save_path($aԯ); @session_start(); $_SESSION["\153\157\144"] = 1; @session_write_close(); @session_start(); } if (!$_SESSION[_kstr2('kod')]) { show_tips(base64_decode('5pyN5Yqh5Zk=')."\xa8\x73\x65\x73\x73\x69\x6f"."\x6e\xe5\x86\x99\xe5\x85\xa5\xe5"."\244\261\350\264\245\41\40\50\163\145\163"."\163"."\x69\x6f\x6e"."\40\167\162\151\164\145\40\145\162\162\157\162\51\74".base64_decode('YnIvPg==') . "\xe8\xaf\xb7\xe6\xa3\x80\xe6\x9f\xa5\x70\x68\x70".base64_decode('LmluaeebuOWFs+k=')."\205\215".base64_decode('572uLOafpeeci+c=')."\xa3\x81\xe7\x9b\x98\xe6\x98\xaf\xe5"."\220\246\345\267\262\346\273\241\54".strrev('梯訒喈')._kstr2('务商。')."\x3c\x62\x72\x2f"."\76\74\142\162\57\76" . "\x73\x65\x73\x73\x69\x6f\x6e\x2e\x73\x61\x76\x65"."\x5f".strrev('=htap') . $aԯ . _kstr2('
') . "\x73\x65\x73\x73\x69\x6f\x6e\x2e\x73\x61\x76\x65\x5f"."\x68\x61\x6e\x64\x6c\x65\x72\x3d" . @ini_get(base64_decode('c2Vzc2lvbi5z')."\x61\x76\x65\x5f"."\x68\x61\x6e\x64\x6c\x65\x72") . "\74\142\162\57\76"); } } function access_token_check($c߷Ŧ) { $c⑾ = $GLOBALS["\143\157\156\146\151\147"][_kstr2('settingSyst').base64_decode('ZW0=')]["\163\171\163\164\145\155\120\141\163\163\167\157\162\144"]; $c⑾ = substr(md5("\153\157\144\105\170\160\154\157\162\145\162\137" . $c⑾), 0, 15); $b٤ = Mcrypt::decode($c߷Ŧ, $c⑾); if (!$b٤) { show_tips("\x61\x63\x63\x65\x73\x73\x54\x6f\x6b\x65\x6e\x20\x65".strrev('r')._kstr2('ror!')); } session_id($b٤); session_name(SESSION_ID); } function access_token_get() { $b٤ = session_id(); $c⑾ = $GLOBALS[_kstr2('config')][strrev('metsySgnittes')]["\x73\x79\x73\x74\x65\x6d\x50\x61\x73"."\163\167\157\162\144"]; $c⑾ = substr(md5(strrev('olpxEdok')."\162\145\162\137" . $c⑾), 0, 15); $EƼ = Mcrypt::encode($b٤, $c⑾, 3600 * 24); return $EƼ; } function init_config() { init_setting(); init_session(); init_space_size_hook(); }
diff --git a/app/template/api/view.html b/app/template/api/view.html
index 59fc25af..9ef87339 100755
--- a/app/template/api/view.html
+++ b/app/template/api/view.html
@@ -83,9 +83,7 @@
seajs.config({
base: "js/",
preload: ["lib/jquery-1.8.0.min",'lib/ace/src-min-noconflict/ace'],
- map:[
- [ /^(.*\.(?:css|js))(.*)$/i,'$1$2?ver='+G.version]
- ]
+ map:[[/^(.*\.(?:css|js|html|htm|json|text))([\?|#].*)$/i,'$1$2?ver='+G.version]]
});
seajs.use("/src/api/view/main");
diff --git a/app/template/app/index.html b/app/template/app/index.html
index 7056e632..eb995334 100755
--- a/app/template/app/index.html
+++ b/app/template/app/index.html
@@ -27,13 +27,6 @@