smbclient
SMB client to list and access shares.
The Samba suite's SMB client. It lists shares and browses them like an FTP (ls, get, put, mget). It is the direct way to read and write shares once you have credentials, or to test anonymous/guest access.
Family SMB, NetBIOS & RPC
Flags -N -L //<ip>/
Concepts Credential reuse
Cheatsheet SMB · 139 / 445
Installation
sudo apt install -y smbclientUseful commands
Appears in
Some machines where its use is documented; not an exhaustive list.
- ActiveHackTheBox
- ApexProving Grounds Practice
- AtomHackTheBox
- CascadeHackTheBox
- CicadaHackTheBox
- ClueProving Grounds Practice
- Dance-SambaDockerLabs
- DomainDockerLabs
- ForestHackTheBox
- HeistHackTheBox
- HokkaidoProving Grounds Practice
- SaunaHackTheBox
- ShenziProving Grounds Practice
- SupportHackTheBox
- Symfonos 1 & 2VulnHub
- TimelapseHackTheBox
- VaultProving Grounds Practice