summaryrefslogtreecommitdiff
path: root/network/nikto/nikto.diff
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-05-13 00:37:35 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:35 +0200
commitda7f370617e4ccdcf0c30a4000e8094a8ed03cc0 (patch)
tree0f0277c1f93951a9f6486151db30ceb7a8557813 /network/nikto/nikto.diff
parent1e683a827b6b1924402296978969b40bddb05a78 (diff)
downloadslackbuilds-da7f370617e4ccdcf0c30a4000e8094a8ed03cc0.tar.gz
network/nikto: Updated for version 2.1.1
Diffstat (limited to 'network/nikto/nikto.diff')
-rw-r--r--network/nikto/nikto.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/network/nikto/nikto.diff b/network/nikto/nikto.diff
new file mode 100644
index 0000000000..ac1f59514f
--- /dev/null
+++ b/network/nikto/nikto.diff
@@ -0,0 +1,15 @@
+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);