30 lines
589 B
YAML
30 lines
589 B
YAML
id: casaos-detection
|
|
|
|
info:
|
|
name: CasaOS Detection
|
|
author: pdteam
|
|
severity: info
|
|
reference:
|
|
- https://github.com/IceWhaleTech/CasaOS
|
|
metadata:
|
|
max-request: 1
|
|
shodan-query: http.html:"/CasaOS-UI/public/index.html"
|
|
fofa-query: body="/CasaOS-UI/public/index.html"
|
|
tags: casaos,tech,oss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/v1/sys/debug"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(to_lower(body), 'casaos version')
|
|
|
|
extractors:
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- CasaOS Version:\s*([0-9.]+)
|