#!/usr/bin/perl ############################################################################### ### Gamma Web Shell ### Copyright 2003 Gamma Group ### All rights reserved ### ### Gamma Web Shell is free for both commercial and non commercial ### use. You may modify this script as you find necessary as long ### as you do not sell it. Redistribution is not allowed without ### prior consent from Gamma Group (support@gammacenter.com). ### ### Gamma Group ### use strict; ############################################################################### package WebShell::Configuration; use vars qw($password $restricted_mode $ok_commands); ## ## Password. ## Set to blank if you don't need password protection. ## $password = "changeme"; ## ## Restricted mode. ## Set to "1" to allow only a limited set of commands. ## $restricted_mode = 0; ## ## Available commands. ## The list of available commands for the restricted mode. ## $ok_commands = ['ls', 'ls -l', 'pwd', 'uptime']; ############################################################################### package WebShell::Templates; use vars qw($LOGIN_TEMPLATE $INPUT_TEMPLATE $EXECUTE_TEMPLATE $BROWSE_TEMPLATE); my $VERSION = 'Gamma Web Shell 1.3'; my $STYLESHEET = < Gamma Web Shell
$VERSION |
Copyright © 2003 Gamma Group |