2023-09-04 15:38:51 +00:00
|
|
|
id: seafile-api
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Seafile API - Detect
|
|
|
|
author: righettod
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
Seafile API was detected.
|
|
|
|
reference:
|
|
|
|
- https://download.seafile.com/published/web-api/home.md
|
|
|
|
- https://manual.seafile.com/
|
|
|
|
- https://www.seafile.com/en/home/
|
|
|
|
metadata:
|
|
|
|
max-request: 1
|
|
|
|
verified: true
|
2023-09-05 05:17:06 +00:00
|
|
|
shodan-query: http.html:"seafile"
|
2023-09-08 11:56:35 +00:00
|
|
|
tags: exposure,api,detect
|
2023-09-04 15:38:51 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/api2/server-info/'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'seafile-basic'
|
|
|
|
- 'seafile-pro'
|
|
|
|
condition: or
|
|
|
|
|
2023-09-05 05:17:06 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'application/json'
|
|
|
|
|
2023-09-04 15:38:51 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2023-09-05 05:17:06 +00:00
|
|
|
- '"version":\s*"([0-9.]+)"'
|