Files
nuclei-templates/http/miscellaneous/gpc-json.yaml
2024-12-01 13:57:55 +00:00

42 lines
962 B
YAML

id: gpc-json
info:
name: Global Privacy Control (GPC) File Disclosure
author: MihhailSokolov
severity: info
description: |
The website defines a Global Privacy Control policy.
metadata:
verified: true
max-request: 2
tags: miscellaneous,misc,generic,gpc
http:
- method: GET
path:
- "{{RootURL}}/.well-known/gpc.json"
- "{{RootURL}}/gpc.json"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- '"gpc"'
- type: status
status:
- 200
- type: dsl
dsl:
- "len(body) <= 1024 && len(body) > 0"
extractors:
- type: json
part: body
name: gpc-version
json:
- ".version?"
# digest: 4b0a00483046022100d8fd1a6bb7f13d6085bd8086b2386ed6a21266d88fc63b593834c106d1c38e54022100b8cf4d4361c73fb157eb6b820de127a180d55fb11d1f46239decf71676512da4:922c64590222798bb761d5b6d8e72950