2023-03-16 07:50:01 +00:00
|
|
|
id: nacos-version
|
|
|
|
|
|
|
|
info:
|
2023-03-16 12:41:34 +00:00
|
|
|
name: Nacos Version - Detect
|
2023-03-16 07:50:01 +00:00
|
|
|
author: Arm!tage
|
|
|
|
severity: info
|
2023-03-16 12:41:34 +00:00
|
|
|
description: |
|
|
|
|
Detect Nacos version
|
|
|
|
metadata:
|
|
|
|
verified: "true"
|
|
|
|
shodan-query: title:"Nacos"
|
|
|
|
tags: tech,detect,nacos
|
2023-03-16 07:50:01 +00:00
|
|
|
|
|
|
|
requests:
|
2023-03-16 12:41:34 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/v1/console/server/state?accessToken=&username="
|
|
|
|
|
2023-03-16 07:50:01 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '"version":"(\d+\.\d+\.\d+)"'
|
2023-03-16 12:41:34 +00:00
|
|
|
|
2023-03-16 07:50:01 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '"version":"(\d+\.\d+\.\d+)"'
|