diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/nikto/MESSAGE | 10 | ||||
-rw-r--r-- | security/nikto/Makefile | 8 | ||||
-rw-r--r-- | security/nikto/distinfo | 10 | ||||
-rw-r--r-- | security/nikto/patches/patch-aa | 13 | ||||
-rw-r--r-- | security/nikto/patches/patch-ab | 21 |
5 files changed, 35 insertions, 27 deletions
diff --git a/security/nikto/MESSAGE b/security/nikto/MESSAGE index afccc665f60..384960da411 100644 --- a/security/nikto/MESSAGE +++ b/security/nikto/MESSAGE @@ -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 --git a/security/nikto/Makefile b/security/nikto/Makefile index fc5eac5e0b7..94c4050b00f 100644 --- a/security/nikto/Makefile +++ b/security/nikto/Makefile @@ -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 @@ USE_PKGINSTALL= YES 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 --git a/security/nikto/distinfo b/security/nikto/distinfo index 4c3315b94db..5f5420b2d2e 100644 --- a/security/nikto/distinfo +++ b/security/nikto/distinfo @@ -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 --git a/security/nikto/patches/patch-aa b/security/nikto/patches/patch-aa deleted file mode 100644 index 0196bc21341..00000000000 --- a/security/nikto/patches/patch-aa +++ /dev/null @@ -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 --git a/security/nikto/patches/patch-ab b/security/nikto/patches/patch-ab new file mode 100644 index 00000000000..353be043e5e --- /dev/null +++ b/security/nikto/patches/patch-ab @@ -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 |