Nikto scans web servers for known issues and misconfigurations. It runs from the command line or inside container images published to Docker Hub and GitHub Container Registry.
Overview
Nikto is a web server scanner focused on finding problems on HTTP services. The main program is a Perl script that accepts host targets and produces scan output, with full documentation available separately from the package layout.
You can run scans directly after cloning the project and invoking the main script under the program directory, using either the shebang or an explicit Perl interpreter. Container workflows pull ready-made images from Docker Hub or ghcr.io, run them without arguments for help text, or pass scan flags and mount a volume to save reports in formats such as JSON.
The bundled test database supports a small matcher language for HTTP responses. Matchers can target body text, headers, cookies, and status codes, including negated patterns and AND combinations, so checks can express multi-part conditions on live responses.
Database files ship only as part of the official Nikto distribution and are not separately licensed like the core GPL-covered code. LibWhisker licensing applies to that dependency separately.
Key features
- Perl-based web server scanning
- Docker images on Hub and ghcr.io
- Response matcher DSL for tests
- BODY, HEADER, and COOKIE matchers
- STATUS code include and exclude rules
- Combined AND matcher expressions
- Volume mounts for report output
Use cases
- Quick checks against a web host
- Containerized security scans in CI
- Saving scan reports to mounted paths
- Custom response matching in tests