[Lunar-commits] r26748 - moonbase/trunk/security/nikto
Chad Kittel
v3rt1g0 at lunar-linux.org
Sat Nov 17 05:11:09 CET 2007
Author: v3rt1g0
Date: 2007-11-17 05:11:09 +0100 (Sat, 17 Nov 2007)
New Revision: 26748
Modified:
moonbase/trunk/security/nikto/BUILD
moonbase/trunk/security/nikto/DEPENDS
moonbase/trunk/security/nikto/DETAILS
Log:
New version. Had to do a number on the BUILD file.
Removed && from DEPENDS.
Added new SSL requirement in DEPENDS
Modified: moonbase/trunk/security/nikto/BUILD
===================================================================
--- moonbase/trunk/security/nikto/BUILD 2007-11-16 16:16:59 UTC (rev 26747)
+++ moonbase/trunk/security/nikto/BUILD 2007-11-17 04:11:09 UTC (rev 26748)
@@ -1,33 +1,36 @@
(
- PLUGIN_DIR="$MODULE_PREFIX/share/nikto/plugins"
+ EXEC_DIR="/usr/share/nikto"
CONF_FILE="nikto.conf"
-
+
#We want a /etc/nikto.conf file not a ./config.txt file
- sedit "s:config.txt:$CONF_FILE:" nikto.pl &&
- sedit "s:\$CFG{configfile}=\"$CONF_FILE\":\$CFG{configfile}=\"/etc/$CONF_FILE\":" nikto.pl &&
- mv config.txt $CONF_FILE &&
-
- # uncomment and set the plugin directory
- sedit "s:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=$PLUGIN_DIR:" $CONF_FILE &&
+ sedit "s:config.txt:$CONF_FILE:" nikto.pl &&
+ sedit "s:\$NIKTO{configfile} = \"$CONF_FILE\":\$NIKTO{configfile} = \"/etc/$CONF_FILE\":" nikto.pl &&
+ mv config.txt $CONF_FILE &&
+ # uncomment and set the exec directory
+ sedit "s:# EXECDIR=/usr/local/nikto:EXECDIR=$EXEC_DIR:" $CONF_FILE &&
+
# use nmap if they user has it installed
if module_installed nmap; then
- sedit 's:^#NMAP:NMAP:' $CONF_FILE
+ sedit 's:NMAP=/usr/local/bin/nmap:NMAP=/usr/bin/nmap:' $CONF_FILE
fi
prepare_install &&
-
+
# install the conf file
install -m 0600 $CONF_FILE /etc &&
# install the app
- install -D -m 0700 nikto.pl $MODULE_PREFIX/bin/nikto.pl &&
- ln -sf $MODULE_PREFIX/bin/nikto.pl $MODULE_PREFIX/bin/nikto &&
+ install -D -m 0700 nikto.pl /usr/bin/nikto.pl &&
+ ln -sf /usr/bin/nikto.pl /usr/bin/nikto &&
- # install the plugins
- mkdir -p -m 0700 $PLUGIN_DIR &&
+ # install the plugins, templates, etc
+ mkdir -p -m 0700 $EXEC_DIR/{plugins,templates,kbase,docs} &&
cd plugins &&
- cp * $PLUGIN_DIR
+ cp * $EXEC_DIR/plugins &&
+ cd .. &&
+ cd templates &&
+ cp * $EXEC_DIR/templates
) > $C_FIFO 2>&1
Modified: moonbase/trunk/security/nikto/DEPENDS
===================================================================
--- moonbase/trunk/security/nikto/DEPENDS 2007-11-16 16:16:59 UTC (rev 26747)
+++ moonbase/trunk/security/nikto/DEPENDS 2007-11-17 04:11:09 UTC (rev 26748)
@@ -1,2 +1,4 @@
+depends perl
+
optional_depends "nmap" "" "" "for nmap support"
-optional_depends "openssl" "" "" "for ssl support"
+optional_depends "Net-SSLeay" "" "" "for ssl support"
Modified: moonbase/trunk/security/nikto/DETAILS
===================================================================
--- moonbase/trunk/security/nikto/DETAILS 2007-11-16 16:16:59 UTC (rev 26747)
+++ moonbase/trunk/security/nikto/DETAILS 2007-11-17 04:11:09 UTC (rev 26748)
@@ -1,11 +1,11 @@
MODULE=nikto
- VERSION=1.36
+ VERSION=2.00
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_URL=http://www.cirt.net/$MODULE/
- SOURCE_VFY=sha1:68a3e71fb9576dac4878b39932372020cc365603
+ SOURCE_VFY=sha1:f39c71f3a35c3f8edd2ba263679f4c7deeb46d9f
WEB_SITE=http://www.cirt.net/code/nikto.shtml
ENTERED=20041027
- UPDATED=20070609
+ UPDATED=20071116
SHORT="A web server vulnerability scanner"
cat << EOF
More information about the Lunar-commits
mailing list