smbclient

Examples

list

smbclient -L \\\\10.10.10.10\\

download all files

smbclient \\\\10.10.10.10\\share
mask ""
recurse ON
prompt OFF
cd "path\to\remote\dir"
lcd "~/path/to/download/to/"
mget *

protocol negotiation failed: NT_STATUS_IO_TIMEOUT

Resolution: On Kali, edit /etc/samba/smb.conf

Add the following under global:
   client min protocol = CORE
   client max protocol = SMB3