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

37 lines
862 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:
- pre-condition: |
isPortOpen(Host,Port);
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: 4a0a00473045022100b964261345d31c6c217ba68f7cf576d22f686b36ad2f54b673db48c989f2a6340220513cf2fdb0d242f962891edd0babd162e9f13a4a744739c14ca0fc3536656574:922c64590222798bb761d5b6d8e72950