This file is indexed.

/usr/share/doc/libswf-perl/examples/video.cgi is in libswf-perl 1:0.4.5-1ubuntu5.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/perl
use strict;

#use lib("/home/peter/ming3/lib/perl5/site_perl");

$|=1;
use SWF qw(:ALL);

my $file = '../common/test.flv';



my $stream=new SWF::VideoStream($file);
$stream->setDimension(200,200);

my $m=new SWF::Movie();
$m->setDimension(400, 300);
$m->setRate(12.0);
$m->add($stream);
for(1..$stream->getNumFrames()) {
	$m->nextFrame();
}

# decide if its called from commandline or as cgiscript
if (exists $ENV{"REQUEST_URI"}){
	print "Content-type: application/x-shockwave-flash\n\n";
	$m->output();
}
else {
	$m->save("$0.swf");
	print "Generated file written to $0.swf\n";
}