发现最新的nuclei-templates-9.5.2中无Directory listing漏洞,而在另一个poc的集合中竟然没检查出来这个漏洞,因此就有了下面的yaml文件。
id: Directory-listing
info:
name: Directory-listing
author: Enginge
severity: medium
description: description
reference: https://
tags: tags
requests:
raw:
|+
GET / HTTP/1.1
Host: {{Hostname}}
Pragma: no-cache
no-cache :
1 :
Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 :
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
gzip, deflate :
zh-CN,zh;q=0.9 :
Connection: close
and :
matchers:
type: word
part: body
words:
Index of /
Directory listing for /
type: status
status:
200
原文始发于微信公众号(Enginge):Nuclei Directory-listing POC
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论