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

44 lines
950 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: 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: 4b0a00483046022100efbee9d9ec6dfdba165eec640bd3e80854197c1a4452c86b876f6a1dbed3aa540221009e0a2f155c0fef4fed55c9b4d1552b23a177367bfb5d092c633f1adddbea0dfe:922c64590222798bb761d5b6d8e72950