Have you ever wished you could issue simple shell commands through your WordPress interface to, say, quickly change the permissions of a file and then change them back or be able to see what processes are active and kill a process? Have you wanted to have SSH access to your server but your web service does not allow that? Do you have “system” enabled for your PHP? I am not sure if that title does this hack justice but here goes.
This will allow a WordPress user to execute simple shell commands and output them to the browser. It is very incredibly simple, very easy to install and very easy to use. To add security, a user has to be authenticated through WordPress before they are allowed to see this page or use it.
You can download the file from here:
To install simply unzip the single file in that zip file, copy it to the root of your blog, log into your blog and point your browser to http://yourblog.com/yourfolder/output.php Now you should be able to type in the command (like ls, ps or chmod) and see the output on your browser.
A word of warning. I have not investigated all the possible security issues with this hack. I suggest renaming the file through FTP after you are done using it if you are afraid for the security of your blog. I know i have disabled mine.
- Simple Install
- Execute simple shell commands
- Password Protected
- Can do most “Shell” like tasks such as grep
- Access shell capabilities from anywhere through a browser
- Linux server
- Must have “system” PHP command enabled
- Must be comfortable with Shell commands, you could possible delete everything in your blog folder with this, so please be careful
As for any such hack that is extremely low level and intrusive, there are no warranties provided or implied and I am not responsible for any damage or breakage this hack might cause. Please use at your own risk.