cookie-detection-template

patch-10
Rishi 2024-08-13 17:52:41 +01:00 committed by GitHub
parent f6e3e1a527
commit bedab6facc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
id: cookie-consent-detection
info:
name: Cookie Consent Detection
author: rxerium
severity: info
description: |
This template detects the presence of cookie consent forms
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'
- 'function setCookie('
- 'function getCookie('
condition: or
- type: status
status:
- 200