Fix paths to be compatible with Debian installation
--- nikto/nikto.pl~ 2008-01-10 20:21:59.000000000 +0100
+++ nikto/nikto.pl 2008-03-23 16:06:17.000000000 +0100
@@ -49,7 +49,7 @@
$NIKTO{'DIV'} = "-" x 75;
$NIKTO{'version'} = "2.1.1";
$NIKTO{'name'} = "Nikto";
-$NIKTO{'configfile'} = "/etc/nikto.conf"; ### Change this line if your setup is having trouble finding it
+$NIKTO{'configfile'} = "/etc/nikto/config.txt"; ### Change this line if your setup is having trouble finding it
# read the --config option
{
@@ -67,9 +67,8 @@
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
nprint("T:$starttime: Starting", "d");
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
-require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
-# use LW2; ### Change this line to use a different installed version
+use LW2;
($a, $b) = split(/\./, $LW2::VERSION);
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
--- nikto/nikto.conf~ 2008-01-09 06:26:30.000000000 +0100
+++ nikto/nikto.conf 2008-03-24 08:39:17.000000000 +0100
@@ -17,10 +17,10 @@
#SKIPIDS=
# if Nikto is having difficulty finding the 'plugins', set the full install path here
-# EXECDIR=/usr/local/nikto
+EXECDIR=/var/lib/nikto
# The DTD
-NIKTODTD=docs/nikto.dtd
+NIKTODTD=/usr/share/doc/nikto/nikto.dtd
# the default HTTP version to try... can/will be changed as necessary
DEFAULTHTTPVER=1.0