LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

smbmap

Enumerate SMB share permissions and access

TLDR

List shares on host
$ smbmap -H [192.168.1.100]
copy
Authenticate with credentials
$ smbmap -H [192.168.1.100] -u [user] -p [password]
copy
List share contents
$ smbmap -H [192.168.1.100] -u [user] -p [password] -r [share]
copy
Download file
$ smbmap -H [192.168.1.100] -u [user] -p [password] --download '[share/file.txt]'
copy
Execute command
$ smbmap -H [192.168.1.100] -u [admin] -p [password] -x '[whoami]'
copy

SYNOPSIS

smbmap [options]

DESCRIPTION

smbmap enumerates SMB share permissions and contents. Security tool for authorized penetration testing and share auditing. Shows read/write access levels and enables file operations.

PARAMETERS

-H host

Target host.
-u user
Username.
-p pass
Password.
-d domain
Domain.
-r share
Recursively list share.
--download path
Download file.
--upload src dst
Upload file.
-x cmd
Execute command.
-L
List drives.

INSTALL

nix profile install nixpkgs#smbmap
copy

CAVEATS

For authorized security assessments only. Requires proper authorization before use.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid