Transferring files from windows to kali using Impacket smbserver.py doesn't work?
Transferring files from kali to windows is easy with something like python http.server. What about transferring files from windows to kali? I found very useful blog post here and attempted to do similar thing with Impacket smbserver.py
https://blog.ropnop.com/transferring-files-from-kali-to-windows/#smbSetup
Kali: 172.16.1.10 Windows: 172.16.1.50
Run smbserver on Kali with Impacket smbserver.py
└─$ /usr/share/doc/python3-impacket/examples/smbserver.py share /tmp Impacket v0.9.24 - Copyright 2021 SecureAuth Corporation [*] Config file parsed
However, whenever I try on Windows, I'm getting "System error 53 has occurred, The network path was not found" as follows:
C:\>net view \\172.16.1.10\ System error 53 has occurred. The network path was not found.
Here is the message on Impacket
smbserver.py[*] Incoming connection (172.16.1.50,56201) [*] Closing down connection (172.16.1.50,56201) [*] Remaining connections []
Then, I tried again with \share, but still getting the same error
C:\>net view \\172.16.1.10\share System error 53 has occurred. The network path was not found.
What's wrong and what should I do to make this right?
Discuss on Reddit:
https://ift.tt/xlSZ4m2
@redteamalerts