nuclei-templates/http/technologies/hugo-detect.yaml

42 lines
987 B
YAML

id: hugo-detect
info:
name: Hugo Detect
author: daffainfo
severity: info
description: Hugo is a fast and modern static site generator written in Go
classification:
cpe: cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: gohugo
product: hugo
shodan-query: http.html:'Hugo'
tags: tech,hugo
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<meta name=generator content="Hugo'
- type: status
status:
- 200
extractors:
- type: regex
group: 1
regex:
- '(?m)<meta name=generator content="Hugo ([0-9.]+)">'
# digest: 4b0a00483046022100a0dae44c70e8323dd9246be43465d302a6a39bbfdcb3ee9370ed6ed2fd219e47022100a82922f8f8c49f3a7e8c14d9020fd1c48957d4f9a0dfaa05546f92fe1cbc211e:922c64590222798bb761d5b6d8e72950