Update gitbook-detect.yaml

patch-1
Prince Chaddha 2021-12-03 14:27:08 +05:30 committed by GitHub
parent ac028e6cd2
commit efcf0d5574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 13 deletions

View File

@ -3,8 +3,8 @@ info:
name: gitbook-detect
author: ffffffff0x
severity: info
description: |
gitbook指纹识别
metadata:
shodan-dork: 'http.title:"gitbook"'
fofa: app="Introduction-GitBook"
tags: gitbook,detect
@ -12,18 +12,11 @@ requests:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 2
matchers:
- type: word
words:
- "<title>Introduction · GitBook</title>"
- "href=\"gitbook/style.css\""
- "script src=\"gitbook/gitbook.js\">"
- 'content="GitBook'
- 'href="gitbook/images/favicon.ico'
- 'src="gitbook/gitbook.js'
- 'src="gitbook/theme.js'
- type: regex
part: body
regex:
- "<title>.*[Gg]it[bB]ook</title>"
- "<title>.*· [Gg]it[bB]ook.*</title>"
condition: or