2011-03-05 04:35:32 +01:00
|
|
|
diff -Naur nikto-2.1.4.orig/nikto.pl nikto-2.1.4/nikto.pl
|
|
|
|
--- nikto-2.1.4.orig/nikto.pl 2011-02-19 03:53:23.000000000 +0100
|
|
|
|
+++ nikto-2.1.4/nikto.pl 2011-02-21 17:50:11.978245864 +0100
|
2010-07-12 19:38:12 +02:00
|
|
|
@@ -6,7 +6,7 @@
|
|
|
|
use Getopt::Long;
|
|
|
|
Getopt::Long::Configure('no_ignore_case');
|
|
|
|
|
|
|
|
-# use LW2; ### Change this line to use a different installed version
|
|
|
|
+use LW2; ### Change this line to use a different installed version
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Nikto #
|
2011-03-05 04:35:32 +01:00
|
|
|
@@ -85,7 +85,7 @@
|
|
|
|
require "$CONFIGFILE{'PLUGINDIR'}/nikto_core.plugin";
|
|
|
|
nprint("T:" . localtime($COUNTERS{'scan_start'}) . ": Starting", "d");
|
|
|
|
require "$CONFIGFILE{'PLUGINDIR'}/nikto_single.plugin";
|
|
|
|
-require "$CONFIGFILE{'PLUGINDIR'}/LW2.pm";
|
|
|
|
+#require "$CONFIGFILE{'PLUGINDIR'}/LW2.pm";
|
2010-05-13 00:37:35 +02:00
|
|
|
|
2010-07-12 19:38:12 +02:00
|
|
|
my ($a, $b) = split(/\./, $LW2::VERSION);
|
2010-05-13 00:37:35 +02:00
|
|
|
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
|