Mount Remote SMB Windows Share on Linux
Table of contents
Install dependencies
- Install
smb4k
on Kali, a useful Linux GUI for browsing SMB shares
apt-get install smb4k -y
- Use
smbmount
smbmount //TARGET_IP/c$ /mnt/remote/ -o username=user,password=pass,rw
Mount Windows CIFS / SMB share on Linux at /mnt/cifs
If you remove the password
argument, it will prompt on the CLI (more secure as it won't end up in bash_history)
mount -t cifs -o username=user,password=pass,domain=blah //TARGET_IP/share-name /mnt/cifs