2020-12-30 17:09:07 +00:00
|
|
|
id: old-copyright
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Find pages with old copyright dates
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2021-04-01 18:35:08 +00:00
|
|
|
tags: misc
|
2020-12-30 17:09:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
redirects: true
|
|
|
|
max-redirects: 3
|
2020-12-30 17:23:46 +00:00
|
|
|
matchers-condition: and
|
2020-12-30 17:09:07 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-01-02 20:20:15 +00:00
|
|
|
- '2021'
|
2020-12-30 17:09:07 +00:00
|
|
|
part: body
|
|
|
|
negative: true
|
2020-12-30 17:23:46 +00:00
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'Copyright [1-9]\d*'
|
|
|
|
- '© [1-9]\d*'
|
|
|
|
- '© [1-9]\d*'
|
|
|
|
- '© [1-9]\d*'
|
2020-12-30 17:09:07 +00:00
|
|
|
extractors:
|
2020-12-30 17:17:21 +00:00
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
name: copyright_year
|
|
|
|
regex:
|
2020-12-30 17:09:07 +00:00
|
|
|
- 'Copyright [1-9]\d*'
|
|
|
|
- '© [1-9]\d*'
|
|
|
|
- '© [1-9]\d*'
|
2021-01-02 20:20:15 +00:00
|
|
|
- '© [1-9]\d*'
|