Thursday, May 14, 2020

[HTB]Listing and accessing remote shares through smbclient

Show remote shares:
# smbclient -N -L \\\\192.168.0.100

After all shares are listed, pick up one and access it:
# smbclient -N \\\\192.168.0.100\\share1

Show content in the share:
smb: \> dir

Download a file from the share:
smb: \> get aaa.txt

No comments:

Post a Comment