notes/NMAP to scan for Windows Share folders-xUuj89Wq.sh
nmap --script smb-enum-shares.nse -p445 <host>
sudo nmap -sU -sS --script smb-enum-shares.nse -p U:137,T:139 <host>

#try user name and password
sudo nmap -sU -sS --script smb-enum-shares.nse -p U:137,T:139 --script-args smbusername=<user>,smbpassword=<password> --open <host>

syntax highlighted by Code2HTML, v. 0.9.1