SMBMap
SMBMap allows users to enumerate samba share drives across an entire domain. List share drives, drive permissions, share contents, upload/download functionality, file name auto-download pattern matching, and even execute remote commands.
Installation
Installation from https://github.com/ShawnDEvans/smbmap
| sudo pip3 install smbmap
smbmap
|
Basic usage
| # Enumerate network shares and access associated permissions.
smbmap -H $ip
# # Enumerate network shares and access associated permissions with recursivity
smbmap -H $ip -r
# Check access and permissions level for a folder with recursion
smbmap -u $username -p $password -d $domain -H $ip -R $nameofFolder --dir-only
# --dir-only: provides only the output of all directories and did not list all files.
# Download a file from a specific share folder
smbmap -H $ip --download "folder\file.txt"
# Upload a file to a specific share folder
smbmap -H $ip --upload originfile.txt "targetfolder\file.txt"
|
Last update: 2025-01-06
Created: November 27, 2023 18:22:15