nuclei-templates/javascript/enumeration/rsync/rsync-version.yaml

35 lines
812 B
YAML

id: rsync-version
info:
name: Rsync Version - Detect
author: DhiyaneshDK
severity: info
description: |
Identify the Version of the Rsync Protocol
metadata:
verified: true
max-request: 1
shodan-query: port:"873"
tags: js,network,rsync,enum
javascript:
- code: |
let m = require('nuclei/rsync');
let response = m.IsRsync(Host,Port);
Export(response);
args:
Host: "{{Host}}"
Port: 873
matchers:
- type: dsl
dsl:
- "len(version) != 0"
extractors:
- type: json
name: version
json:
- .Banner
# digest: 4a0a00473045022100d5d88230cc84b8682db4270861d4840ebc0a546f2bba07ddba1a0460dd457bfd0220133c0b8dc6e8297dabce456c45b5fa9afa6f7f56a9561a71779ed1ac98a724e4:922c64590222798bb761d5b6d8e72950