smbmap -H $IP -u $USER -p $PASSWORD -d $DOMAIN

Enumerate SMB shares with per share read and write permissions, then pull files down

Command: Linux

References:

https://www.kali.org/tools/smbmap/https://github.com/ShawnDEvans/smbmap