nuclei-templates/miscellaneous/sitemap-detect.yaml

37 lines
892 B
YAML

id: sitemap-detect
info:
name: Sitemap Detection
author: houdinis
severity: info
description: |
A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them.
metadata:
verified: "true"
google-query: intext:"sitemap" filetype:txt,filetype:xml inurl:sitemap,inurl:"/sitemap.xsd" ext:xsd
tags: misc,generic,sitemap
requests:
- method: GET
path:
- "{{BaseURL}}/sitemap.xml"
- "{{BaseURL}}/sitemap.xsl"
- "{{BaseURL}}/sitemap.xsd"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- "sitemap>"
case-insensitive: true
- type: word
part: header
words:
- 'application/xml'
- type: status
status:
- 200