nuclei-templates/technologies/gitbook-detect.yaml

42 lines
1.1 KiB
YAML
Raw Normal View History

2021-12-03 07:40:27 +00:00
id: gitbook-detect
2021-12-03 07:40:27 +00:00
info:
2022-10-14 09:54:07 +00:00
name: GitBook Detect
author: ffffffff0x,daffainfo
2021-12-03 07:40:27 +00:00
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/
2021-12-03 08:57:08 +00:00
metadata:
verified: true
shodan-query: http.title:"gitbook"
2021-12-03 07:40:27 +00:00
fofa: app="Introduction-GitBook"
2022-10-14 09:54:07 +00:00
tags: tech,gitbook
2021-12-03 07:40:27 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}"
2022-10-14 09:54:07 +00:00
matchers-condition: or
2021-12-03 07:40:27 +00:00
matchers:
2022-10-11 09:56:13 +00:00
- type: word
2021-12-03 07:40:27 +00:00
part: body
2022-10-11 09:56:13 +00:00
words:
- 'gitbook.page.hasChanged'
- '<meta name="generator" content="GitBook'
condition: and
2022-10-14 09:54:07 +00:00
- 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:
2022-10-14 09:54:07 +00:00
- '<meta name="generator" content="GitBook ([0-9.]+)">'
- '(?m)<meta name=generator content="GitBook ([0-9.]+)">'