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