Command-line tool used for accessing and managing shared files and resources on remote SMB/CIFS network systems
Syntax
#Listing sharessmbclient -L //IP #List shares !If using backslash use "\\\\" because single "\" is for escaping next character and we need literal "\\IP\share"
smbclient-N-L//IP# -N Supress password prompt#Connectingsmbclient//IP/share#Basic connect as current usersmbclient-Uuser//IP/share#Connect and will be asked for passwordsmbclient-Uuser%password#Connect directly with password#Useful commands once connectedhelp#List all commandsgetfile#Download fileslcd#Change directory on your local computermputfile1.txtscript.py#Download multiple filesmget*.txtdata.*#Upload multiple files