nuclei-templates/technologies/gitbook-detect.yaml

42 lines
1.1 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/
metadata:
verified: true
shodan-dork: http.title:"gitbook"
fofa: app="Introduction-GitBook"
tags: tech,gitbook
requests:
- 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.]+)">'