Create bookstack-detect.yaml

patch-1
sandeep 2021-03-29 17:25:16 +05:30
parent d47f6df650
commit 6f199f845f
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: bookstack-detect
info:
name: BookStack detect
author: cyllective
severity: info
description: Detects BookStack
tags: tech,bookstack
references: https://github.com/BookStackApp/BookStack
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\.\-]+)["'']>'