mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
15 lines
732 B
Diff
15 lines
732 B
Diff
diff -Naur nikto-2.1.1.orig/nikto.pl nikto-2.1.1/nikto.pl
|
|
--- nikto-2.1.1.orig/nikto.pl 2010-02-02 20:28:54.000000000 +0100
|
|
+++ nikto-2.1.1/nikto.pl 2010-02-05 12:03:17.287685939 +0100
|
|
@@ -85,9 +85,9 @@
|
|
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
|
|
nprint("T:$starttime: Starting", "d");
|
|
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
|
|
-require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
|
+#require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
|
|
|
-# use LW2; ### Change this line to use a different installed version
|
|
+use LW2; ### Change this line to use a different installed version
|
|
|
|
($a, $b) = split(/\./, $LW2::VERSION);
|
|
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
|