This file is indexed.

/usr/bin/cipux_cat_web_module is in cipux-cat-web 3.4.0.3-4.1.

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
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
#!/usr/bin/perl -w -T

eval 'exec /usr/bin/perl -w -T -S $0 ${1+"$@"}'
    if 0; # not running under some shell
# +==========================================================================+
# || cipux_cat_web_module                                                   ||
# ||                                                                        ||
# || XML-RPC client to register, deregister and list a CAT module.          ||
# ||                                                                        ||
# || Copyright (C) 2008 - 2009 by Christian Kuelker                         ||
# ||                                                                        ||
# || License: GNU General Public license - GNU GPL - version 2              ||
# ||          or (at your opinion) any later version.                       ||
# ||                                                                        ||
# +==========================================================================+
# $Id$
# $Revision$
# $HeadURL$
# $Date$
# $Source$

package cipux_cat_web_module;

use 5.008001;
use strict;
use warnings;
use CipUX::CAT::Web::Setup::Client;
use version; our $VERSION = qv('3.4.0.3');
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};    # Make %ENV safer

# +==========================================================================+
# || MAIN                                                                   ||
# +==========================================================================+
my $client = CipUX::CAT::Web::Setup::Client->new(
    { name => 'cipux_cat_web_module' } );

$client->run();

exit 0;

__END__

=pod

=head1 NAME

Program to register, deregister and list a CAT modules.

=head1 SYNOPSIS

 (1) cipux_cat_web_module [OPTIONS] --register --object <NAME>| --all

 (2) cipux_cat_web_module [OPTIONS] --deregister --object <NAME>| --all

 (3) cipux_cat_web_module [OPTIONS] --list-registered

 (4) cipux_cat_web_module [OPTIONS] --list-deregistered

=head1 OPTIONS

        Options for all commands:
        -D | --debug         : print debug messages for developers
        -h | --help          : print help (this message + options)
        -l | --login ID      : uses ID as UID to authenticate
        -V | --version       : print only version
             --verbose       : print more messages
        -w | --password CRED : uses CRED as credential to authenticate

        Additional options for registering and deregistering:
        -a | --all     : (de)register all pending objects

        Additional options for registering:
        -e | --enable     : enable module(s)
        -m | --add-member : add object (user or group) to ACL

=head1 USAGE SPECIFIC OPTIONS

(1) register

 --add-member <NAME>  : do add object to the ACL, so that this object
                        can access the modules. An object could be a
                        group or a user.

 -e | --enable        : do enable the module during registration; module is
                        disabled by default

 -a | --all           : register all modules
 or
 -o | --object <NAME> : or register only one module


(2) deregister

 -a | --all           : deregister all modules
 or
 -o | --object <NAME> : or deregister only one module

The URL of the CipUX XML-RPC server is taken from cipux-cat-web.ini file. The
default location for CipUX-CAT-Web. If you would like to use a different URL
change catweb_rpc_server in the base section.


=head1 DESCRIPTION OF OPTIONS

=over 4

=item I<-a>

Same as option --all

=item I<-add-member NAME>

Adds NAME to the ACL of that module(s).

=item I<-all>

Register all CAT modules.

=item I<-D>

Same as option --debug.

=item I<--debug>

To see more output, what the internals is doing, you can enable the --debug
option and see more message printed to STDOUT.

=item I<-e>

Same as option --enable.

=item I<--enable>

Enable the object during registration.

=item I<-h>

Same as option --help

=item I<--help>

Prints brief help message.

=item I<-l UID>

Same as option --login UID.

=item I<--login UID>

Use UID as identity to authenticate against RPC server.

=item I<-o>

Same as option --object

=item I<--object>

This option is used to specify the object on which the command is operating.
Make sure you choose the right object. Of course this will also fail when the
object is not fetchable with (in the objects list of) --task.

=item I<--password SECRET>

Use SECRET as credential to authenticate against RPC server.

=item I<-V>

Same as option --version.

=item I<--version>

Prints the version and exits.

=item I<--verbose>

Not implemented yet.

=item I<-v>

Same as option --verbose.

=item I<-w SECRET>

Same as option --password SECRET.

=back

=cut