Rsync Pentesting
Rsync is utility for efficiently transferring and synchronizing files between a computer and a storage drive and across networked computers by comparing the modification times and sizes of files. A de
Enumeration
When we found the shared folder, check if we can connect without authentication. Assume that we found the “shares” folder.
Check Config File
Sync Data
After gathering modules (shared folders), we can sync it with our local folder.
From Remote to Local
We can sync a remote folder with a local folder.
If we want to update sync data, modify files in the shared folder then rsync back with “From Local to Remote”.
From Local to Remote
We can sync our local folder with a remote folder.
SSH Key Syncing and SSH Login
1. Generate a SSH key in local machine
Copy the content of the public key to the authorized_keys.
2. Sync the authorized_keys with the remote .ssh directory
3. SSH login with the generated private key
Last updated