This cheat sheet references some of the most commonly used Nikto commands. Whether you’re a seasoned professional looking to brush up on your command-line skills or a newcomer eager to explore the possibilities of networking through Nikto, you’ll find valuable insights and shortcuts here.
Table of Contents
Installation:
Distribution | Command |
---|---|
Debian/Ubuntu | sudo apt-get install nikto |
CentOS/Fedora/Red Hat | sudo yum install nikto |
NixOS | nix-env -i nikto |
Usage:
Task | Command |
---|---|
Basic Scan | nikto -h <host> |
Scan with SSL | nikto -h <host> -ssl |
Scan on specific port | nikto -h <host> -p <port> |
Save scan report | nikto -h <host> -o <file> |
Use specific tuning options | nikto -h <host> -Tuning <x> |
Scan specific target IPs while ignoring some 404 codes | nikto -h targetIP.txt -Tuning 5 -404code 302,301,404 |
Example output:
Wrapping Up
This Nikto cheat sheet has highlighted the tool’s flexibility and power for everything from simple tasks to advanced operations. Mastering Nikto can significantly boost your networking skills. Keep practising, exploring further resources, and share your findings to deepen your understanding and contribute to the community’s collective knowledge.
You May Also Be Interested In
References
The information for the Nikto commands and usage was synthesized and adapted from several sources, including Digital Security Blog (Digital Security), Comparitech (Comparitech), and Highon.coffee (HighOn.Coffee), and FreeCodeCamp (FreeCodeCamp).