Skip to content

Nikto ​

TIP

Nikto is an open-source web server scanner which performs comprehensive tests against web servers for multiple items, including dangerous files, outdated server software, and other security issues.

πŸ”— Official Resources ​

πŸš€ Common Commands ​

TaskCommand
Basic scannikto -h http://target.com
Scan with SSLnikto -h https://target.com
Scan a specific portnikto -h http://target.com -p 8080
Use a specific pluginnikto -h http://target.com -Plugins plugin_name

🏷️ Useful Flags ​

FlagDescription
-hTarget host
-pPort to use
-sslForce SSL mode
-outputOutput file
-FormatOutput format (e.g., txt, html, csv, xml)
-TuningScan tuning options (e.g., -Tuning 123bde)
-PluginsSpecify plugins to use

WARNING

Always have permission before scanning a website with Nikto. Unauthorized scanning is illegal and unethical.

πŸ“š Resources ​

πŸ† HTB CTF Go-To Command ​

A common Nikto command for web server scanning in HTB CTFs:

bash
nikto -h http://10.10.10.10 -output nikto_results.txt
  • -h : Target host (replace with the actual target IP)
  • -output : Output results to a file