nuclei-templates/http/miscellaneous/gpc-json.yaml

42 lines
960 B
YAML
Raw Permalink Normal View History

2022-12-19 14:56:12 +00:00
id: gpc-json
info:
2022-12-20 06:34:40 +00:00
name: Global Privacy Control (GPC) File Disclosure
2022-12-19 14:56:12 +00:00
author: MihhailSokolov
severity: info
2022-12-20 06:34:40 +00:00
description: |
The website defines a Global Privacy Control policy.
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 2
2024-01-14 09:21:50 +00:00
tags: miscellaneous,misc,generic,gpc
2022-12-19 14:56:12 +00:00
http:
2022-12-19 14:56:12 +00:00
- method: GET
path:
- "{{RootURL}}/.well-known/gpc.json"
- "{{RootURL}}/gpc.json"
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2022-12-19 14:56:12 +00:00
matchers-condition: and
matchers:
- type: word
words:
2022-12-22 05:20:30 +00:00
- '"gpc"'
2022-12-19 14:56:12 +00:00
2022-12-20 06:34:40 +00:00
- type: status
status:
- 200
2022-12-19 14:56:12 +00:00
- type: dsl
dsl:
- "len(body) <= 1024 && len(body) > 0"
extractors:
- type: json
part: body
name: gpc-version
json:
- ".version?"
# digest: 4a0a00473045022054f1a690417e5f6abaff2020f26cab4a4e02f9bac1bced71a67c79502eaad370022100b31cfc8a7e58a6e8d4b651d111cd3eed3c86d470889cf1ae02d805297cc602d6:922c64590222798bb761d5b6d8e72950