The flag07 user was writing their very first perl program that allowed them to ping hosts to see if they were reachable from the web server.
The code of the CGI script is provided (and can be viewed in /home/flag07):
#!/usr/bin/perl
use CGI qw{param};
print "Content-type: text/html\n\n";
sub ping {
$host = $_[0];
print("Ping results ");
@output = `ping -c 3 $host 2>&1`;
foreach $line (@output) { print "$line"; }
print("