Skip to content

Install Unix

sullo edited this page Jul 20, 2018 · 4 revisions

Perl

Generic unix/linux installations (including Mac OS X) require a Perl 5 installation. Modules needed by Nikto are either included (e.g., LibWhisker) or found in most standard installations.

Install Source

It is highly recommended that your installation be run from the git repository or using the latest auto-generated zip file, if necessary. Nikto is not currently packaged on any release schedule (the git version identifies as v2.1.6).

https://github.com/sullo/nikto

Layout

Nikto is designed to be self-contained. Unpack the archive (using your favorite combination of unzip, tar and gzip) into a directory and Nikto can be run entirely from that directory without placing files throughout the system.

Requirements

For HTTPS support:

  • Net::SSLeay, or
  • Net::SSL

Other required/helpful modules (most/all included in Perl installations):

  • Getopt::Long
  • JSON::PP
  • MIME::Base64
  • MD5
  • Time::Local
  • Time::HiRes
  • POSIX
  • Socket
  • IO::Socket

Unsupported Situations

Several operating systems, such as Kali Linux, have packages for or come pre-installed with Nikto. While we do our best to support running on these platforms, a stand-alone portable installation is our primary focus and is what we support. If you are experiencing difficulty with one of these alternative installations, please consider checking with the OS/package maintainer as we are not aware of what changes may have been made to Nikto or its layout.

For resolution of problems, it is often best to install a clean portable version of Nikto and run to determine if it behaves properly. Bear in mind path issues and precedence of config files/plugins may cause confusion when running one installation versus another.