Enum4linux is a tool for enumerating information from Windows and Samba systems. It attempts to offer similar functionality to enum.exe formerly available from www.bindview.com.

It is written in Perl and is basically a wrapper around the Samba tools smbclient, rpclient, net and nmblookup.

nmap vuln scanning

How to detect CVE's with NMAP scanning

Linux Smart Enumeration

The Linux smart enum tool is for penetration testing and CTF's, providing both internal or external enumeration making this a versatile tool.