Yes, it's exactly what it looks like. You type in a UNIX shell command, and our old fiend AJAX sends it back to a webswerver where a CGI script executes the command, and sends the results back. AJAX then dynamically rewrites the page text to show the results. The back-end CGI script: #!/usr/bin/perl
# Officially the worst idea for a CGI script ever.
$_ = $ENV{QUERY_STRING}; # GET
if(! $_) {
$_ = ; # POST
}
tr/+/ /; # URL encoding changes spaces to plusses
my $output = `$_`; # Enormous... read more