mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
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: 4a0a0047304502200c64d7d6ff7625168cfb7d9067e12f7b084b79e57248afd961731d5962d8ed82022100842d814c54e8ce0c57a4a42e3c9de8eecb0c3e88e565eea9f736ed20a4862993:922c64590222798bb761d5b6d8e72950 |