2021-03-29 11:55:16 +00:00
|
|
|
id: bookstack-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: BookStack detect
|
|
|
|
author: cyllective
|
|
|
|
severity: info
|
|
|
|
description: Detects BookStack
|
|
|
|
tags: tech,bookstack
|
2021-08-18 11:29:20 +00:00
|
|
|
reference: https://github.com/BookStackApp/BookStack
|
2021-03-29 11:55:16 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/login"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
condition: or
|
|
|
|
words:
|
|
|
|
- '<title>BookStack</title>'
|
|
|
|
- '<span class="logo-text">BookStack</span>'
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '(?:app\.js|(?:print\-)?styles\.css)\?version=([\w\.\-]+)["'']>'
|