#!/usr/bin/perl -w
use CGI qw(:standard);
my $goodies;
foreach my $key (param) {
$goodies .= $key . " => " . param($key) . "
\n";
}
print
header,
start_html,
"
Unable to process directive.
",
p,
hr,
p,
"That messag up there is jut to fool you.",
"If this were a serious exploit,
you wouldn't see this part - but our program can see your cookie...
\n",
$goodies,
end_html;