nikto_scan
Run Nikto web server vulnerability scans via SSH to Kali Linux to detect dangerous files, misconfigurations, default content, and insecure CGI scripts.
Instructions
Start a Nikto web server vulnerability scan via SSH to Kali Linux.
Nikto performs comprehensive tests against web servers for multiple items, including:
Over 6700 potentially dangerous files/programs
Server version checks
Server configuration issues
Default files and programs
Insecure CGI scripts
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "nikto_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | HTTP Basic authentication credentials (format: id:password) | |
| ssl | No | Force SSL/HTTPS testing on specified ports | |
| port | No | TCP port(s) to scan. Can be single port (80), range (80-90), or comma-separated (80,443,8080). Default: 80 | |
| root | No | Prepend this path to all requests (e.g., /app) | |
| no404 | No | Disable 404 (file not found) checking | |
| nossl | No | Disable SSL testing | |
| pause | No | Seconds to delay between each test (for rate limiting) | |
| vhost | No | Virtual host header to send to the target | |
| format | No | Output format (default: text to stdout) | |
| mutate | No | Mutation techniques: 1 - Test all files with all root directories 2 - Guess for password file names 3 - Enumerate user names via Apache (/~user) 4 - Enumerate user names via cgiwrap (/cgi-bin/cgiwrap/~user) 5 - Attempt to brute force sub-domain names 6 - Attempt to guess directory names from supplied dictionary | |
| target | Yes | Target URL, IP address, or hostname to scan (required) | |
| tuning | No | Test tuning options (combine multiple): 0 - File Upload 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 7 - Remote File Retrieval - Server Wide 8 - Command Execution / Remote Shell 9 - SQL Injection a - Authentication Bypass b - Software Identification c - Remote Source Inclusion x - Reverse Tuning (exclude specified) | |
| cgidirs | No | CGI directories to scan. Use 'all' or 'none', or specify custom paths | |
| evasion | No | IDS evasion technique(s) (combine multiple): 1 - Random URI encoding (non-UTF8) 2 - Directory self-reference (/./ 3 - Premature URL ending 4 - Prepend long random string 5 - Fake parameter 6 - TAB as request spacer 7 - Change the case of the URL 8 - Use Windows directory separator (\) | |
| plugins | No | Comma-separated list of plugins to run (use nikto_plugins to list available) | |
| timeout | No | Seconds to wait before timing out a request (default: 10) | |
| findonly | No | Only discover HTTP(S) ports without performing security scan | |
| nolookup | No | Disable DNS lookups | |
| useproxy | No | Use HTTP proxy defined in Nikto configuration | |
| scan_timeout | No | Overall scan timeout in seconds (default: 300) |