Nikto and it's usages (original) (raw)

Last Updated : 9 May, 2026

Nikto is a powerful open-source web server vulnerability scanner written in Perl. It is widely used by penetration testers, security researchers and system administrators to identify potential security issues in web servers. Nikto scans web servers for:

Key Features of Nikto

Nikto comes with a rich set of features that make it a valuable tool:

Installing Nikto in Linux

Follow these steps to install Nikto:

Step 1: Update system packages

Update your package list to ensure you install the latest available version of Nikto.

**Command:

sudo apt update

Step 2: Install Nikto

Install Nikto directly from the official repositories.

**Command:

sudo apt install nikto

Step 3: Verify installation

Check if Nikto is installed correctly by displaying its version.

**Command:

nikto -Version

Step 4: Run Nikto

Launch Nikto to start scanning web servers.

**Command:

nikto

**Or scan a specific target:

nikto -h http://example.com

Syntax

nikto -h [options]

Basic Usage of Nikto

Nikto supports many flags; a few common ones are listed below:

Displays all available options and commands supported by Nikto.

**Command:

perl nikto.pl -H

**Output:

2. -host: Scan a Website

Scans the target website for vulnerabilities and misconfigurations.

**Command:

perl nikto.pl -host https://www.webscantest.com/

**Output:

3. Scan Specific Port

Targets a specific port to check services running on it.

**Command:

perl nikto.pl -host example.com -port 8080

Screenshot-2026-05-02-180839

Scan specific port

4. -output: Save Output to File

Saves the scan results into a file for later analysis.

**Command:

perl nikto.pl -host example.com -output report.html

**Output:

Screenshot-2026-05-02-181317

save file

5. -useproxy: Use Proxy

Routes the scan traffic through a proxy server.

**Command:

perl nikto.pl -host example.com -useproxy http://127.0.0.1:8080

**Output:

Screenshot-2026-05-02-181614

Proxy

Limitations of Nikto

Real-World Use Cases