Smbclient is a tool used to communicate with SMB servers. The following command will connect to an SMB share C$
using valid credentials.
Command Reference:
Target IP: 10.10.10.1
SMB Share: public
Username: john
Password: password123
smbclient ////10.10.10.1//public -U john password123