nuclei-templates/http/technologies/metatag-cms.yaml

42 lines
967 B
YAML

id: metatag-cms
info:
name: Metatag CMS Detection
author: dadevel
severity: info
description: Generic CMS Detection using html meta generator tag
reference:
- https://www.w3schools.com/tags/att_meta_name.asp
metadata:
max-request: 1
tags: tech,cms
http:
- method: GET
path:
- "{{BaseURL}}"
host-redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'text/html'
- type: regex
part: body
regex:
- '(?i)<meta\s+?name="?generator"?\s+?content="[^"]+?"'
extractors:
- type: regex
part: body
group: 1
regex:
- '(?i)<meta\s+?name="?generator"?\s+?content="([^"]+?)"'
# digest: 4a0a00473045022100ba269e3572bef1f99767795eedda7e21a2b6cf59be6a3716b8375de15706f6e70220459389d073375352a22332c611694cdee5c9d21b28b8c3ea49a725c6a856f5e9:922c64590222798bb761d5b6d8e72950