I want to gather information about SMB shares and their access permissions on a network. What tools, such as smbclient, enum4linux, or smbmap, can I use for this purpose? How can I analyze the results to identify potential vulnerabilities in the permissions?
Detailed examples of the process and best practices would be helpful.