Simple PHP Shell is a lightweight yet powerful PHP script that provides essential shell functionalities directly from a web interface. Whether you need to view system information, manage files, or execute commands, this tool is designed for both beginners and advanced users.
- Overview
- Key Features
- Installation Guide
- Detailed Usage Instructions
- Security Considerations
- License Information
- Conclusion
Simple PHP Shell is a versatile PHP script that allows you to:
- Display the operating system type and PHP version.
- View full PHP configuration using
phpinfo()
. - Navigate directories and manage files.
- Upload, download, edit, or delete files.
- Execute shell commands and run MySQL queries.
This guide covers everything from installation to secure usage, ensuring even first-time users can operate the tool confidently.
- System Information: Quickly see your OS type and PHP version.
- PHP Info Display: Access a full overview of your PHP configuration.
- File & Directory Management: Navigate directories, upload files, and more.
- Compression & Download: Compress folders using GZIP and download them.
- Permission Management: Easily change folder permissions (e.g., chmod to 777).
- Database File Highlighting: Files interacting with databases are highlighted for quick identification.
- Command Execution: Run shell commands and execute MySQL queries directly.
-
Download the Script
Visit the GitHub repository and download the latest version. -
Upload to Your Server
Use FTP or your hosting control panel to upload the script files to a secure directory on your web server. -
Set Proper Permissions
Ensure the directories you wish to manage have the necessary write permissions. Although the script can set folder permissions to 777, use this feature with caution in trusted environments. -
Access via Browser
Open your browser and navigate to the script’s URL (e.g.,http://yourdomain.com/simple-php-shell.php
).
- Dashboard: On launch, the interface displays the OS type and PHP version.
- PHP Info: Click on the
phpinfo()
button to view detailed PHP configuration.
- Directory Listing: Easily navigate through folders on your server.
- File Operations:
- Upload Files: Add files to any directory.
- Download/Compress: Download individual files or compress entire folders with GZIP.
- Edit/Delete: Open files for editing or delete them directly from the interface.
- Shell Command Execution: Run system commands directly from your web browser.
- MySQL Query Execution: Input and run MySQL queries for database management.
- Database File Highlighting: Files involved in database interactions are marked (typically in red) to facilitate quick identification.
- Permission Adjustments: Use the built-in feature to change directory permissions when troubleshooting.
Note: Always ensure you understand the commands and queries you execute. Improper use can lead to security vulnerabilities or server misconfigurations.
Warning:
This script grants significant control over your server. To maintain security, consider the following:
- Deploy the script in a controlled, secure environment.
- Change default access credentials, if applicable.
- Restrict access using server-level protections like
.htaccess
.- Disable or remove the script when not in active use.
Simple PHP Shell is released into the public domain under the Unlicense. This means you are free to use, modify, and distribute the software for any purpose.
Simple PHP Shell offers a powerful yet straightforward solution for remote server management. Whether you're a developer or system administrator, this tool simplifies file management, command execution, and system diagnostics—all from a user-friendly web interface.
For more details, updates, or to report issues, please visit the GitHub repository.
Simple PHP Shell is an open-source PHP script for remote server management, file handling, and command execution. Perfect for developers and system administrators seeking lightweight yet powerful tools.