Mount UNC shares
mkdir /tmp/finance
mount -t cifs -o user=almir,password=Password,rw,vers=1.0 //172.16.5.10/finance /tmp/finance
sudo smbclient //172.16.5.10/finance -u almir
smbmap -H ip -u anonymous
smbmap -H ip -u anonymous -r –depth 5
smbmap -d domain -u user -p password -H x.x.x.x
smbmap -d domain -u user -p password -H x.x.x.x -R sharename (list files in share)
smbclient -c “recurse;ls” //x.x.x.x/SYSVOL -U domain\user%password
smbclient -L //ip
smbclient \\IP\ADMIN$ -U user
Copy Folders
smbclient ‘\server\share’ mask “” recurse ON prompt OFF cd ‘path\to\remote\dir’ lcd ‘~/path/to/download/to/’ mget *
Upload files
sudo smbclient //192.168.68.112/files -U admin -W WORKGROUP –directory=test
smb: \test\> put test.exe