Leash is a unique web application that grants users shell access without the need for root privileges or SSH. It's designed for PHP-based hosting environments and allows for various commands and features, including database interactions, interpreters, and file uploads. Experience a lightweight and effective shell interface right from the browser.
leash: A Browser-Based Shell Solution
leash is a web application designed to provide users with shell access without the need for root privileges, SSH, or Telnet, leveraging only PHP-based hosting. This tool empowers users by allowing shell command execution through simple PHP server configurations, making it an accessible solution for web developers and system administrators alike.
Key Features
- Multiple Command Support: Execute various commands, including MySQL and SQLite commands, enhancing database interactions directly from the browser.
- Interpreters: Access a Python interpreter and a JavaScript interpreter, allowing dynamic script execution within the web environment.
- Jargon and Document Access: Utilize the jargon command to fetch definitions from a jargon file, and leverage RFC commands to read relevant RFC documents
- Editing Tools: Use the ymacs editor and vi editor to manage code and text efficiently, supporting familiarity for users accustomed to traditional command-line editors.
- Advanced Functionality:
- Tab Completion: Streamline command inputs with intelligent tab completion.
- File Upload: Drag and drop files with HTML5 capability, enabling uploads that exceed the typical PHP limits.
- Interactive Views: View HTML pages as plaintext in the terminal, facilitating content browsing directly within the shell environment.
- Session Management: Record commands in a hash for easy reruns after refreshing.
- Repository Browsing: Browse GitHub repositories with basic command support for file manipulation.
- User Access Control: Configure guest and sudo options for varied access levels, enhancing security and user management.
System Requirements
- Requires PHP version 5.5 or higher with enabled modules: curl, mbstring, json, and zip.
- To fully leverage leash’s capabilities, ensure the availability of one of the following functions: exec, system, shell_exec, or CGI with Perl/Python.
- For database commands, appropriate MySQL or SQLite installations and PHP modules are necessary.
- Optional installation of the programm
unbufferwill enhance non-interactive shell experiences to simulate a real terminal.
For more detailed information regarding installation, setup or to engage in discussions, visit the project’s chat room: Gitter Chat.
leash offers a seamless way to utilize shell commands through a browser interface, expanding opportunities for web-based server administration and development.
No comments yet.
Sign in to be the first to comment.