/** * * icmd.php - a simple script to run shell commands and format their output * * This script accepts user input, prepends a defined command and executes * it on your system. It can be used as an interface for non-interactive * command-line programs where no web interface exists. * * ATTENTION: Unless used in a seriously protected environment this script * is to be considered inherently DANGEROUS. You have been warned! * * @author Andreas Schamanek <https://andreas.schamanek.net> * @license GPL <https://www.gnu.org/licenses/gpl.html> * @copyright (c) 2012-2020 Andreas Schamanek * * @source <https://fam.tuwien.ac.at/~schamane/sysadmin/icmd/icmd.phps> * @download <https://fam.tuwien.ac.at/~schamane/sysadmin/icmd/icmd.php.txt> * * */