ToolsFebruary 9, 20261 min readby 0xt0pus

Enum4linux

Linux tool for enumerating Windows/Samba shares, users, and groups via SMB


Enum4linux

Description

Enum4linux is used for enumerating information from Windows and Samba systems. It can extract user lists, share information, group information, and more from SMB services.

Usage 1: Full Enumeration Without Credentials

Command:

enum4linux -a 10.10.10.10

Usage 2: Full Enumeration With Credentials

Command:

enum4linux -a -u John -p stealth1agent 10.10.10.149

Usage 3: Enumerate Specific User Across Multiple Hosts

Check if a specific user exists across multiple machines.

Command:

for ip in $(cat ips.txt); do enum4linux -k alfred $ip > $ip; done