Skip to main content
Glama

Run Nikto Scan

run_nikto_scan

Run Nikto web server scans to detect vulnerabilities and misconfigurations, with controls for SSL/TLS, ports, authentication, proxies, tuning, and reports.

Instructions

Nikto is an open-source web server scanner that performs comprehensive tests against web servers for multiple items. Tags: web, scanner, security, pentest, vulnerability, enumeration, reconnaissance

Usage Guide:

  • Basic Scan: Provide only the target to perform a standard vulnerability scan.

  • SSL/TLS: Set ssl=True when scanning HTTPS websites (port 443).

  • Specific Port: Use port for non-standard web ports (e.g., 8080, 8443).

  • Reporting: Define output_file and output_format (htm, csv, json, xml, txt) to save results.

  • Tuning: Use tuning_options to focus on specific test categories (e.g., '123bde'). Use exclude_options to skip specific tests (e.g., '6' for DoS).

  • Optimization: Use maxtime (e.g., '1h', '30m') to limit scan duration.

  • Authentication: Provide username and password for HTTP Basic Auth scans.

  • Evasion: Use evasion_type (e.g., '15') to employ IDS/IPS bypass techniques.

  • Proxying: Use proxy_ip and proxy_port to route traffic through an external proxy like Burp Suite.

  • Advanced Enum: Use mutation_type (e.g., '3,6') for directory and user enumeration.

  • Virtual Hosts: Use vhost to specify a domain name for shared hosting environments.

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": "run_nikto_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
sslNoForce SSL/TLS mode for the connection.
portNoSpecific port number to scan (default is 80 or 443 if SSL is used).
vhostNoVirtual host name for the HTTP Host header.
targetYesHostname or IP address of the target server.
maxtimeNoMaximum scan duration (e.g., '1h', '45m', '3600s').
passwordNoPassword for HTTP Basic Authentication.
proxy_ipNoIP address of the proxy server.
usernameNoUsername for HTTP Basic Authentication.
proxy_portNoPort of the proxy server (default 8080).
output_fileNoPath to save the scan report.
evasion_typeNoIDS evasion technique codes (1-8).
mutation_typeNoMutation technique codes (1-6).
output_formatNoFormat for the report (htm, csv, json, xml, txt).htm
tuning_optionsNoSpecific test categories to run (1: File Upload, 2: Misconfig, 3: Default File, 4: Injection, etc.).
exclude_optionsNoTest categories to exclude (prefix with 'x' automatically).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden. It does disclose operational traits the schema doesn't emphasize: scans can be time-limited via maxtime, traffic can be proxied or made evasive to bypass IDS/IPS, and HTTP Basic Auth is supported. However, it never states that this is an active, intrusive, and detectable scan that may take a long time or require target authorization, which matters greatly for a pentest scanner.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The bulleted Usage Guide is well organized and scannable, but it largely duplicates the 100%-covered schema descriptions parameter by parameter, making it longer than its added value warrants. The lead sentence describes Nikto the product rather than front-loading the tool's action and scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the parameter surface is fully documented in the schema. For a 15-parameter intrusive scanner with no annotations, though, the description omits safety/authorization caveats, expected noise and detection risk, and any routing guidance relative to the many sibling recon/scanner tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every one of the 15 parameters is already documented in the input schema, establishing a baseline of 3. The Usage Guide mostly restates those schema descriptions, adding only marginal value through shorthand examples ('123bde', '1h', '15', '3,6'), which is useful but not meaningfully beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence defines Nikto as a web server vulnerability scanner and 'perform comprehensive tests against web servers,' making the operation clear once the usage guide is read. It does not explicitly frame the tool as 'run a scan against target and return findings,' and it never distinguishes this from siblings like run_nuclei, run_ffuf, or run_whatweb, so an agent must infer that this is the general-purpose web-server vuln scanner.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The Usage Guide gives concrete scenarios per feature: ssl=True for HTTPS/443, port for non-standard ports, output_file/output_format for reporting, maxtime to cap duration, evasion_type for IDS bypass, proxy for Burp-style routing. That is strong when-and-how guidance, but it offers no exclusions or 'use X instead of this tool when...' statements, and no prerequisites such as authorization or expected scan duration.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.