SMBClient Recursive Download

Download folder recursively from SMB share

Tool
smbclient
Category
Post-Exploitation / Data Collection
Platform
linux
Requires
password
Protocols
SMB

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

smbclient //<ip>/<share> -U "<user>%<password>" -c "cd <path>; prompt; recurse; mget *"

Examples

smbclient //192.168.1.100/C$ -U "administrator%password" -c "cd Users; prompt; recurse; mget *"

Tags

smbclient smb download files