nuclei-templates/http/miscellaneous/robots-txt-endpoint.yaml

43 lines
749 B
YAML
Raw Normal View History

id: robots-txt-endpoint
info:
name: robots.txt endpoint prober
author: CasperGN,pdteam
severity: info
tags: misc,generic
metadata:
max-request: 2
http:
- method: GET
path:
- "{{RootURL}}/robots.txt"
- "{{RootURL}}{{endpoint}}"
extractors:
- type: regex
name: endpoint
group: 1
regex:
- '(?m:\s(/[[:alpha:]]+[[:graph:]]+))'
internal: true
iterate-all: true
2023-06-15 07:29:10 +00:00
matchers-condition: and
matchers:
2023-06-15 07:29:10 +00:00
- type: word
part: body
words:
- 'User-agent:'
- 'Disallow:'
- 'Allow:'
- type: word
part: header
words:
- "text/plain"
- type: status
status:
- 200