Mount Remote SMB Windows Share on Linux
Marcos Azevedo
1 min read
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
Related Notes
0
Subscribe to my newsletter
Read articles from Marcos Azevedo directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by