Nikto plugin fails due to missing perl-libwhisker2 package
Posted: Fri Mar 13, 2015 6:06 pm
On a fresh instance of CentOS 7, I followed the official OpenVAS-7 binary install procedure:
http://www.openvas.org/install-packages.html
and so far it appears to be working pretty well. Many thanks to the OpenVAS community and the Atomic pacakge maintainers for making this available!
However, when I scanned one of my web servers, I noticed that the nikto plugin failed:
Here is the Nikto report:
Can't locate LW2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/nikto line 63.
BEGIN failed--compilation aborted at /usr/bin/nikto line 63.
It does not appear that there is a convenient el7 source for perl-libwhisker2 which provides the LW2.pm file required by Nikto.
Using the Fedore Core 19 version of the rpm resolved this problem for me.
http://rpm.pbone.net/index.php3/stat/4/ ... h.rpm.html
Perhaps the fc19 version of perl-libwhisker2 could be hosted in the el7 atomic repo? Note that the nikto rpm does not require perl-libwhisker2 but that nikto will not run without it. Perhaps the main openvas rpm could be made to require the fc19 version of perl-libwhister2 so that nikto will work without any special post-install steps.
Kevin
http://www.openvas.org/install-packages.html
and so far it appears to be working pretty well. Many thanks to the OpenVAS community and the Atomic pacakge maintainers for making this available!
However, when I scanned one of my web servers, I noticed that the nikto plugin failed:
Here is the Nikto report:
Can't locate LW2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/nikto line 63.
BEGIN failed--compilation aborted at /usr/bin/nikto line 63.
It does not appear that there is a convenient el7 source for perl-libwhisker2 which provides the LW2.pm file required by Nikto.
Using the Fedore Core 19 version of the rpm resolved this problem for me.
http://rpm.pbone.net/index.php3/stat/4/ ... h.rpm.html
Perhaps the fc19 version of perl-libwhisker2 could be hosted in the el7 atomic repo? Note that the nikto rpm does not require perl-libwhisker2 but that nikto will not run without it. Perhaps the main openvas rpm could be made to require the fc19 version of perl-libwhister2 so that nikto will work without any special post-install steps.
Kevin