This commit is contained in:
Mzack9999 2025-08-21 20:40:23 +02:00
parent 663a8e9d49
commit 68605c210b

28
cmd/nuclei/rsync.yaml Normal file
View File

@ -0,0 +1,28 @@
id: rsync-list-shares
info:
name: Rsync Basic Auth - Detect
author: ciccio
severity: info
javascript:
- code: |
const rsync = require('nuclei/rsync');
const client = new rsync.RsyncClient();
const moduleResponse = client.ListModules(Host, Port, Username, Password);
log(to_json(moduleResponse));
for (const module of moduleResponse.Modules) {
const fileResponse = client.ListFilesInModule(Host, Port, Username, Password, module);
log(to_json(fileResponse));
}
args:
Host: "{{Host}}"
Port: "873"
Username: "{{Username}}"
Password: "{{Password}}"
matchers:
- type: dsl
dsl:
- "success == true"