nikto
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "nikto" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ab38eb833fec73d5e8fe65a9eb487c581ecd690eb36ea820cbbe4bbcbbb58699. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use Nikto to scan web servers for vulnerabilities. Use when auditing web server configuration, finding outdated software, detecting dangerous files, checking misconfigurations, or performing web server security scans.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Inputs and outputs
- ```bash
- Testing
- Not tested
Browse files
Frontmatter
name: nikto
description: >-
Scan web servers for vulnerabilities with Nikto. Use when a user asks to
audit web server configuration, find outdated software, detect dangerous
files, check for misconfigurations, or perform web server security scanning.
license: Apache-2.0
compatibility: 'Linux, macOS (Perl)'
metadata:
author: terminal-skills
version: 1.0.0
category: devops
tags:
- nikto
- web-server
- vulnerability-scanner
- penetration-testing
- misconfigurationNikto
Overview
Nikto is a web server scanner that checks for 7,000+ potentially dangerous files, outdated server versions, version-specific problems, and server configuration issues. It's noisy (not stealthy) but comprehensive — catches misconfigurations, default files, exposed admin interfaces, and known vulnerable components that automated scanners often miss.
Instructions
Step 1: Basic Scan
# Scan a web server
nikto -h https://target.example.com
# Checks:
# - Server version and known CVEs
# - Dangerous HTTP methods (PUT, DELETE, TRACE)
# - Default files (/phpinfo.php, /server-status, /.env)
# - Directory indexing
# - Missing security headers
# - Outdated components
# Scan specific port
nikto -h target.example.com -p 8080
# Scan multiple ports
nikto -h target.example.com -p 80,443,8080,8443
# Scan with SSL
nikto -h https://target.example.com -ssl
Step 2: Tuning and Targeting
# Tune scan to specific check categories
nikto -h https://target.example.com -Tuning 123456789abcde
# 1: Interesting file / seen in logs
# 2: Misconfiguration / default file
# 3: Information disclosure
# 4: Injection (XSS/Script/HTML)
# 5: Remote file retrieval (inside web root)
# 6: Denial of service (skip in production)
# 7: Remote file retrieval (server-wide)
# 8: Command execution / remote shell
# 9: SQL injection
# a: Authentication bypass
# b: Software identification
# c: Remote source inclusion
# d: WebService
# e: Admin console
# Only check for misconfigurations and info disclosure
nikto -h https://target.example.com -Tuning 23
# Use a specific wordlist for CGI directories
nikto -h https://target.example.com -Cgidirs "all"
# Authenticated scanning
nikto -h https://target.example.com \
-id admin:password123
# or with cookie
nikto -h https://target.example.com \
-cookie "session=abc123; token=xyz789"
Step 3: Output and Integration
# Save results in multiple formats
nikto -h https://target.example.com -o nikto-report.html -Format html
nikto -h https://target.example.com -o nikto-report.xml -Format xml
nikto -h https://target.example.com -o nikto-report.csv -Format csv
# JSON output for automation
nikto -h https://target.example.com -o nikto-report.json -Format json
# Scan targets from Nmap output
nmap -sV -p 80,443,8080 -oG - 192.168.1.0/24 | \
grep "open" | awk '{print $2}' | \
while read ip; do nikto -h $ip -o "nikto-$ip.html" -Format html; done
Guidelines
- Nikto is loud — it sends thousands of requests. Don't use it for stealth assessments.
- Run Nikto early in the assessment — it catches low-hanging fruit (default files, misconfigs).
- Check tuning categories:
-Tuning 23for quick misconfiguration scan, full scan for thorough assessment. - Combine with Nmap: scan ports first, then run Nikto against discovered web servers.
- XML/JSON output integrates with reporting tools and vulnerability management platforms.
- False positives are common — verify each finding manually before including in the report.
- Run with
-Cgidirs allto check CGI directories for legacy vulnerabilities (ShellShock, etc.). - Nikto is complementary to Burp Suite — Nikto checks server config, Burp tests application logic.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Nikto 提供全面的 Web 服务器漏洞扫描能力,覆盖 7000+ 危险文件、过时组件和配置错误检测
- 适用于安全审计、渗透测试等高频 DevOps 场景,具有明确的实用价值
Highlights
- 触发描述清晰覆盖 Web 服务器安全扫描、配置审计、危险文件检测等核心使用场景
- 边界定义明确,不易与其他工具混淆
Highlights
- 文档结构完整,分步骤说明基础扫描、调优和输出集成
- 提供丰富的命令示例和参数说明,frontmatter 信息齐全
Areas to improve
-
异常处理与风险提示不足 Reported severity: Minor
未显式处理网络错误、超时、证书验证失败等常见异常情况,也未对高风险操作(如 DoS 类检查)提供明确警告或用户确认机制
Recommendation: 建议在 Guidelines 或 Step 2 中增加异常处理说明,并对高风险 tuning 选项(如 6: Denial of service)添加显式警告和确认提示
Highlights
- 工具来源明确,参数使用规范,支持多种输出格式便于集成
- 提供了认证扫描和 CGI 目录检查等高级功能
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- target.example.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.