博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Nikto是一款Web安全扫描工具,可以扫描指定主机的web类型,主机名,特定目录,cookie,特定CGI漏洞,XSS漏洞,SQL注入漏洞等,非常强大滴说。。。...
阅读量:7222 次
发布时间:2019-06-29

本文共 2025 字,大约阅读时间需要 6 分钟。

Nikto是一款Web安全扫描工具,可以扫描指定主机的web类型,主机名,特定目录,cookie,特定CGI,XSS漏洞,SQL注入漏洞等,非常强大滴说。。。

 

root@xi4ojin:~# cd /pentest/web/nikto/

root@xi4ojin:/pentest/web/nikto# ls

docs nikto.conf nikto.pl plugins templates

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -h

Option host requires an argument

-config+ Use this config file

-Cgidirs+ scan these CGI dirs: ‘none’, ‘all’, or values like “/cgi/ /cgi-a/”

-dbcheck check database and other key files for syntax errors

-Display+ Turn on/off display outputs

-evasion+ ids evasion technique

-Format+ save file (-o) format

-host+ target host

-Help Extended help information

-id+ Host authentication to use, format is id:pass or id:pass:realm

-list-plugins List all available plugins

-mutate+ Guess additional file names

-mutate-options+ Provide extra information for mutations

-output+ Write output to this file

-nocache Disables the URI cache

-nossl Disables using SSL

-no404 Disables 404 checks

-port+ Port to use (default 80)

-Plugins+ List of plugins to run (default: ALL)

-root+ Prepend root value to all requests, format is /directory

-ssl Force ssl mode on port

-Single Single request mode

-timeout+ Timeout (default 2 seconds)

-Tuning+ Scan tuning

-update Update databases and plugins from CIRT.net

-vhost+ Virtual host (for Host header)

-Version Print plugin and database versions

+ requires a value

Note: This is the short help output. Use -H for full help.

 

升级插件

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -update

-h 指定扫描的目标 –p 端口

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -h www.xiaojin.org -p 80

-C 指定CGI目录 –all表示猜解CGI目录

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -h www.xiaojin.org -C all

-T选项包含很多小选项 –T 9表示扫描SQL注入漏洞

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -h www.xiaojin.org -T 9

-D指定输出显示2显示cookies

root@xi4ojin:/pentest/web/nikto# ./nikto.pl -h www.xiaojin.org -D 2

-T选项包含的小选项解释:

0 检查文件上传页面

1 检查web日志

2 检查错误配置或默认文件

3检查信息泄露问题

4 检查XSS/Script/HTML问题

5 从根目录检查是否存在可访问的文件

6 检查拒绝服务问题

7 从任意文件检索是否存在可访问文件

8 检查是否存在命令执行漏洞

9 检查SQL注入漏洞

a 检查认证绕过问题

b 识别安装的软件版本

c 检查源代码泄露问题

x 反向链接选项

本文摘自独自等待博客

转载地址:http://ochym.baihongyu.com/

你可能感兴趣的文章
七牛云 X 英语流利说:教育 3.0 时代的智能突破
查看>>
Cannot find autoconf. Please check your autoconf i
查看>>
图解DHCP的4步租约过程
查看>>
bindservice使用例子
查看>>
我的友情链接
查看>>
mysql linux安装yum
查看>>
mysql 5.5 .17 多实例的例子
查看>>
我的友情链接
查看>>
Window 服务全攻略
查看>>
backtrack5平台使用metasploit framework进行***测试
查看>>
WIN7资源管理器重启
查看>>
MongoDB中的分片
查看>>
Zabbix Server端执行zabbix_get时取到值为空 一例
查看>>
p2v/V2V 之linux篇——xenserver虚拟机迁移到vmware
查看>>
修改Exchange内/外主机名为统一域名(outlook证书报错)
查看>>
第五章 VIM 工具
查看>>
linux服务器安全初始化shell脚本
查看>>
Linxu基础(21)网络命令
查看>>
2.8-增加和删除用户组
查看>>
1.9-chattr文件隐藏属性
查看>>