漏洞掃描工具-Nikto漏洞掃描工具調(diào)研
簡介:
Nikto是一款開放源代碼的、功能強(qiáng)大的WEB掃描評估軟件,能對web服務(wù)器多種安全項(xiàng)目進(jìn)行測試的掃描軟件,能在230多種服務(wù)器上掃描出 2600多種有潛在危險(xiǎn)的文件、CGI及其他問題,它可以掃描指定主機(jī)的WEB類型、主機(jī)名、特定目錄、COOKIE、特定CGI漏洞、返回主機(jī)允許的 http模式等等。它也使用LibWhiske庫,但通常比Whisker更新的更為頻繁。
以下在10.46.170.167上部署測試:
下載最新版Nikto
http://211.138.156.198:81/1Q2W3E4R5T6Y7U8I9O0P1Z2X3C4V5B/www.cirt.net/nikto/nikto-2.1.5.tar.bz2
安裝Nikto
[root@gyfd ~]# tar jxvf nikto-2.1.5.tar.bz2
[root@gyfd ~]# mv nikto-2.1.5 /usr/local/
使用
(1). 基本測試
[root@gyfd ~]# cd /usr/local/nikto-2.1.5
----------------------------------------------------------------------------------------------------------------------------
[root@gyfd nikto-2.1.5]# perl nikto.pl -h 10.46.169.24 -p80 -output text.txt
說明:-h 指定被掃描的IP或者主機(jī)名
-p 指定被掃描的端口,沒有指定則默認(rèn)80,可指定掃描范圍或者多個(gè)端口
-output 指定掃描結(jié)果保存文件??杀4娴母袷綖閠ext, CSV, HTML, XML, NBE等。
掃描結(jié)果:(會在終端中顯示,同時(shí)保存到指定的文件中)
[root@gyfd nikto-2.1.5]# perl nikto.pl -h10.46.169.24 -p 80 -output text.txt
- ***** SSL support not available (see docsfor SSL install) *****
- Nikto v2.1.5
---------------------------------------------------------------------------
+ Target IP: 10.46.169.24
+ Target Hostname: 10.46.169.24
+ Target Port: 80
+ Start Time: 2014-08-20 17:08:58 (GMT8)
---------------------------------------------------------------------------
+ Server: Apache
+ Uncommon header 'x-frame-options' found,with contents: SAMEORIGIN
+ No CGI Directories found (use '-C all' toforce check all possible dirs)
+ Allowed HTTP Methods: GET, HEAD, POST, OPTIONS
+ 6544 items checked: 0 error(s) and 2item(s) reported on remote host
+ End Time: 2014-08-20 17:09:15 (GMT8) (17seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested
---------------------------------------------------------------------------------------------------------------------------
posted on 2014-10-30 11:15 順其自然EVO 閱讀(285) 評論(0) 編輯 收藏 所屬分類: 測試學(xué)習(xí)專欄