enum4linux-ng.py is a rewrite of Mark Lowe’s (former Portcullis Labs now Cisco CX Security Labs) enum4linux.pl, a tool for enumerating information from Windows and Samba systems, aimed for security professionals and CTF players. The tool is mainly a wrapper around the Samba tools nmblookup, net, rpcclient and smbclient.
Command Reference:
Target IP: 10.10.10.1
Username: test
Password: Welkom01!
enum4linux -u test -p Welkom01! -A 10.10.10.1