nuclei-templates/http/technologies/cobbler-version.yaml

44 lines
817 B
YAML
Raw Normal View History

id: cobbler-version
info:
name: Cobbler Version Detection
author: c-sh0
severity: info
description: Obtain cobbler version information
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: tech,cobbler,api
http:
- method: POST
path:
- "{{BaseURL}}/cobbler_api"
body: |
2023-10-14 11:27:55 +00:00
<?xml version='1.0'?>
<methodCall>
<methodName>extended_version</methodName>
<params></params>
</methodCall>
headers:
Content-Type: text/xml
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- '<name>version</name>'
extractors:
- type: regex
part: body
group: 1
regex:
2023-10-14 11:27:55 +00:00
- "<value><string>([0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3})</string></value>"