An advanced PHP based web shell interface for executing system commands and managing files.
-
Execute system commands and view output in real-time
-
Manage files and directories with upload, download, and delete capabilities
-
Automatic logout feature for added security(optional)
-
Password protection for restricted access(optional)
-
Supports several :// connections
-
Auto commands for common system administration tasks
-Includes: Show all groups/users, Show network information, Disable/Restore Firewall, etc.
- Run the
passhash.pyscript to generate the password hash and configuration values.
python passhash.py
- Follow the prompts to enable password authentication, set the login prompt, and set the password.
- Update the
shell.phpfile with the generated configuration values.
define('passauth', <value>);
$autolog = <value>;
$passprompt = '<value>';
$passhash = passauth ? '<value>' : '';
- Upload the
shell.phpfile to your web server. $php -S localhost:8000 - Access the web shell by navigating to
http://yourdomain.com/shell.phpin your web browser.
- Enter a command in the "Command" field and click "Execute" to run it.
- Use the "Fetch" feature to download files from a remote server.
- Upload files to the server using the "Upload" feature.
- Manage files and directories using the "CWD" field and the "Upload" and "Delete" buttons.
- Use the auto commands by selecting them from the dropdown menu.
- Password protection is enabled by default. Set
passauthtotrueand configure thepasshashvariable to enable password protection. - Automatic logout is enabled by default. Set
autologtotrueto enable automatic logout after 15 minutes of inactivity.
This web shell is licensed under the MIT License, and is provided as-is and without warranty. Use at your own risk. See the LICENSE file for details.
! Warning: Contains firewall disabling command, may catch on anti-virus.