smbmap_scan
Enumerate SMB shares on a target host to reveal read/write permissions and optionally list contents recursively.
Instructions
Enumerate SMB shares and permissions using smbmap.
smbmap lists available SMB shares on a target host with their access permissions (READ/WRITE/NO ACCESS) for the provided credentials. Optionally performs recursive listing of share contents.
Args: target: Target IP address or hostname. domain: Domain name (default "WORKGROUP" for local). username: Username for authentication (empty for null session). password: Password for authentication (redacted in logs). hashes: NTLM hash for pass-the-hash (format: LM:NT). recursive: Recursively list share contents. share: Specific share to list recursively. timeout: Override scan timeout in seconds.
Returns: SMB shares with access permissions and optional file listing.
Note: - Target must be in tengu.toml [targets].allowed_hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share | No | ||
| domain | No | WORKGROUP | |
| hashes | No | ||
| target | Yes | ||
| timeout | No | ||
| password | No | ||
| username | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||