nuclei-templates/http/miscellaneous/security-txt.yaml

37 lines
688 B
YAML
Raw Normal View History

id: security-txt
info:
name: Security.txt File
author: bad5ect0r
2020-08-03 21:52:00 +00:00
severity: info
description: The website defines a security policy.
2021-08-11 08:01:02 +00:00
tags: misc,generic
http:
- method: GET
path:
2022-01-28 10:24:49 +00:00
- "{{RootURL}}/.well-known/security.txt"
- "{{RootURL}}/security.txt"
stop-at-first-match: true
host-redirects: true
2022-01-28 10:24:49 +00:00
max-redirects: 2
matchers-condition: and
matchers:
- type: status
status:
- 200
2022-01-28 10:24:49 +00:00
- type: word
words:
- "Contact:"
2022-01-28 10:24:49 +00:00
- type: dsl
dsl:
2020-05-25 08:02:27 +00:00
- "len(body) <= 1024 && len(body) > 0"
2022-01-28 10:24:49 +00:00
extractors:
- type: regex
group: 1
regex:
- '(?mi)Contact:(.*)'