Nikto is an open-source web server scanner which performs comprehensive tests against web servers for multiple items. You can use Nikto with any web servers like Apache, Nginx, IHS, OHS, Litespeed, and so on. Nikto can check for server configuration items such as the presence of multiple index files, HTTP server options, and will attempt to identify installed web servers and software. Items and plugins scanned by Nikto are frequently updated and can be automatically updated.
How to install Nikto?
If you are using a Kali Linux machine then Nikto is already pre-installed in it. You can find it under Vulnerability analysis menu or you can just type in the terminal
It will launch an option menu which gives a brief about the tool and how to use it, Which looks like this
If you are using any other machine other than Kali you can install Nikto by using package manager example
pacman -S nikto
apt-get install nikto
or you can simply get the github repository by using wget command and use it:
~ wget https://github.com/sullo/nikto/archive/master.zip . ~ unzip master.zip ~ cd /nikto-master/program
Example For how to use Nikto
Let’s see a very simple example of how to use Nikto in scanning websites for some vulnerability. Use the command:
nikto -h 184.108.40.206
if you are using git hub repository then just navigate to directory and use:
./nikto.pl -h 220.127.116.11
where 18.104.22.168 is scan against the Nginx web server, the scan may take several minutes. You can see the results in the screenshot
- Kali Linux - Password Cracking Tool
- Difference Between Ubuntu and Kali Linux
- Kali Linux Tools
- Introduction to Kali Linux
- How to Change the Mac Address in Kali Linux Using Macchanger?
- How to Hack WPA/WPA2 WiFi Using Kali Linux?
- Kali Linux - Default Passwords
- Kali Linux - Crunch Utility
- How to Create Reverse Shells with Netcat in Kali Linux?
- Kali Linux - Terminal and Shell
- Kali Linux - Command Line Essentials
- How to Change the username or userID in Kali Linux?
- Difference Between Arch Linux and Kali Linux
- Difference Between Fedora and Kali Linux
- Kali Linux - Exploitation Tools
- Kali Linux - Information Gathering Tools
- Kali Linux - Vulnerability Analysis Tools
- Kali Linux - Web Penetration Testing Tools
- Kali Linux - Wireless Attack Tools
- How to Change Root Password in Kali Linux?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.