nstnikto — NST script to administer nikto.
nstnikto
[
-m
TEXT
| --mode
TEXT
] [
-h
[true]|false
| --help
[true]|false
] [
-H
[true]|false
| --help-long
[true]|false
] [
-v
[true]|false
| --verbose
[true]|false
] [ --version
[true]|false
]
The nstnikto script is used in a NST distribution to administer the nikto process on a NST distribution (nikto is designed to examine web servers and look for security holes).
This script has been designed to support other script. If
you use this script directly from the command line, you will most
likely want to include the -v
option to enable
verbose output.
The following modes of operation are supported by the nstnikto script:
status
The status
mode of operation is
used to determine whether or not there are any running
instances of nikto. It will echo the process ID(s) for
each running instance found. If no instances are found, this
invocation will exit with a return code of 1.
update
The update
mode of operation is
used to update the nikto files with the latest plug-ins
from the nikto web site.
Here is a typical example of using nstnikto to
update
and then run the nikto command:
[root@probe ~]#
nstnikto -m update -v
[root@probe nikto]#
nikto --findonly -h 127.0.0.1
[root@probe ~]#
The following command line options are available:
-m TEXT
] | [--mode TEXT
]
This option controls what
nstnikto will do. If you specify
status
(the default), it will return 0 if there
are any nikto instances currently running (the
process IDs will also be echoed). If you specify
update
, it will update the
nikto plug-ins from www.cirt.net.
-h [true]|false
] | [--help [true]|false
]
When this option is specified, nstnikto will display a short one line description of nstnikto, followed by a short description of each of the supported command line options. After displaying this information nstnikto will terminate.
-H [true]|false
] | [--help-long [true]|false
]
This option will attempt to pull up additional
nstnikto documentation within a text based
web browser. You can force which browser we use setting the
environment variable TEXTBROWSER
, otherwise,
we will search for some common ones.
-v [true]|false
] | [--verbose [true]|false
]
When you set this option to true, nstnikto will produce additional output. This is typically used for diagnostic purposes to help track down when things go wrong.
--version [true]|false
]
If this option is specified, the version number of the script is displayed.