enum4linux
Enumerate Windows and Samba information from remote systems. tldr-pages
On Linux
Linux
Try to enumerate using all methods
enum4linux -a remote_hostIdentifyEnumerate using given login credentials
enum4linux -u user_name -p password remote_hostIdentifyList usernames from a given host
enum4linux -U remote_hostIdentifyList shares
enum4linux -S remote_hostIdentifyGet OS information
enum4linux -o remote_hostIdentify