2020-05-08 11:06:57 +00:00
|
|
|
id: security-txt
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Security.txt File
|
|
|
|
author: bad5ect0r
|
2020-08-03 21:52:00 +00:00
|
|
|
severity: info
|
2020-08-25 19:43:43 +00:00
|
|
|
description: The website defines a security policy.
|
2021-08-11 08:01:02 +00:00
|
|
|
tags: misc,generic
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2020-05-08 11:06:57 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-05-08 11:06:57 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-01-28 10:24:49 +00:00
|
|
|
- "{{RootURL}}/.well-known/security.txt"
|
|
|
|
- "{{RootURL}}/security.txt"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-01-28 10:24:49 +00:00
|
|
|
max-redirects: 2
|
2020-07-08 11:38:57 +00:00
|
|
|
matchers-condition: and
|
2020-05-08 11:06:57 +00:00
|
|
|
matchers:
|
2020-05-08 11:41:26 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-01-28 10:24:49 +00:00
|
|
|
|
2020-05-08 11:06:57 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Contact:"
|
2022-01-28 10:24:49 +00:00
|
|
|
|
2020-05-08 11:41:26 +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:(.*)'
|