42 lines
960 B
YAML
42 lines
960 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: 4a0a00473045022054f1a690417e5f6abaff2020f26cab4a4e02f9bac1bced71a67c79502eaad370022100b31cfc8a7e58a6e8d4b651d111cd3eed3c86d470889cf1ae02d805297cc602d6:922c64590222798bb761d5b6d8e72950 |