mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
37 lines
889 B
YAML
37 lines
889 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
|
|
|
|
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: 490a0046304402205efe1708ab12376512c1909cd25ea54964782a7a2f82d7a86fb5243414cdd2360220786cc1f2ee296108941382e30336b4cc5e576ed061eb99f23e48279faa78074e:922c64590222798bb761d5b6d8e72950 |