3. Nikto
Description:
Nikto is an open-source web server vulnerability scanner. It performs comprehensive tests against web servers to identify issues such as outdated software, insecure HTTP headers, and server misconfigurations. It’s particularly useful for discovering vulnerabilities in HTTP services.
Examples:
- Basic Scan of a Web Server:
- nikto -h http://example.com
- Basic Scan of a Web Server:
Explanation: Performs a basic scan against example.com to find potential vulnerabilities, including outdated server versions, open directories, and insecure headers.
- SSL/TLS Scan:
- nikto -h https://example.com
- SSL/TLS Scan:
Explanation: Runs a scan against an HTTPS server to check for SSL/TLS-related issues, including weak ciphers and certificate problems.
- Custom Port Scan:
- nikto -h http://example.com -p 8080
- Custom Port Scan:
Explanation: Scans a web server running on a non-default port (8080 in this case).
- Saving Scan Output to a File:
- nikto -h http://example.com -o scan_report.txt
- Saving Scan Output to a File:
Explanation: Saves the output of the scan to scan_report.txt for later review.
- Tuning Scan Parameters:
- nikto -h http://example.com -Tuning x
- Tuning Scan Parameters:
Explanation: Controls the types of scans performed. For example, -Tuning 1 is for file uploads, -Tuning 4 is for injection vulnerabilities. The value x can be adjusted to specify different scan types.