How To Install Nikto On Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Nikto On Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

nikto

Web server scanner which performs comprehensive tests against web servers for multiple items.

Install nikto

  • Ubuntu apt-get install nikto Click to copy
  • Alpine OS apk add nikto Click to copy
  • Arch Linux pacman -S nikto Click to copy
  • Kali Linux apt-get install nikto Click to copy
  • Fedora dnf install nikto Click to copy
  • Raspbian apt-get install nikto Click to copy
  • macOS brew install nikto Click to copy

Web server scanner which performs comprehensive tests against web servers for multiple items.

How to use nikto?

Below are few example commands for nikto that you can use in the terminal.

Perform a basic Nikto scan against a target host:
perl nikto.pl -h 192.168.0.1Click to copy
Specify the port number when performing a basic scan:
perl nikto.pl -h 192.168.0.1 -p 443Click to copy
Scan ports and protocols with full URL syntax:
perl nikto.pl -h https://192.168.0.1:443/Click to copy
Scan multiple ports in the same scanning session:
perl nikto.pl -h 192.168.0.1 -p 80,88,443Click to copy
Update to the latest plugins and databases:
perl nikto.pl -updateClick to copy
Install the latest version of nikto in Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the nikto just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of nikto from the respository and install it in your computer/server.