Samba Suite
It’s used to enumerate info. It might be used in a Null session attack.
Installation
Download it from: https://www.samba.org/
Basic commands
- Enumerate File Server services:
- Also with the smbclient we can enumerate the shares provides by a host:
smbclient -L //$ip -N
# -L Look at what services are available on a target
# $ip Prepend the two slahes
# -N Force the tool not to ask for a password
- Connect:
Be careful, sometimes the shell removes the slashes and you need to escape them.
- Once connected you can browse with the smb command line. To see allowed commands: help
- When you know the path of a file and you want to retrieve it:
- from kali:
- from smb command line: