mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
34 lines
915 B
YAML
34 lines
915 B
YAML
id: cookie-consent-detection
|
|
|
|
info:
|
|
name: Cookie Consent Detection
|
|
author: rxerium
|
|
severity: info
|
|
description: |
|
|
This template detects the presence of cookie consent forms
|
|
tags: headless,cookie,detect
|
|
|
|
headless:
|
|
- steps:
|
|
- action: navigate
|
|
args:
|
|
url: "{{BaseURL}}"
|
|
- action: waitload
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
name: keyword
|
|
words:
|
|
- 'cookie-consent'
|
|
- 'cookie-popup'
|
|
- 'cookie-notice'
|
|
- 'We use cookies'
|
|
- 'Manage privacy preferences'
|
|
- 'Accept all cookies'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a0046304402205a67e5cdd1dce2badedfb781ca64dd8c2efb6a9de69b173c4a7131500d915a7a022036e09fa09f117589ec9ce9fccbf8d199fc1fc53cc61ed07f50cd7ee20a620184:922c64590222798bb761d5b6d8e72950 |