35 lines
680 B
YAML
35 lines
680 B
YAML
id: upnp-device-detect
|
|
|
|
info:
|
|
name: Detect Basic uPNP Device
|
|
author: geeknik
|
|
severity: info
|
|
reference:
|
|
- https://www.upnp.org/specs/basic/UPnP-basic-Basic-v1-Device.pdf
|
|
tags: upnp,iot
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- type: word
|
|
words:
|
|
- "urn:schemas-upnp-org:device-1-0"
|
|
- "<deviceType>"
|
|
- "<modelName>"
|
|
part: body
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: model
|
|
regex:
|
|
- <modelName>.*</modelName>
|
|
- <modelNumber>.*</modelNumber>
|