[Lunar-commits] CVS: moonbase/security/nikto BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1

Chad Kittel v3rt1g0 at lunar-linux.org
Thu Oct 28 01:39:33 UTC 2004


Update of /var/cvs/lunar/moonbase/security/nikto
In directory espresso.foo-projects.org:/tmp/cvs-serv15975/nikto

Added Files:
	BUILD DEPENDS DETAILS 
Log Message:
Inital import of a very robust (and noisey) web server vuln scanner.
Play nice!


--- NEW FILE: BUILD ---
(

  PLUGIN_DIR="$MODULE_PREFIX/share/nikto/plugins"
  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 &&

  # use nmap if they user has it installed
  if module_installed nmap; then
    sedit 's:^#NMAP:NMAP:' $CONF_FILE
  fi
 
  # 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 the plugins
  mkdir -p -m 0700 $PLUGIN_DIR &&
  cd plugins                   &&
  cp * $PLUGIN_DIR

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
optional_depends "nmap" "" "" "for nmap support"
optional_depends "openssl" ""  ""  "for ssl support"

--- NEW FILE: DETAILS ---
          MODULE=nikto
         VERSION=1.34
          SOURCE=$MODULE-current.tar.gz
      SOURCE_URL=http://www.cirt.net/$MODULE/
      SOURCE_VFY=sha1:7e932bef107f3162d30425f698df652f522f653a
        WEB_SITE=http://www.cirt.net/code/nikto.shtml
         ENTERED=20041027
         UPDATED=20041027
           SHORT="A web server vulnerability scanner"

cat << EOF
Nikto is web server scanner which performs comprehensive tests 
against web servers for multiple items, including over 2600 
potentially dangerous files/CGIs, versions on over 625 servers, and 
version specific problems on over 230 servers. Scan items and plugins
are frequently updated and can be automatically updated (if desired).
EOF



More information about the Lunar-commits mailing list