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

41 lines
752 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:
max-request: 2
verified: true
tags: 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?"