Hi! My system (updated today from FreeBSD 10.1-RELEASE): FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I did run rkhunter -c today and I have one warning which I am confused: [06:36:50] Warning: The command '/usr/local/bin/GET' has been replaced by a script: /usr/local/bin/GET: a /usr/local/bin/perl -w script, ASCII text executable The file GET has date February 18 and size is 15071 It started with: #!/usr/local/bin/perl -w eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}' if 0; # not running under some shell # Simple user agent using LWP library. =head1 NAME lwp-request, GET, POST, HEAD - Simple command line user agent =head1 SYNOPSIS B<lwp-request> [B<-afPuUsSedvhx>] [B<-m> I<method>] [B<-b> I<base URL>] [B<-t> I<timeout>] [B<-i> I<if-modified-since>] [B<-c> I<content-type>] [B<-C> I<credentials>] [B<-p> I<proxy-url>] [B<-o> I<format>] I<url>... =head1 DESCRIPTION This program can be used to send requests to WWW servers and your local file system. The request content for POST and PUT methods is read from stdin. The content of the response is printed on stdout. Error messages are printed on stderr. The program returns a status value indicating the number of URLs that failed. The options are: =over 4 =item -m <method> Set which method to use for the request. If this option is not used, then the method is derived from the name of the program. =item -f Force request through, even if the program believes that the method is illegal. The server might reject the request eventually. =item -b <uri> This URI will be used as the base URI for resolving all relative URIs given as argument. =item -t <timeout> Set the timeout value for the requests. The timeout is the amount of time that the program will wait for a response from the remote server before it fails. The default unit for the timeout value is seconds. You might append "m" or "h" to the timeout value to make it minutes or hours, respectively. The default timeout is '3m', i.e. 3 minutes. =item -i <time> Is it something wrong or is just rkhunter problem, please? Thank you. Stari Karp
probably the update make changes to it (or created it if u was updating from 9.x), and rkhunter noticed. compare it with the original file from 10.2-RELEASE in doubt. Le 14/08/2015 12:18, Stari Karp a ?crit :> Hi! > > My system (updated today from FreeBSD 10.1-RELEASE): > > FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 > root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > > I did run rkhunter -c today and I have one warning which I am confused: > > [06:36:50] Warning: The command '/usr/local/bin/GET' has been replaced > by a script: /usr/local/bin/GET: a /usr/local/bin/perl -w script, ASCII > text executable > > The file GET has date February 18 and size is 15071 > > It started with: > #!/usr/local/bin/perl -w > > eval 'exec /usr/local/bin/perl -w -S $0 ${1+"$@"}' > if 0; # not running under some shell > > # Simple user agent using LWP library. > > =head1 NAME > > lwp-request, GET, POST, HEAD - Simple command line user agent > > =head1 SYNOPSIS > > B<lwp-request> [B<-afPuUsSedvhx>] [B<-m> I<method>] [B<-b> I<base URL>] > [B<-t> I<timeout>] > [B<-i> I<if-modified-since>] [B<-c> I<content-type>] > [B<-C> I<credentials>] [B<-p> I<proxy-url>] [B<-o> > I<format>] I<url>... > > =head1 DESCRIPTION > > This program can be used to send requests to WWW servers and your > local file system. The request content for POST and PUT > methods is read from stdin. The content of the response is printed on > stdout. Error messages are printed on stderr. The program returns a > status value indicating the number of URLs that failed. > > The options are: > > =over 4 > > =item -m <method> > > Set which method to use for the request. If this option is not used, > then the method is derived from the name of the program. > > =item -f > > Force request through, even if the program believes that the method is > illegal. The server might reject the request eventually. > > =item -b <uri> > > This URI will be used as the base URI for resolving all relative URIs > given as argument. > > =item -t <timeout> > > Set the timeout value for the requests. The timeout is the amount of > time that the program will wait for a response from the remote server > before it fails. The default unit for the timeout value is seconds. > You might append "m" or "h" to the timeout value to make it minutes or > hours, respectively. The default timeout is '3m', i.e. 3 minutes. > > =item -i <time> > > Is it something wrong or is just rkhunter problem, please? > > Thank you. > > Stari Karp > > _______________________________________________ > freebsd-security at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe at freebsd.org"
On Fri, Aug 14, 2015, at 06:18, Stari Karp wrote:> Hi! > > My system (updated today from FreeBSD 10.1-RELEASE): > > FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 > root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > > I did run rkhunter -c today and I have one warning which I am confused: > > [06:36:50] Warning: The command '/usr/local/bin/GET' has been replaced > by a script: /usr/local/bin/GET: a /usr/local/bin/perl -w script, ASCII > text executable >/usr/local/bin/GET is not part of the FreeBSD OS. % pkg which /usr/local/bin/GET /usr/local/bin/GET was installed by package p5-libwww-6.13 The libwww folks must have replaced it.