2024-03-09 14:23:42 +00:00
|
|
|
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:
|
2024-07-10 12:08:01 +00:00
|
|
|
- pre-condition: |
|
|
|
|
isPortOpen(Host,Port);
|
|
|
|
code: |
|
2024-03-09 14:23:42 +00:00
|
|
|
let m = require('nuclei/rsync');
|
2024-04-02 07:01:34 +00:00
|
|
|
let response = m.IsRsync(Host,Port);
|
2024-03-09 18:32:19 +00:00
|
|
|
Export(response);
|
2024-03-09 14:23:42 +00:00
|
|
|
|
|
|
|
args:
|
|
|
|
Host: "{{Host}}"
|
2024-04-14 18:47:55 +00:00
|
|
|
Port: 873
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- "len(version) != 0"
|
2024-03-09 14:23:42 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: json
|
2024-04-14 18:47:55 +00:00
|
|
|
name: version
|
2024-03-09 14:23:42 +00:00
|
|
|
json:
|
|
|
|
- .Banner
|
2024-07-10 12:45:27 +00:00
|
|
|
# digest: 4a0a00473045022100b964261345d31c6c217ba68f7cf576d22f686b36ad2f54b673db48c989f2a6340220513cf2fdb0d242f962891edd0babd162e9f13a4a744739c14ca0fc3536656574:922c64590222798bb761d5b6d8e72950
|