/psh

A restricted shell written in php. Define your own commands with the full power of php.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

psh is a restricted shell written in PHP. Write your own commands with the full power of PHP!

Installation

  • Put the folder on your linux server
  • Make psh.php executable (chmod a+x psh.php)
  • Set psh.php as standard shell vor a user (see /etc/passwd)

Note: You should disable SFTP, X11Forwarding and TCPForwarding for this user!

Features

  • A full restricted shell, no unix/linux command is available
  • Define your own commands to control whatever you want
  • A help function, type simple help in shell ;-)