HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

nikto — Web server scanner which performs tests against web servers for multiple items. More information: <h

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servercommandscannercliniktoperformswhichweb

Problem

How to use the nikto command: Web server scanner which performs tests against web servers for multiple items. More information: <http://cirt.net/nikto/>.

Solution

nikto — Web server scanner which performs tests against web servers for multiple items. More information: <http://cirt.net/nikto/>.

Perform a basic Nikto scan against a target host:
perl nikto.pl {{[-h|-host]}} {{192.168.0.1}}


Specify the port number when performing a basic scan:
perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{443}}


Scan ports and protocols with full URL syntax:
perl nikto.pl {{[-h|-host]}} {{https://192.168.0.1:443/}}


Scan multiple ports in the same scanning session:
perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{80,88,443}}


Update to the latest plugins and databases:
perl nikto.pl {{[-u|-update]}}

Code Snippets

Perform a basic Nikto scan against a target host

perl nikto.pl {{[-h|-host]}} {{192.168.0.1}}

Specify the port number when performing a basic scan

perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{443}}

Scan ports and protocols with full URL syntax

perl nikto.pl {{[-h|-host]}} {{https://192.168.0.1:443/}}

Scan multiple ports in the same scanning session

perl nikto.pl {{[-h|-host]}} {{192.168.0.1}} {{[-p|-port]}} {{80,88,443}}

Update to the latest plugins and databases

perl nikto.pl {{[-u|-update]}}

Context

tldr-pages: common/nikto

Revisions (0)

No revisions yet.