-config
指定一个配置文件代替nikto.conf(在nikto.pl同目录下)
-dbcheck
检查扫描数据库的语法错误
-Display
控制nikto的输出显示
1 显示重定向
2 显示收到的cookie
3 显示200/OK响应
4 显示需要认证的URLs
D debug信息
E 所有的HTTP ERROR
P 打印进度到stdout
V verbose output
-evasion
ids逃避技术
常用的参数
1 随机的URI编码(no-UTF8)
2 Directory self-reference (/./)
3 Premature URL ending
4 Prepend long random string
5 Fake parameter
6 TAB as request spacer
7 Change the case of the URL
8 Use Windows directory separator ()
A Use a carriage return (0x0d) as a request spacer
B Use binary value 0x0b as a request spacer
-findonly
只发现HTTP(S)端口,不执行安全扫描。2.1.4版本之后,不推荐使用。替代 -Plugins "@@NONE"
-Format
定义输出文件格式,有如下值
csv
htm
msf
txt
xml
如果没有定义,会根据-o(-output)的文件的后缀确定
-host
指定被测主机,就是(-h)
-Help
帮助信息
-id
值的格式“id:password”,用于basic host 认证
-list-plugins
列出nikto会运行的插件
-mutate
-mutate-options
变化猜测技术,前面提到过了。
-nolookup
不执行主机名查找
-nocache
disable response cache
-nointeractive
disable interactive features
-nossl
do not use ssl to connect to the server
-no404
disable 404(file not found)checking.
-output
指定输出文件
-Plugins
选择哪些插件运行。提供一个分号分隔的插件名列表。插件名字可以用-list-plugins查看
@@ALL 运行所有插件
@@NONE 没有插件运行,参看findonly
默认@@DEFAULT
-port
指定端口
-Pause
单位秒,指定每个测试之间的间隔时间。
-root
每个请求前面添加的值
-ssl
only test ssl
-Single
执行单个测试
-timeout
请求超时时间,默认10秒,单位秒
-Tuing
控制nikto的扫描行为,默认全部执行。如果指定了某个值,则只执行这个内容。如果使用了“x”选项,逻辑刚好相反,不包含指定的扫描。
0 文件上传
1 日志文件
2 默认文件
3 信息泄露
4 注入(XSS/script/html)
5 远程文件检索(web目录中)
6 拒绝服务
7 远程文件检索(服务器)
8 代码执行/远程shell
9 SQL注入
a 认证绕过
b 软件关联
c 远程源代码包含
x 翻转逻辑
-update
更新
-Version
查看版本 Nikto官方下载 Nikto2官方下载