SMBCLIENT
INSTALLATION
root@oco:~$ sudo apt install smbclient
CONNECTION
#this test whether the server have password misconfiguration
root@oco:~$ smbclient -h
root@oco:~$ smbclient -L {targetIP} -U {userName}
* the -L flag is used to list available shares on the target.
* the -U flag is used to specify the Login identity to use.
- misconfigured smb servers typically have administrator as the username
with an unset password
* the -N refers to "no password"
* the -L is used to list available shares on the target
Last updated