smbmap

(★ 2,061)

SMBMap is a handy SMB enumeration tool

File Explorer

  • .gitignore
  • LICENSE
  • README.md
  • setup.py
  • smbmap.1

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

python

View Details ▼

Python language interpreter.

python

Start a REPL (interactive shell):

python {{path/to/file.py}}

Execute a specific Python file:

python -i {{path/to/file.py}}

Execute a specific Python file and start a REPL:

🔍

smbmap

View Details ▼

Enumerate samba share drives across an entire domain.

smbmap --host-file {{path/to/file}}

Enumerate hosts with NULL sessions enabled and open shares:

smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip_address}}

Display SMB shares and permissions on a [H]ost, prompting for user's password or NTLM hash:

smbmap {{[-u|--username]}} {{username}} --prompt -H {{ip_address}} -x {{command}}

Execute a shell command on a remote system:

// repository documentation