mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 12:43:29 +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: 4a0a00473045022100cd03f3f77997b8ef0d33b75d1e90c65c40b00dc748c4f1def817bc3df623814e022024d87db797338a27fbddcecfdfeabbd8fafe208b06246a680a51cac7378e169f:922c64590222798bb761d5b6d8e72950 |