nuclei-templates/http/miscellaneous/dir-listing.yaml

35 lines
978 B
YAML
Raw Normal View History

id: dir-listing
info:
name: Directory listing enabled
2023-01-09 08:52:31 +00:00
author: _harleo,pentest_swissky,hczdmr
2020-08-03 21:52:00 +00:00
severity: info
reference:
- https://portswigger.net/kb/issues/00600100_directory-listing
metadata:
max-request: 1
2024-01-14 09:21:50 +00:00
tags: miscellaneous,misc,generic
http:
- method: GET
2020-05-25 08:02:27 +00:00
path:
2021-01-13 07:31:46 +00:00
- "{{BaseURL}}"
2022-01-28 10:24:49 +00:00
matchers:
- type: word
2022-12-09 06:51:06 +00:00
part: body
2020-05-25 08:02:27 +00:00
words:
2022-12-09 06:51:06 +00:00
- "Directory listing for "
2020-04-09 12:44:55 +00:00
- "Index of /"
- "[To Parent Directory]"
- "Directory: /"
2022-12-09 06:51:06 +00:00
condition: or
2023-01-09 08:52:31 +00:00
case-insensitive: true
2022-12-09 06:51:06 +00:00
- type: regex
part: body
regex:
- '\d{1,2}\/\d{1,2}\/\d{4}\s+\d+:\d+\s+[\sAPM]+(&lt;dir&gt;|\d+)\s+<[Aa]\s+[hH][rR][eE][fF]="\/'
- '\s+-\s+\/<\/(title|h1)>'
condition: and
# digest: 4a0a00473045022100d2c81552e6b9b07932e21e06c3a3cc8019036c44e46889da615831f82fbec53902205d0b29532ee61d34844a212e673bd3937dada8500e17e41db17091686c2ea197:922c64590222798bb761d5b6d8e72950