2020-05-08 11:06:57 +00:00
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-12-09 09:09:14 +00:00
description : |
File similar to robots.txt but intended to be read by humans wishing to contact a website’ s owner about security issues. Often defines a security policy and contact details.
2023-09-13 11:24:26 +00:00
reference :
- https://securitytxt.org/
- https://community.turgensec.com/security-txt-progress-in-ethical-security-research/
2023-04-28 08:11:21 +00:00
metadata :
2023-12-09 09:09:14 +00:00
verified : true
2023-12-12 11:07:52 +00:00
max-request : 2
2023-09-13 11:24:26 +00:00
shodan-query : http.securitytxt:contact http.status:200
2024-01-14 09:21:50 +00:00
tags : miscellaneous,misc,generic
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
2023-12-09 09:09:14 +00:00
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 :
- type : word
words :
- "Contact:"
2023-12-06 15:13:23 +00:00
- "Expires:"
2023-12-09 09:09:14 +00:00
condition : or
2022-01-28 10:24:49 +00:00
2020-05-08 11:41:26 +00:00
- type : dsl
dsl :
2023-12-06 14:58:27 +00:00
- "len(body) <= 4096 && len(body) > 0"
2022-01-28 10:24:49 +00:00
2023-12-09 09:09:14 +00:00
- type : status
status :
- 200
2022-01-28 10:24:49 +00:00
extractors :
- type : regex
group : 1
regex :
2023-09-13 11:24:26 +00:00
- '(?mi)Contact:(.*)'
2024-01-26 08:31:11 +00:00
# digest: 490a004630440220155493090c6461556ae454cb23957df38e29e3b34372a4643d9450a814488fb002202cacea1e052b5f876ea3312d499ba930e2ee6cab08d9b7c269d83cd0f32c9b6b:922c64590222798bb761d5b6d8e72950