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

47 lines
1.2 KiB
YAML
Raw Normal View History

id: security-txt
info:
2023-09-13 11:24:26 +00:00
name: security.txt File
author: bad5ect0r,noraj
2020-08-03 21:52:00 +00:00
severity: info
2023-09-13 11:24:26 +00:00
description: File similar to robots.txt but intended to be read by humans wishing to contact a websites owner about security issues. Often defines a security policy and contact details.
reference:
- https://securitytxt.org/
- https://community.turgensec.com/security-txt-progress-in-ethical-security-research/
metadata:
max-request: 2
2023-09-13 11:24:26 +00:00
shodan-query: http.securitytxt:contact http.status:200
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
2023-10-14 11:27:55 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2022-01-28 10:24:49 +00:00
- type: word
words:
- "Contact:"
2023-12-06 15:13:23 +00:00
- "Expires:"
2022-01-28 10:24:49 +00:00
- type: dsl
dsl:
- "len(body) <= 4096 && len(body) > 0"
2022-01-28 10:24:49 +00:00
extractors:
- type: regex
group: 1
regex:
2023-09-13 11:24:26 +00:00
- '(?mi)Contact:(.*)'
2023-12-06 15:13:23 +00:00
# digest: 490a0046304402204191256ec14c84d855e710c89cf93e8d4d14036471145f075d5670c07de11450022075a0d9c2197ca8bd6d62b524ed8c8a72ca2fc61d60fc8a3ef0b6e2bdda410549:922c64590222798bb761d5b6d8e72950