# # nikto
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2005/03/13 nikto

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© March 2005 Tony Lawrence

Nikto is a Perl script for testing web sites. It's useful, though there are more than a few things that are annoying about it. First is its dependence on other modules: I know, I know, I'm a grumpy old curmudgeon but I really dislike having to go track down stuff. I understand that sometimes the other modules are really, really necessary and I certainly don't expect someone to reinvent the wheel just to avoid this, but far to often it's just plain laziness - that probably doesn't apply here, I'm just grumbling in general..

Anyway, once you've satisfied its dependencies, update, and then just turn it loose on your site:

nikto.pl -update
nikto.pl -host localhost -output /tmp/problems
 

That will display its progress on the screen as well as logging it to /tmp/problems for later review.

Nikto knows about a LOT of potential secuity problems. Unfortunately, if you have Custom 404 redirects in place, Nikto thinks you have each and every problem it knows about. It effectively tells you that early on:

+ Server does not respond with '404' for error messages (uses '301').
+     This may increase false-positives.
 

That also confuses it terribly with TRACE, which apparently should be disabled (http://www.cgisecurity.com/whitehat-mirror/WhitePaper_screen.pdf). But if the disable pushes it to a custom error page, Nikto thinks it's still enabled.

The obvious solution is to shut off custom error handling while testing with Nikto. That may be annoying, but the tests don't take all that long to run. Or, you can leave it as is and manually review the output, ignoring warnings due to that misunderstanding.


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> nikto


Inexpensive and informative Apple related e-books:

Take Control of High Sierra

Take Control of Numbers

Take Control of Upgrading to El Capitan

Digital Sharing Crash Course

Take Control of Parallels Desktop 12





More Articles by © Tony Lawrence





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





If you lie to the computer, it will get you. (Perry Farrar)




Linux posts

Troubleshooting posts


This post tagged:

Security

Web/HTML



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode