Ubuntu – List remote host shared folders

Usage:

smbclient -U <username> -L <hostname>
smbclient -U <username> -L <ip address>

Example:

smbclient -U test -L 192.168.10.5

Results:
Enter test’s password:
Domain=[TESTING] OS=[Windows 7] Server=[Windows 7]

Sharename Type Comment
——— —- ——-
ADMIN$ Disk Remote Admin
C$ Disk Default share
E Disk
E$ Disk Default share
F$ Disk Default share
H$ Disk Default share
IPC$ IPC Remote IPC
Users Disk

Type

man smbclient

for help and more options.

Categories: Linux, Ubuntu Tags: , , , , ,
%d bloggers like this: