mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/nikto: Updated for version 2.1.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
088b293fcc
commit
346e5cc9ab
3 changed files with 19 additions and 13 deletions
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=nikto
|
PRGNAM=nikto
|
||||||
VERSION=${VERSION:-2.1.1}
|
VERSION=${VERSION:-2.1.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,21 @@
|
||||||
diff -Naur nikto-2.1.1.orig/nikto.pl nikto-2.1.1/nikto.pl
|
diff -Naur nikto-2.1.2.orig/nikto.pl nikto-2.1.2/nikto.pl
|
||||||
--- nikto-2.1.1.orig/nikto.pl 2010-02-02 20:28:54.000000000 +0100
|
--- nikto-2.1.2.orig/nikto.pl 2010-07-12 02:27:03.000000000 +0200
|
||||||
+++ nikto-2.1.1/nikto.pl 2010-02-05 12:03:17.287685939 +0100
|
+++ nikto-2.1.2/nikto.pl 2010-07-12 16:54:23.081240167 +0200
|
||||||
@@ -85,9 +85,9 @@
|
@@ -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";
|
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_core.plugin";
|
||||||
nprint("T:$starttime: Starting", "d");
|
nprint("T:$starttime: Starting", "d");
|
||||||
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
|
require "$NIKTOCONFIG{'PLUGINDIR'}/nikto_single.plugin";
|
||||||
-require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
-require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
||||||
+#require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
+#require "$NIKTOCONFIG{'PLUGINDIR'}/LW2.pm";
|
||||||
|
|
||||||
-# use LW2; ### Change this line to use a different installed version
|
my ($a, $b) = split(/\./, $LW2::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);
|
die("- You must use LW2 2.4 or later\n") if ($a != 2 || $b < 4);
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="nikto"
|
PRGNAM="nikto"
|
||||||
VERSION="2.1.1"
|
VERSION="2.1.2"
|
||||||
HOMEPAGE="http://cirt.net/nikto2"
|
HOMEPAGE="http://cirt.net/nikto2"
|
||||||
DOWNLOAD="http://cirt.net/nikto/nikto-2.1.1.tar.bz2"
|
DOWNLOAD="http://cirt.net/nikto/nikto-2.1.2.tar.bz2"
|
||||||
MD5SUM="4a7ca9634190eba8cac9847117a72446"
|
MD5SUM="42fd9748dc2d3949553a83660c36a503"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in a new issue