Skip to content

Added 'rget' command to smbclient.py#2110

Open
0xpaperman wants to merge 1 commit intofortra:masterfrom
0xpaperman:master
Open

Added 'rget' command to smbclient.py#2110
0xpaperman wants to merge 1 commit intofortra:masterfrom
0xpaperman:master

Conversation

@0xpaperman
Copy link

@0xpaperman 0xpaperman commented Jan 31, 2026

This command allows for the recursive downloading of all files, similar to the currently existing 'mget' command, but it recursively searches all sub-directories as well.

I found this to be a distinctly lacking feature of the current smbclient.py, and i had to switch over to other tools to download large quantities of files at once recursively.

Usage examples:

rget * - retrieves all files in the current directory recursively
rget *.dll - retrieves all dll files in the current directory recursively

rget *sql* - retrieves all files with the word sql inside of their name

@anadrianmanrique anadrianmanrique added the in review This issue or pull request is being analyzed label Feb 5, 2026
@anadrianmanrique anadrianmanrique self-assigned this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in review This issue or pull request is being analyzed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants