Install and use Nikto in Ubuntu

Source: Internet
Author: User
Nikto is an open-source (GPL) Web Server scanner that can scan Web servers in a variety of ways, including more than 3300 types of potentially dangerous file CGIs; more than 625 Server versions; more than 230 specific server problems. Scan items and plug-ins can be automatically updated (if needed ). Provides underlying functions based on Whisker and libwhisker. This is a great tool, but its software itself is not updated frequently and the latest and most dangerous ones may not be detected. Nikto is written by ChrisSullo.

Nikto is an open-source (GPL) Web Server scanner that can scan Web servers in a variety of ways, including more than 3300 types of potentially dangerous file CGIs; more than 625 Server versions; more than 230 specific server problems. Scan items and plug-ins can be automatically updated (if needed ). Provides underlying functions based on Whisker and libwhisker. This is a great tool, but its software itself is not updated frequently and the latest and most dangerous ones may not be detected.

Nikto is written by Chris Sullo, chief financial officer of the Open Security Foundation.

Official Website http://www.cirt.net/

Install Nikto in Ubuntu
Sudo apt-get install nikto

Simple scanning of basic website configuration information, server, PHP parser, and other version information
Nikto-h 192.168.0.1

Multi-Port Scan
Nikto-h 192.168.0.1-p 443, 88

Add proxy Scan
Nikto-h 192.168.0.1-p 80-u

The CGI scan-C parameter can only be placed behind it. You can specify a relative directory.
Nikto-h 192.168.0.1-c
Nikto-h 192.168.0.1-c/phpbb

This parameter also needs to be followed by database Scanning
Nikto-h 192.168.0.1-c-d

Guess that the default password configuration of apache requires the target server to allow guess
Nikto-h 192.168.0.1-m

Report output location
Nikto-h 192.168.0.1-o result.txt

The Tuning option controls Nikto to scan targets in different ways. This is the most valuable. -The numbers after the T parameter are hidden and can be used flexibly.
0. File Upload
1. Log Files
2. default file
3. Information Leakage
4. Injection (XSS/Script/HTML)
5. Remote File Retrieval (in the Web directory)
6. Dos
7. Remote File Retrieval (server)
8. Code Execution-Remote shell
9. SQL Injection
A. Authentication Bypass
B. Software Association
G. attributes (do not rely on the banner information)
X. Reverse connection options

Nikto-h 192.168.0.1-T 58
Nikto-h 192.168.0.1-T 58x
Nikto-h 192.168.0.1-T does not specify a number by default. It should be a full scan. It has not been tested.

Update plug-ins and databases
Nikto-update

Completely detects a host.
Nikto-h 192.168.0.1-m-T-c-o Result .txt

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.