📌 What is Nikto?

Nikto is an open-source web server scanner written in Perl. It performs comprehensive tests against web servers, detecting over 6,700 potentially dangerous files/programs, outdated server software, and other security issues such as default files, insecure HTTP headers, and misconfigured options.

🛠️ Key Features

📥 Installation

Install Nikto using Git:

git clone https://github.com/sullo/nikto.git
cd nikto
perl nikto.pl -H

Nikto does not require complex dependencies; just ensure Perl is installed on your system.

🚀 Basic Usage

Scan a single host:

perl nikto.pl -h http://example.com

Scan using HTTPS:

perl nikto.pl -h https://secure.example.com

Scan an IP address with a specified port:

perl nikto.pl -h 192.168.1.10 -p 8080

⚙️ Advanced Usage & Options

Example: Only scan for interesting files and headers:

perl nikto.pl -h http://example.com -Tuning 1 4

🌐 Real-World Example

Scanning a vulnerable web app like DVWA (Damn Vulnerable Web Application):

perl nikto.pl -h http://192.168.56.101/dvwa

Expected results:

💡 Practical Tips

📚 Resources & Documentation