nikto扫描测试

工具kali自带,但因为现在nikto之后的更新已经转移到github去了,国内kali中的nikto -update已经获取不到最新的版本,如需最新版本可以下方自取,这里就用自带的工具进行演示了。


nikto github下载:https://github.com/sullo/nikto

nikto 官网下载页:https://cirt.net/Nikto2

nikto历史版本:https://cirt.net/nikto/UPDATES/

  1. nikto -h用于列举常用参数,当然,如果是扫描的话最常用的是host参数在这里插入图片描述


  2. nikto -host http://1.1.1.1 -host后面跟扫描的ip地址可以进行扫描在这里插入图片描述通过扫描出的内容可以判断一下网站是否存在环境漏洞、web漏洞、服务缺陷之类的问题,当然这里靶机的输出内容是相对较少的


  3. nikto -host www.baidu.com host后面直接跟域名同样可以扫描
    在这里插入图片描述


  4. nikto -host host.txt host后面跟上文本可以批量扫描在这里插入图片描述在这里插入图片描述
  5. nikto -list-plugins可以列举软件的一系列模块在这里插入图片描述
  6. nmap -p80 1.1.1.0/24 -oG - |nikto -host -是比较高效的一种扫描方式,语句的含义为先用扫描nmap扫描1.1.1整个网段的所有开放80端口的主机,如果主机存在,那就通过-oG移交给nikto进行信息扫描,-oG后面紧接着的-与nikto -host后面紧接着的- 一一对应,-在这里就类似于%d,充当占位符在这里插入图片描述
  7. 最后是关于 Nikto交互形参数的使用方法,也就是在用nikto -host等命令进行扫描后,当界面的内容正在进行扫描的时候,可以直接在键盘上按相应的键位进行模式更换或其他功能在这里插入图片描述其他详细的参数和方法参考其他博客:https://blog.csdn.net/qq_33530840/article/details/82181877
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Nikto是一款Web安全扫描工具,可以扫描指定主机的web类型,主机名,特定目录,cookie,特定CGI漏洞,XSS漏洞,SQL注入漏洞等,非常强大滴说。。。 root@91ri.org:~# cd /pentest/web/nikto/ root@91ri.org:/pentest/web/nikto# ls docs nikto.conf nikto.pl plugins templates root@91ri.org:/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@91ri.org:/pentest/web/nikto# ./nikto.pl -update -h 指定扫描的目标 –p 端口 root@91ri.org:/pentest/web/nikto# ./nikto.pl -h www.91ri.org -p 80 -C 指定CGI目录 –all表示猜解CGI目录 root@91ri.org:/pentest/web/nikto# ./nikto.pl -h www.91ri.org -C all -T选项包含很多小选项 –T 9表示扫描SQL注入漏洞 root@91ri.org:/pentest/web/nikto# ./nikto.pl -h www.91ri.org -T 9 -D指定输出显示 2显示cookies root@91ri.org:/pentest/web/nikto# ./nikto.pl -h www.91ri.org -D 2 -T选项包含的小选项解释: 0 检查文件上传页面 1 检查web日志 2 检查错误配置或默认文件 3检查信息泄露问题 4 检查XSS/Script/HTML问题 5 从根目录检查是否存在可访问的文件 6 检查拒绝服务问题 7 从任意文件检索是否存在可访问文件 8 检查是否存在系统命令执行漏洞 9 检查SQL注入漏洞 a 检查认证绕过问题 b 识别安装的软件版本 c 检查源代码泄露问题 x 反向链接选项
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Deeeelete

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值