“NetExec (a.k.a nxc) is a network service exploitation tool that helps automate assessing the security of large networks.” - https://www.netexec.wiki/. This command will enumerate the SMB host using anonymous access.
Command Reference:
Target IP: 10.10.10.1
nxc smb 10.10.10.1 -u 'a' -p ''