[Nikto-discuss] Error messages when running the nikto

david lodge resident.deity at gmail.com
Tue Sep 7 17:38:05 CDT 2010

> c:\Program Files\nikto-2.1.3>perl nikto.pl -h www.abc.com
> Can't locate nikto.pl/plugins/nikto_core.plugin in @INC (@INC contains:
> C:/Perl/site/lib C:/Perl/lib .) at nikto.pl line 89.

It looks like you're using strawberry perl. This sort of messes around
with the path, fortunately there's an easy way around this: prefix
nikto.pl with a ./, e.g.:

perl ./nikto.pl -h www.abc.com

As Sullo mentioned earlier - this is because nikto can't find the
plugins directory, which it'll try and look in the directories
configured in the conf file, or try the local directory. For some
reason on Strawberry perl, the directory specification messes up a
bit, unless you use perl ./nikto.pl

> c:\Program Files\nikto-2.1.3>nikto.pl -h www.abc.com
> Can't locate auto/Net/SSLeay/autosplit.ix in @INC (@INC contains:
> C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/lib/AutoLoader.pm line 173. at
> C:/Perl/lib/Net/SSLeay.pm line 61

You need to install the SSLeay perl module (through CPAN or through
another package). Though you only need this if you're checking HTTPS
connections, if you're just checking normal HTTP then you can safely
ignore the message.

More information about the Nikto-discuss mailing list