mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-01 00:03:39 +08:00
37 lines
903 B
YAML
37 lines
903 B
YAML
id: webswing-api-version-detect
|
|
|
|
info:
|
|
name: WebSwing REST API Version - Detection
|
|
author: aushack
|
|
severity: info
|
|
description: |
|
|
WebSwing REST API version via the /rest/version endpoint.
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: 'Server: webswing.org'
|
|
tags: webswing,rest,api,version,detect,discovery
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/rest/version"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: server
|
|
words:
|
|
- "webswing.org"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '^(\d+(?:\.\d+)*)$'
|
|
group: 1
|
|
# digest: 4b0a00483046022100cf4b70cce2582ba624ccf2ab7b5aa5d494104e692dc543c77ea441e4c3c71b8a02210099dd66db163be8f47da312a81941458041945bfc3767c132c662d25d6d699b71:922c64590222798bb761d5b6d8e72950 |