Kali Samba Share

How to setup a Kali Samba Share

Install Samba

sudo apt install samba

Create a backup of the existing Samba configuration file and then create a new one:

sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.old
sudo vim /etc/samba/smb.conf

Paste:

[myhackingblog]
path = /home/kali/shared_data
browseable = yes
read only = no

Create a password for your Samba user:

sudo smbpasswd -a kali

Start the required services:

sudo systemctl start smbd
sudo systemctl start nmbd

Created the shared folder:

mkdir /home/kali/shared_data

Allow access to the directory:

chmod -R 777 /home/kali/shared_data

Enjoy your Samba Share:

Last updated

Was this helpful?