summaryrefslogtreecommitdiffstats
path: root/network/nikto/patches/nikto-2.1.4
diff options
context:
space:
mode:
author Brenton Earl <brent@exitstatusone.com>2015-11-09 23:06:26 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-09 23:06:26 +0700
commit60c52eeee2601b1e2473b96d5abcdfbca690b485 (patch)
tree27cb627bc557f15d3792e603516edd16298462a4 /network/nikto/patches/nikto-2.1.4
parent96ce7ed40246002fceecac452dcac0c14e6e317c (diff)
downloadslackbuilds-60c52eeee2601b1e2473b96d5abcdfbca690b485.tar.gz
slackbuilds-60c52eeee2601b1e2473b96d5abcdfbca690b485.tar.xz
network/nikto: Updated for version 2.1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nikto/patches/nikto-2.1.4')
-rw-r--r--network/nikto/patches/nikto-2.1.4/README3
-rw-r--r--network/nikto/patches/nikto-2.1.4/nikto.diff21
2 files changed, 24 insertions, 0 deletions
diff --git a/network/nikto/patches/nikto-2.1.4/README b/network/nikto/patches/nikto-2.1.4/README
new file mode 100644
index 0000000000..4f9c30e667
--- /dev/null
+++ b/network/nikto/patches/nikto-2.1.4/README
@@ -0,0 +1,3 @@
+This directory and its file is kept as a reference to
+how the last maintainer patched nikto.pl. Will be
+deleted eventually.
diff --git a/network/nikto/patches/nikto-2.1.4/nikto.diff b/network/nikto/patches/nikto-2.1.4/nikto.diff
new file mode 100644
index 0000000000..1c3774db92
--- /dev/null
+++ b/network/nikto/patches/nikto-2.1.4/nikto.diff
@@ -0,0 +1,21 @@
+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
+@@ -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 #
+@@ -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";
+
+ my ($a, $b) = split(/\./, $LW2::VERSION);
+ die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);