nikto -h http://example.comPerforms a standard comprehensive scan against a target web server.
A web server scanner that checks for thousands of dangerous files, outdated software and common misconfigurations. Noisy by design.
sudo apt install niktonikto -h http://example.com -Tuning 1Scans only for 'Interesting File' vulnerabilities like logs or backups.
nikto -h http://example.com -Tuning 2Scans strictly for server misconfigurations.
nikto -h http://example.com -Tuning 3Checks for information disclosure vulnerabilities.
nikto -h http://example.com -Tuning 4Focuses the scan on injection vulnerabilities like XSS and HTML injection.
nikto -h http://example.com -Tuning 5Scans for remote file retrieval vulnerabilities.
nikto -h http://example.com -Tuning 6Checks for denial of service conditions.
nikto -h http://example.com -Tuning 7Scans specifically for remote file inclusion vulnerabilities.
nikto -h http://example.com -Tuning 8Focuses on command execution vulnerabilities.
nikto -h http://example.com -Tuning 9Scans specifically for SQL injection vulnerabilities.
nikto -h http://example.com -Tuning 0Checks for file upload vulnerabilities.
nikto -h http://example.com -Tuning aScans for authentication bypass vulnerabilities.
nikto -h http://example.com -Tuning bIdentifies installed software banners.
nikto -h http://example.com -Tuning cChecks for remote source inclusion vulnerabilities.
nikto -h http://example.com -Tuning xRuns reverse tuning options to exclude specific checks.
nikto -h http://example.com -Tuning 123Combines tuning types to scan for Interesting Files, Misconfigurations, and Info Disclosure.
nikto -h http://example.com -o scan_result.txtSaves the scan output to a plain text file.
nikto -h http://example.com -o scan_result.html -Format htmlGenerates a readable HTML report of the scan findings.
nikto -h http://example.com -o scan_result.xml -Format xmlSaves output in XML format for integration with other tools.
nikto -h http://example.com -o scan_result.csv -Format csvExports scan results to a CSV file for spreadsheet analysis.
nikto -h http://example.com -o scan_result.json -Format jsonOutputs the results in JSON format for programmatic parsing.
nikto -h http://example.com -o scan.nbe -Format nbeSaves results in Nessus NBE format.
nikto -h http://example.com -o .Saves output to a file with an auto-generated name in the current directory.
nikto -h http://example.com -Display 1Shows redirects received from the web server during the scan.
nikto -h http://example.com -Display 2Displays cookies received during the scan.
nikto -h http://example.com -Display 3Prints all 200 OK responses to the screen.
nikto -h http://example.com -Display 4Shows URLs that require authentication.
nikto -h http://example.com -Display DEnables debug output for troubleshooting.
nikto -h http://example.com -Display VEnables verbose mode to see detailed progress.
nikto -h http://example.com -evasion 1Encodes the URI using random URI encoding to bypass IDS.
nikto -h http://example.com -evasion 2Adds a self-reference directory (/./) to the request URI.
nikto -h http://example.com -evasion 3Ends the URL prematurely to confuse certain filters.
nikto -h http://example.com -evasion 4Prepends a long random string to the request URI.
nikto -h http://example.com -evasion 5Appends a fake parameter to the file request.
nikto -h http://example.com -evasion 6Uses TAB as a request spacer instead of spaces.
nikto -h http://example.com -evasion 7Randomly changes the case of the URL characters.
nikto -h http://example.com -evasion 8Uses Windows-style directory separators (\) instead of forward slashes.
nikto -h http://example.com -evasion 17Combines Random URI encoding and Case changing for stronger evasion.
nikto -h http://example.com -useragent "MyCustomAgent/1.0"Sets a custom User-Agent string to identify or hide the scanner.
nikto -h http://example.com -Cgidirs /cgi-bin/Forces scanning of a specific CGI directory.
nikto -h http://example.com -Cgidirs noneDisables scanning of any CGI directories.
nikto -h http://example.com -Cgidirs allForces scanning of all discovered directories as CGI directories.
nikto -h http://example.com -root /appSets the root directory for the scan to a subdirectory.
nikto -h http://example.com -mutate 1Tests all files within all root directories.
nikto -h http://example.com -mutate 2Guesses password file names.
nikto -h http://example.com -mutate 3Enumerates user names using Apache home directory syntax (~user).
nikto -h http://example.com -mutate 4Guesses parameter values for common files.
nikto -h http://example.com -mutate 5Brute forces subdomains (requires the host to be an IP or name).
nikto -h http://example.com -mutate 6Guesses directory names using a dictionary.
nikto -h http://example.com -config /path/to/nikto.confUses a custom configuration file for the scan.
nikto -h http://example.com -nolookupDisables DNS name lookups.
nikto -h http://example.com -nosslDisables SSL completely.
nikto -h http://example.com -no404Disables 404 (Not Found) detection logic.
nikto -h http://example.com -ignorecode 302Ignores specific HTTP status codes during the scan.
nikto -h http://example.com -404code 404Ignores a specific HTTP code when determining 404 responses.
nikto -h http://example.com -404string "Not Found"Uses a custom string to identify 404 error pages.
nikto -h http://example.com -ssl -Cgidirs none -Tuning 9Quick SQL injection scan over SSL ignoring CGI directories.
nikto -h http://example.com -Tuning x 6Scans for everything EXCEPT Denial of Service tests.
nikto -h http://example.com -useragent "Mozilla/5.0" -evasion 1 -timeout 5Stealthy scan with browser UA, URI encoding evasion, and short timeouts.
nikto -h http://example.com -output scan.xml -Format xml -maxtime 300Time-boxed 5-minute scan exporting directly to XML.
nikto -h http://example.com -nointeractiveDisables interactive features (like pressing space for status) for background jobs.
nikto -updateUpdates the Nikto plugins and databases (may require root).
nikto -h http://example.com -id user:pass -realm "Restricted Area"Authenticates to a specific realm using Basic Auth.
nikto -h http://example.com -Tuning x 6Runs all tests except Denial of Service checks to prevent crashing the server.
nikto -h http://example.com -useragent "Googlebot/2.1"Spoofs the User-Agent to appear as a Google crawler.
nikto -h [dead:beef::1]Scans a target specified by an IPv6 address.
nikto -h 192.168.1.10 -vhost example.comScans an IP but sends a specific Host header for virtual host routing.
nikto -h http://example.com -o results.html -F html -o results.xml -F xmlSaves the report in both HTML and XML formats simultaneously.
nikto -h http://example.com -evasion 1234 -pause 10Highly evasive scan with multiple encoding methods and slow request delay.
nikto -h http://example.com -Tuning 02 -Display VVerbose scan focusing on uploads and misconfigurations for verification.
nikto -h http://example.com -nointeractive -o scan.json -Format jsonNon-interactive scan suitable for CI/CD pipelines producing JSON output.
nikto -h https://example.com -p 443 -sslExplicitly defines port 443 and forces SSL mode.
nikto -h http://example.com -Plugins tests(report:500)Passes specific arguments to plugins (e.g., reporting 500 errors).
nikto -h http://example.com -Display V -o /dev/nullRuns scan displaying verbose output to screen but discarding file output.
nikto -h http://example.com -until 12:00Runs the scan until a specified time.
nikto -h example.com -force-ipForces Nikto to resolve the IP and scan the IP instead of hostname.
nikto -h http://example.com -Format msf+Outputs logs in a format compatible with Metasploit.
NIKTO_IGNORE_CODE=404 nikto -h http://example.comUses environment variables to control configuration.
nikto -h http://example.com -Plugins sitefilesRuns only the sitefiles plugin to find backup files and zip archives.
nikto -h http://example.com -mutate 3 -mutate-options user_list.txtEnumerates users providing a custom user list for mutation.
nikto -h http://example.com -Cgidirs all -Tuning 1234567890abc -format txt -output full_scan.txtRuns every possible tuning category on all CGI directories saving to text.
A fast, template-based vulnerability scanner. Thousands of community YAML templates detect CVEs, misconfigurations and exposures.
Identifies the technologies behind a website — CMS, frameworks, server software, analytics and versions — using over 1,800 plugins.
A WordPress security scanner that enumerates versions, plugins, themes and users and checks them against a vulnerability database.