34 lines
917 B
YAML
34 lines
917 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: 4a0a004730450221009d095b8f34c895f004c989fb1967ef98f42c67a960e88031429dd2c8f8c78b6c0220385756a3cf38d318b71c82d10a92a416bc505180c4b3896bc03c6eeea9e76085:922c64590222798bb761d5b6d8e72950 |