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

47 lines
1.4 KiB
YAML

id: gitbook-detect
info:
name: GitBook Detect
author: ffffffff0x,daffainfo
severity: info
description: GitBook is a collaborative documentation tool that allows anyone to document anything—such as products and APIs—and share knowledge through a user-friendly online platform.
reference: https://www.gitbook.com/
classification:
cpe: cpe:2.3:a:gitbook:gitbook:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: gitbook
product: gitbook
shodan-query: http.title:"gitbook"
fofa: app="Introduction-GitBook"
tags: tech,gitbook
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: or
matchers:
- type: word
part: body
words:
- 'gitbook.page.hasChanged'
- '<meta name="generator" content="GitBook'
condition: and
- type: regex
part: body
regex:
- "<title>.*[Gg]it[bB]ook</title>"
- "<title>.*· [Gg]it[bB]ook.*</title>"
condition: or
extractors:
- type: regex
group: 1
regex:
- '<meta name="generator" content="GitBook ([0-9.]+)">'
- '(?m)<meta name=generator content="GitBook ([0-9.]+)">'
# digest: 4a0a00473045022100b0c568b388bd608c6f0bdc9b8de08682113e11392c1ad3813b5ca4613d33941602201a578ca819119a1203ed9bb0fa37c71ae06b3721d21646fa84630969059ad176:922c64590222798bb761d5b6d8e72950