2 examples for smbclient

{{ score }}
  # List shares on a system.

smbclient -L hostname
        
{{ score }}
  # List files in share
smbclient -c ls '\\hostname\share'