smbmap

#host

smbmap -H 10.0.0.1

#list shares

smbmap -H 10.0.0.1 -L

#with credentials

smbmap -H 10.0.0.1 -u 'username' -p 'mysecretpassword'

Last updated