pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/nikto - Update to 1.35
details: https://anonhg.NetBSD.org/pkgsrc/rev/a1975a09c70e
branches: trunk
changeset: 496547:a1975a09c70e
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sat Jul 02 11:30:01 2005 +0000
description:
- Update to 1.35
- Change MESSAGE based on new -config directive
- Remove outdated patch for bug that's no longer there in CHANGES.txt
- Set plugings directory in the default config.txt
- Point users to the installed customised config.txt instead of the sample one
- From the CHANGELOG.txt
05.20.2005
Database Updates
- Multiple msgs updates from david.maciejak%kyxar.fr@localhost
- Multiple test updates from burak.dayioglu%pro-g.com.tr@localhost
nikto_core.plugin 1.31
- Bugfix: fingerprint was not including leading /. Thanks Axel Meerschaert
for the report.
- Bugfix: NMAPOPTS was not being used, thanks to David Rhoades for patching.
- Added additional content checking to reduce false positives, thanks to
Pavel Kankovsky
nikto.pl 1.14
- Added -config option to specify a config file, thanks to Pavel Kankovsky
diffstat:
security/nikto/MESSAGE | 10 +++++-----
security/nikto/Makefile | 8 ++++----
security/nikto/distinfo | 10 +++++-----
security/nikto/patches/patch-aa | 13 -------------
security/nikto/patches/patch-ab | 21 +++++++++++++++++++++
5 files changed, 35 insertions(+), 27 deletions(-)
diffs (103 lines):
diff -r a329051694d1 -r a1975a09c70e security/nikto/MESSAGE
--- a/security/nikto/MESSAGE Sat Jul 02 10:48:20 2005 +0000
+++ b/security/nikto/MESSAGE Sat Jul 02 11:30:01 2005 +0000
@@ -1,14 +1,14 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2003/12/05 17:45:23 xtraeme Exp $
+$NetBSD: MESSAGE,v 1.2 2005/07/02 11:30:01 adrianp Exp $
-You will need to create your own config.txt file before running nikto.
-A sample file can be found in "${PREFIX}/share/examples/nikto".
+You may need to create your own config.txt file before running nikto.
+A sample file can be found in "${PREFIX}/share/nikto".
Once you have customised this file for your environment it must be in
-your current working directory when nikto is run.
+your current working directory when nikto is run. Alternatively you can use
+the new ./nikto -config <filename> directive to specify a config file.
You may want to run "nikto -update" as root once you have customised
your config.txt file. This will ensure you have the latest updates
for the nikto scanner.
-
===========================================================================
diff -r a329051694d1 -r a1975a09c70e security/nikto/Makefile
--- a/security/nikto/Makefile Sat Jul 02 10:48:20 2005 +0000
+++ b/security/nikto/Makefile Sat Jul 02 11:30:01 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2005/06/17 03:50:32 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/07/02 11:30:01 adrianp Exp $
-DISTNAME= nikto-1.34
+DISTNAME= nikto-1.35
CATEGORIES= security www
MASTER_SITES= http://www.cirt.net/nikto/
@@ -19,8 +19,8 @@
SUBST_CLASSES= conf
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= config.txt
-SUBST_SED.conf= -e "s|\#NMAP=/usr|NMAP=${PREFIX}|g"
-SUBST_MESSAGE.conf= "Fixing configuration files."
+SUBST_SED.conf= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_MESSAGE.conf= "Fixing PREFIX in files."
CONF_FILES= ${PREFIX}/share/examples/nikto/config.txt \
${PREFIX}/share/nikto/config.txt
diff -r a329051694d1 -r a1975a09c70e security/nikto/distinfo
--- a/security/nikto/distinfo Sat Jul 02 10:48:20 2005 +0000
+++ b/security/nikto/distinfo Sat Jul 02 11:30:01 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 13:10:08 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/07/02 11:30:01 adrianp Exp $
-SHA1 (nikto-1.34.tar.gz) = 7e932bef107f3162d30425f698df652f522f653a
-RMD160 (nikto-1.34.tar.gz) = 433e1f51164fd8b3145d667d4507147a00bfad39
-Size (nikto-1.34.tar.gz) = 184320 bytes
-SHA1 (patch-aa) = 2fe6b18a1e66b1ecc865aa50feb5fc166bc0e853
+SHA1 (nikto-1.35.tar.gz) = 3c1078f437449064a6c7e3702314a7850d4cd2af
+RMD160 (nikto-1.35.tar.gz) = 9f7f4e0a1e21d88e25b6c7bbbf6468bb93dbc311
+Size (nikto-1.35.tar.gz) = 190033 bytes
+SHA1 (patch-ab) = 06b45968587994a9faad881859c78f77f34ffcc1
diff -r a329051694d1 -r a1975a09c70e security/nikto/patches/patch-aa
--- a/security/nikto/patches/patch-aa Sat Jul 02 10:48:20 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/12/05 17:45:24 xtraeme Exp $
-
---- plugins/nikto_core.plugin.orig Mon Sep 15 00:09:43 2003
-+++ plugins/nikto_core.plugin Mon Sep 15 00:10:51 2003
-@@ -859,7 +859,7 @@
- print "+ Retrieving 'CHANGES.txt'\n";
- (my $RES, $CONTENT) = fetch("$serverdir/CHANGES.txt","GET");
- if (($CONTENT ne "") && ($RES eq 200)) {
-- open(OUT,">$NIKTO{plugindir}/../docs/CHANGES.txt") || die print "+ ERROR: Unable to open '$NIKTO{plugindir}/../CHANGES.txt' for write: $@\n";
-+ open(OUT,">$NIKTO{plugindir}/../docs/CHANGES.txt") || die print "+ ERROR: Unable to open '$NIKTO{plugindir}/../docs/CHANGES.txt' for write: $@\n";
- print OUT $CONTENT;
- close(OUT);
- }
diff -r a329051694d1 -r a1975a09c70e security/nikto/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/nikto/patches/patch-ab Sat Jul 02 11:30:01 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.3 2005/07/02 11:30:01 adrianp Exp $
+
+--- config.txt.orig 2005-07-02 11:42:30.000000000 +0100
++++ config.txt
+@@ -7,14 +7,14 @@
+
+ # location of nmap to use with port scanning (rather than Nikto internals)
+ # and any options to pass to it
+-#NMAP=/usr/bin/nmap
++NMAP=@PREFIX@/bin/nmap
+ #NMAPOPTS=
+
+ # ports never to scan
+ SKIPPORTS=21 111
+
+ # if Nikto is having difficulty finding 'plugins', set the full path here
+-# PLUGINDIR=/usr/local/nikto/plugins
++PLUGINDIR=@PREFIX@/share/nikto/plugins
+
+ # the default HTTP version to try... can/will be changed as necessary
+ DEFAULTHTTPVER=1.1
Home |
Main Index |
Thread Index |
Old Index