nuclei-templates/headless/cookie-consent-detection.yaml

34 lines
917 B
YAML
Raw Normal View History

2024-08-13 16:52:41 +00:00
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
2024-08-13 16:52:41 +00:00
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:
2024-09-04 15:35:24 +00:00
- 200
# digest: 4a0a004730450221009d095b8f34c895f004c989fb1967ef98f42c67a960e88031429dd2c8f8c78b6c0220385756a3cf38d318b71c82d10a92a416bc505180c4b3896bc03c6eeea9e76085:922c64590222798bb761d5b6d8e72950