cookie-detection-template
parent
f6e3e1a527
commit
bedab6facc
|
@ -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
|
Loading…
Reference in New Issue