Show Menu
Cheatography

Nikto Cheat Sheet (DRAFT) by

--- Nikto Cheat Sheet ---

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Target Options

Specify host
nikto -h <IP­/do­mai­n>
Specify port
nikto -h <IP­/do­mai­n> -p <po­rt>
Multiple ports
nikto -h <IP­/do­mai­n> -p <po­rt1­>,<­por­t2>,etc
Specify port in url
nikto -h http(s­):/­/<I­P/d­oma­in>­:<p­ort>

Tuning Options

Specify tuning
-Tuning <op­tio­n>
Intere­sting File / Seen in logs
1
Miscon­fig­uration / Default File
2
Inform­ation Disclosure
3
Injection (XSS/S­cri­pt/­HTML)
4
Remote File Retrieval - Inside Web Root
5
Denial of Service
6
Remote File Retrieval - Server Wide
7
Command Execution / Remote Shell
8
SQL Injection
9
File Upload
0
Authen­tic­ation Bypass
a
Software Identi­fic­ation
b
Remote Source Inclusion
c
WebService
d
Admini­str­ative Console
e
Reverse (all but specified)
x

Evasion Options

Specify technique
-evasion <op­tio­n>
Random URI encoding (non-UTF8)
1
Directory self-r­efe­rence (/./)
2
Premature URL ending
3
Prepend long random string
4
Fake parameter
5
TAB as request spacer
6
Change the case of the URL
7
Use Windows directory separator (\)
8
Use a carriage return (0x0d) as a request spacer
A
Use binary value 0x0b as a request spacer
B
 

Display Options

Toggle display outputs
-Display <op­tio­n>
Show redirects
1
Show cookies received
2
Show all 200/OK responses
3
Show URLs which require authen­tic­ation
4
Debug output
D
Display all HTTP errors
E
Print progress to STDOUT
P
Scrub output of IPs and hostnames
S
Verbose output
V

File Output Options

Output file
-o <fi­lename or . for auto name>
Specify format
-Format <fo­rma­t>
Available formats
csv
 
json
 
htm (HTML)
 
txt
 
xml
If format is left unspec­ified, it will be determined by the extension used in the output filename. Format can also be specified with plugins.

Plugin Examples

-plugin dictionary
Use a dictionary attack to enumerate direct­ories and files
-plugin robots
Check robots.txt for paths to pass to other scripts
-plugin cgi
Check for CGI vulner­abi­lities
-plugin sitefiles
look for files based on the sites IP or name

Plugins Usage

List plugins
nikto --list­-pl­ugins
Specify plugin
-Plugin <plugin name>