diff options
author | Marco Bonetti <sid77@slackware.it> | 2010-07-12 12:38:12 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-15 20:12:36 -0500 |
commit | 346e5cc9ab47329dfd187b32ccb9fc20e7eef913 (patch) | |
tree | c666bedd2c82ba85286185956bba44daf51cbb06 /network/nikto/nikto.diff | |
parent | 088b293fccb0703a65efb91215832800562f0234 (diff) | |
download | slackbuilds-346e5cc9ab47329dfd187b32ccb9fc20e7eef913.tar.gz |
network/nikto: Updated for version 2.1.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/nikto/nikto.diff')
-rw-r--r-- | network/nikto/nikto.diff | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/network/nikto/nikto.diff b/network/nikto/nikto.diff index ac1f59514f..e1f14fb326 100644 --- a/network/nikto/nikto.diff +++ b/network/nikto/nikto.diff @@ -1,15 +1,21 @@ -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 @@ +diff -Naur nikto-2.1.2.orig/nikto.pl nikto-2.1.2/nikto.pl +--- nikto-2.1.2.orig/nikto.pl 2010-07-12 02:27:03.000000000 +0200 ++++ nikto-2.1.2/nikto.pl 2010-07-12 16:54:23.081240167 +0200 +@@ -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 # +@@ -89,7 +89,7 @@ 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); + my ($a, $b) = split(/\./, $LW2::VERSION); die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4); |