Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Integrating Nikto with Nessus

When installing Nikto on Linux systems, here are a few tips:

As of Nessus v6 the command line utilities for running Nessus scans are no longer included. Customers are encouraged to use the Nessus API to implement command line base scanning, and a host of other features include uploading and downloading reports. Customers can find examples in the Tenable Discussion Forum, and in particular the post "Nessus v6 API Demo Scripts" and documentation.

To download Nikto and install it, use the following commands:

$ wget http://cirt.net/nikto/nikto-2.1.3.tar.gz
$ tar zxvf nikto-2.1.3.tar.gz
$ cd nikto-2.1.3

Run the following two command as root:

# mkdir /opt/nikto
# cp -r * /opt/nikto/

Modify /opt/nikto/nikto.pl and change the location of the configuration file:

$NIKTO{'configfile'} = "/opt/nikto/nikto.conf"; ### Change this line if it's having trouble finding it

Add the following line to /etc/profile and update the system-wide path to include Nikto (I've also added the directories containing the Nessus binaries):

export PATH=$PATH:/opt/nikto:/opt/nessus/bin:/opt/nessus/sbin

Re-compile and re-index the Nessus plugins:

# /opt/nessus/sbin/nessusd -R

Finally, restart Nessus:

# /etc/init.d/nessusd restart