This file is indexed.

/usr/share/perl5/Bot/BasicBot/Pluggable/Terminal.pm is in libbot-basicbot-pluggable-perl 1.20-1.

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package Bot::BasicBot::Pluggable::Terminal;
$Bot::BasicBot::Pluggable::Terminal::VERSION = '1.20';
use warnings;
use strict;
use base qw(Test::Bot::BasicBot::Pluggable);

# Loader lets you tell the bot to load other modules.

sub run {
    my $self = shift;
    while (1) {
        last if eof STDIN;
        my $in = <STDIN>;
        chomp $in;

        # strip off whitespace before and after the message
        $in =~ s!(^\s*|\s*$)!!g;

        last if $in eq 'quit';
        my $ret = $self->tell( $in, 1, 1, $ENV{USER} );
        print "$ret\n" if $ret;
    }
}

1;

__END__

=head1 NAME

bot-basicbot-pluggable.pl - A standard Bot::BasicBot::Pluggable script

=head1 VERSION

version 1.20

=head1 DESCRIPTION

A standard Bot::BasicBot::Pluggable interface. You can /query the bot
to load in more modules. Change the admin password ASAP - See perldoc
L<Bot::BasicBot::Pluggable::Auth> for details of this.

=head1 USAGE

  bot-basicbot-pluggable-cli

=head2 SEE ALSO

Bot::BasicBot::Pluggable