ToolsFebruary 9, 20261 min readby 0xt0pus

SMBMap

SMB share enumeration tool for listing shares, permissions, and accessing files


Smbmap

Description

Smbmap is used for SMB enumeration. It shows share permissions, allows command execution via SMB, and helps identify writable shares on target machines.

Usage 1: List Shares and Permissions

Command:

smbmap -H 192.168.12.23

Usage 2: Authenticated SMB Enumeration

Command:

smbmap -u guest -p "" -d . -H 10.2.3.4

Usage 3: Command Execution via SMB

Command:

smbmap -u admin -p "asjhh" -d . -H 10.2.3.4 -x 'ipconfig'