加入收藏 | 设为首页 | 会员中心 | 我要投稿 | RSS
您当前的位置:首页 > 教程文章 > PHP开发

PHP Shell最新版介绍及下载

时间:2011-12-11 23:27:45  来源:  作者:

PHP Shell 是用PHP脚本封装的一个Web的工具,用于远程执行服务器上的命令以及浏览服务器上的文件,适合用来管理Web服务器。

 

PHP Shell is a shell wrapped in a PHP script. It’s a tool you can use to execute arbitrary shell-commands or browse the filesystem on your remote webserver. This replaces, to a degree, a normal telnet connection, and to a lesser degree a SSH connection.

You use it for administration and maintenance of your website, which is often much easier to do if you can work directly on the server. For example, you could use PHP Shell to unpack and move big files around. All the normal command line programs like ps, free, du, df, etc… can be used.

When you point your browser at PHP Shell you will be asked to authenticate yourself. By default no username/password will work, so please go read INSTALL for information about adding a user.

You’re back? Good. Enter your username and password and press “Login”.

You will then be presented with a rather simple page containing nothing much except a big window with the cursor blinking at the bottom, signaling that it’s ready to obey your commands.

Write a command and press RET — or alternatively, press the ‘Execute Command’ button if you really want. The command will be executed and the result will be shows in the terminal. You can now enter another command.

To be more precise: the terminal is updated with the command line you have just executed, the output of the command to standard out (stdout), and following that any error output sent to stderr.

The commands are executed relative to a current working directory, which is written at the top. You change this by the normal ‘cd’ command.

The tarball/zipfile contains these files:

  • phpshell.php: This is the script you run when you use PHP Shell.

  • config.php: Configuration file in the INI format.

  • pwhash.php: Password hashing script. This is used to generate secure hashed passwords which you should use to prevent others from getting to know your password by reading the config.php file.

  • ChangeLog: This file describe the changes I’ve made to PHP Shell. By reading it you’ll always know when I’ve added a new feature or made a bugfix, and the nature of the feature/bugfix.

  • README: Approximately this page.

  • INSTALL: Tells you how to install PHP Shell. Amoung other things, it explains how to change the password protection so that you can use PHP Shell.

    Remember that it’s very important to have PHP Shell password protected, or else everybody will be able so snoop into your files and perhaps also be able to delete them! Please take the time to protect your installation of PHP Shell.

  • SECURITY: A separate guide about security with PHP in general and PHP Shell in particular. Be sure to read this too, especially if you are getting strange errors back from PHP Shell.

  • COPYING: Standard GNU GPL.

 

来顶一下
返回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
在CentOS下搭建Android 开发环境
在CentOS下搭建Androi
轻松搭建属于自己的Ubuntu发行版
轻松搭建属于自己的Ub
利用SUSE Studio 打造自己的个性化Linux发行版
利用SUSE Studio 打造
那些采用PHP技术的IT大企业
那些采用PHP技术的IT大
相关文章
    无相关信息
栏目更新
栏目热门