This file is indexed.

/usr/share/doc/libsys-virt-perl/examples/send-key.pl is in libsys-virt-perl 1.2.16-1ubuntu2.

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

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
# -*- perl -*-
use strict;
use warnings;
use Sys::Virt;

die "syntax: $0 URI DOMAIN-NAME\n" unless int(@ARGV) == 2;

my $uri = shift @ARGV;
my $domname = shift @ARGV;

print "Addr $uri\n";
my $con = Sys::Virt->new(address => $uri, readonly => 0);

my $dom = $con->get_domain_by_name($domname);

my @codes = (
    35, 18, 38, 38, 24,
    57,
    17, 24, 19, 38, 32,
    28,
    );

$dom->send_key(Sys::Virt::Domain::KEYCODE_SET_LINUX,
	       100,
	       \@codes);